Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(HanserModelica.VariablesTypes.VectorsMatrices2,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.VariablesTypes.VectorsMatrices2,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 222.9 MB / 239 MB, free: 4.715 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 188.5 kB / 289.3 MB, free: 2.453 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03359/0.03359, allocations: 8.79 MB / 348.2 MB, free: 4.801 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002136/0.002136, allocations: 76.53 kB / 410.7 MB, free: 42.29 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09382/0.09598, allocations: 51.58 MB / 462.3 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices2): time 0.001786/0.09782, allocations: 0.5558 MB / 462.8 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001347/0.09918, allocations: 1.089 MB / 463.9 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.509e-05/0.09921, allocations: 0 / 463.9 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002417/0.09946, allocations: 19.91 kB / 463.9 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.716e-05/0.09954, allocations: 15.98 kB / 463.9 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.557e-06/0.09956, allocations: 4 kB / 463.9 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.672e-05/0.09962, allocations: 27.91 kB / 464 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.771e-05/0.09967, allocations: 0 / 464 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.525e-05/0.09977, allocations: 15.92 kB / 464 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001/0.09988, allocations: 43.83 kB / 464 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.0999, allocations: 0 / 464 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.778e-06/0.09992, allocations: 0 / 464 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.1, allocations: 67.86 kB / 464.1 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.94e-05/0.1001, allocations: 27.69 kB / 464.1 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 5.956e-05/0.1001, allocations: 47.78 kB / 464.2 MB, free: 12.64 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.1002, allocations: 3.984 kB / 464.2 MB, free: 12.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1002, allocations: 0 / 464.2 MB, free: 12.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.1002, allocations: 4 kB / 464.2 MB, free: 12.63 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003958/0.1006, allocations: 408.7 kB / 464.6 MB, free: 12.19 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.1006, allocations: 8.031 kB / 464.6 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.424e-05/0.1007, allocations: 106 kB / 464.7 MB, free: 12.07 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.702e-05/0.1007, allocations: 88.12 kB / 464.8 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001837/0.1009, allocations: 292.1 kB / 465.1 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.461e-05/0.101, allocations: 150.9 kB / 465.2 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.651e-05/0.101, allocations: 154.9 kB / 465.4 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.255e-05/0.1011, allocations: 109.1 kB / 465.5 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.804e-05/0.1011, allocations: 75.28 kB / 465.5 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.404e-05/0.1012, allocations: 154.6 kB / 465.7 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-05/0.1012, allocations: 154.6 kB / 465.8 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.652e-05/0.1013, allocations: 158.6 kB / 466 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002832/0.1016, allocations: 481.9 kB / 466.5 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.062e-05/0.1017, allocations: 173.1 kB / 466.6 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.373e-05/0.1017, allocations: 84.08 kB / 466.7 MB, free: 9.922 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.1017, allocations: 75.28 kB / 466.8 MB, free: 9.848 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.946e-05/0.1018, allocations: 109.8 kB / 466.9 MB, free: 9.73 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.1018, allocations: 0 / 466.9 MB, free: 9.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 7.415e-05/0.1019, allocations: 37.61 kB / 466.9 MB, free: 9.688 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.808e-05/0.1019, allocations: 134.6 kB / 467.1 MB, free: 9.543 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002366/0.1022, allocations: 239.8 kB / 467.3 MB, free: 9.297 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.1022, allocations: 29.64 kB / 467.3 MB, free: 9.262 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.501e-05/0.1023, allocations: 116.1 kB / 467.4 MB, free: 9.145 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.244e-06/0.1023, allocations: 0 / 467.4 MB, free: 9.145 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.129e-05/0.1023, allocations: 9.719 kB / 467.5 MB, free: 9.129 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.1024, allocations: 326.8 kB / 467.8 MB, free: 8.801 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.009e-06/0.1024, allocations: 0 / 467.8 MB, free: 8.801 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.088e-06/0.1025, allocations: 8.047 kB / 467.8 MB, free: 8.793 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.824e-05/0.1025, allocations: 79.28 kB / 467.9 MB, free: 8.715 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.894e-05/0.1025, allocations: 75.28 kB / 467.9 MB, free: 8.641 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.15e-05/0.1026, allocations: 45.45 kB / 468 MB, free: 8.59 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.185e-05/0.1026, allocations: 79.28 kB / 468.1 MB, free: 8.512 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.455e-05/0.1026, allocations: 79.22 kB / 468.1 MB, free: 8.434 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.558e-05/0.1027, allocations: 158.5 kB / 468.3 MB, free: 8.277 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.544e-05/0.1027, allocations: 87.2 kB / 468.4 MB, free: 8.191 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.271e-05/0.1028, allocations: 150.6 kB / 468.5 MB, free: 8.043 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.684e-05/0.1029, allocations: 75.28 kB / 468.6 MB, free: 7.969 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.395e-05/0.1029, allocations: 87.22 kB / 468.7 MB, free: 7.883 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001335/0.103, allocations: 284.4 kB / 469 MB, free: 7.594 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.57e-05/0.1031, allocations: 112.8 kB / 469.1 MB, free: 7.477 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.841e-05/0.1032, allocations: 129.5 kB / 469.2 MB, free: 7.348 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-05/0.1032, allocations: 180.2 kB / 469.4 MB, free: 7.164 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.223e-05/0.1033, allocations: 176.3 kB / 469.5 MB, free: 6.984 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.958e-05/0.1033, allocations: 180.2 kB / 469.7 MB, free: 6.801 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002167/0.1036, allocations: 441.2 kB / 470.1 MB, free: 6.312 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.81e-05/0.1036, allocations: 108.9 kB / 470.3 MB, free: 6.199 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.144e-05/0.1036, allocations: 104.9 kB / 470.4 MB, free: 6.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.152e-05/0.1037, allocations: 180.2 kB / 470.5 MB, free: 5.906 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.086e-05/0.1037, allocations: 188.3 kB / 470.7 MB, free: 5.715 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.218e-05/0.1038, allocations: 176.3 kB / 470.9 MB, free: 5.535 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.742e-05/0.1039, allocations: 188.1 kB / 471.1 MB, free: 5.344 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001217/0.104, allocations: 319.6 kB / 471.4 MB, free: 5.008 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.228e-05/0.1041, allocations: 193.8 kB / 471.6 MB, free: 4.793 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.127e-05/0.1042, allocations: 184.2 kB / 471.8 MB, free: 4.605 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.693e-05/0.1042, allocations: 104.9 kB / 471.9 MB, free: 4.496 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.491e-05/0.1043, allocations: 180.3 kB / 472 MB, free: 4.312 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.269e-05/0.1043, allocations: 112.9 kB / 472.1 MB, free: 4.195 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001282/0.1045, allocations: 172.2 kB / 472.3 MB, free: 4.027 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1045, allocations: 4 kB / 472.3 MB, free: 4.023 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002408/0.1047, allocations: 0 / 472.3 MB, free: 4.023 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003209/0.105, allocations: 0.8192 MB / 473.1 MB, free: 3.176 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 3.064e-05/0.1051, allocations: 3.938 kB / 473.1 MB, free: 3.172 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.1051, allocations: 0 / 473.1 MB, free: 3.172 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.675e-06/0.1051, allocations: 7.938 kB / 473.1 MB, free: 3.164 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.1055, allocations: 455.7 kB / 473.6 MB, free: 2.715 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/0.1069, allocations: 2.057 MB / 475.6 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.1071, allocations: 0.708 MB / 476.4 MB, free: 15.84 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.129e-05/0.1072, allocations: 4.031 kB / 476.4 MB, free: 15.83 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.108e-05/0.1072, allocations: 31.42 kB / 476.4 MB, free: 15.8 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1072, allocations: 0 / 476.4 MB, free: 15.8 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03462/0.1418, allocations: 1.753 MB / 478.1 MB, free: 14.16 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001765/0.142, allocations: 203.7 kB / 478.3 MB, free: 13.9 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.636/1.778, allocations: 7.625 kB / 478.3 MB, free: 13.89 MB / 318.1 MB (rm -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices2.fmu > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe 2>&1)