Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001876/0.001876, allocations: 214.6 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.435/1.435, allocations: 230.6 MB / 256 MB, free: 7.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8281/0.8281, allocations: 134 MB / 446.4 MB, free: 10.18 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 66.53 kB / 0.6186 GB, free: 7.164 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.1842, allocations: 85.91 MB / 0.7025 GB, free: 1.332 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5733/0.7576, allocations: 171 MB / 0.8694 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.003236/0.7608, allocations: 1.566 MB / 0.871 GB, free: 10 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005249/0.7613, allocations: 19.81 kB / 0.871 GB, free: 9.984 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.000659/0.762, allocations: 146.9 kB / 0.8711 GB, free: 9.84 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002132/0.7641, allocations: 0.7391 MB / 0.8718 GB, free: 9.098 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001874/0.766, allocations: 0.6358 MB / 0.8725 GB, free: 8.465 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001238/0.7672, allocations: 0.7207 MB / 0.8732 GB, free: 7.742 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005232/0.7677, allocations: 189.3 kB / 0.8733 GB, free: 7.559 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009188/0.7687, allocations: 346.7 kB / 0.8737 GB, free: 7.219 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005611/0.7692, allocations: 235.1 kB / 0.8739 GB, free: 6.988 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 9.333e-05/0.7693, allocations: 24 kB / 0.8739 GB, free: 6.965 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002098/0.7714, allocations: 0.939 MB / 0.8748 GB, free: 6.023 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002057/0.7716, allocations: 115.6 kB / 0.8749 GB, free: 5.91 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002656/0.7719, allocations: 171.1 kB / 0.8751 GB, free: 5.742 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001623/0.7735, allocations: 0.7263 MB / 0.8758 GB, free: 5.023 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.7735, allocations: 4 kB / 0.8758 GB, free: 5.02 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.823e-06/0.7735, allocations: 0 / 0.8758 GB, free: 5.02 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.01e-05/0.7735, allocations: 0 / 0.8758 GB, free: 5.02 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001287/0.7748, allocations: 0.59 MB / 0.8764 GB, free: 4.398 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.7749, allocations: 8.031 kB / 0.8764 GB, free: 4.391 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.525e-05/0.7749, allocations: 54.55 kB / 0.8765 GB, free: 4.328 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001256/0.7762, allocations: 163.6 kB / 0.8766 GB, free: 4.168 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000626/0.7768, allocations: 264 kB / 0.8769 GB, free: 3.883 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.752e-05/0.7769, allocations: 16.44 kB / 0.8769 GB, free: 3.867 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.149e-05/0.7769, allocations: 27.94 kB / 0.8769 GB, free: 3.84 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005486/0.7775, allocations: 275.5 kB / 0.8772 GB, free: 3.547 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.7775, allocations: 3.984 kB / 0.8772 GB, free: 3.543 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.268e-05/0.7775, allocations: 8 kB / 0.8772 GB, free: 3.535 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.487e-06/0.7775, allocations: 4 kB / 0.8772 GB, free: 3.531 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004354/0.7779, allocations: 203.8 kB / 0.8774 GB, free: 3.332 MB / 0.6387 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001655/0.7796, allocations: 1.172 MB / 0.8785 GB, free: 2.062 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002906/0.7799, allocations: 139.6 kB / 0.8787 GB, free: 1.918 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001806/0.7801, allocations: 88.73 kB / 0.8787 GB, free: 1.828 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004791/0.7805, allocations: 71.92 kB / 0.8788 GB, free: 1.758 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.7806, allocations: 34.56 kB / 0.8788 GB, free: 1.715 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/0.7806, allocations: 0 / 0.8788 GB, free: 1.715 MB / 0.6387 GB Notification: Performance of matching and sorting (n=15): time 0.0008282/0.7814, allocations: 286.2 kB / 0.8791 GB, free: 1.43 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.7815, allocations: 55.41 kB / 0.8792 GB, free: 1.363 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003549/0.7818, allocations: 308.5 kB / 0.8795 GB, free: 1.059 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.213e-05/0.7818, allocations: 33.7 kB / 0.8795 GB, free: 1.02 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/0.782, allocations: 184.2 kB / 0.8797 GB, free: 0.8359 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 5.329e-05/0.782, allocations: 59.48 kB / 0.8797 GB, free: 0.7773 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.374e-05/0.7821, allocations: 41.7 kB / 0.8798 GB, free: 0.7305 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.7823, allocations: 342.8 kB / 0.8801 GB, free: 396 kB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.7825, allocations: 63.89 kB / 0.8802 GB, free: 332 kB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002236/0.7827, allocations: 121.8 kB / 0.8803 GB, free: 192 kB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003844/0.7831, allocations: 192.6 kB / 0.8805 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.7831, allocations: 0 / 0.8805 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004937/0.7836, allocations: 243.8 kB / 0.8807 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.7836, allocations: 8 kB / 0.8807 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.7836, allocations: 0 / 0.8807 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.7836, allocations: 4 kB / 0.8807 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001969/0.7838, allocations: 43.91 kB / 0.8807 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.7838, allocations: 4 kB / 0.8807 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001953/0.784, allocations: 27.83 kB / 0.8808 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.172e-05/0.784, allocations: 11.94 kB / 0.8808 GB, free: 15.64 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (22): * Single equations (assignments): 22 * 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.0001682/0.7842, allocations: 153.8 kB / 0.8809 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.701e-05/0.7843, allocations: 35.75 kB / 0.881 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004831/0.7848, allocations: 211.2 kB / 0.8812 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.7848, allocations: 4 kB / 0.8812 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.7848, allocations: 0 / 0.8812 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.7848, allocations: 3.984 kB / 0.8812 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001129/0.7859, allocations: 0.6552 MB / 0.8818 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/0.7859, allocations: 7.938 kB / 0.8818 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000165/0.7861, allocations: 40.06 kB / 0.8819 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.7861, allocations: 8 kB / 0.8819 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/0.7861, allocations: 4 kB / 0.8819 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.7861, allocations: 0 / 0.8819 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.7861, allocations: 7.938 kB / 0.8819 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006997/0.7868, allocations: 433.6 kB / 0.8823 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.7869, allocations: 43.73 kB / 0.8823 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.659e-05/0.787, allocations: 8.141 kB / 0.8823 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.7871, allocations: 16.05 kB / 0.8824 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.767e-05/0.7872, allocations: 20.59 kB / 0.8824 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.7872, allocations: 7.984 kB / 0.8824 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002424/0.7874, allocations: 223.1 kB / 0.8826 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.7874, allocations: 0 / 0.8826 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004068/0.7879, allocations: 87.86 kB / 0.8827 GB, free: 13.58 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * 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 (15): * Single equations (assignments): 15 * 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.001199/0.789, allocations: 1.015 MB / 0.8837 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004446/0.7895, allocations: 167.7 kB / 0.8838 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.7895, allocations: 0 / 0.8838 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001877/0.7897, allocations: 84.02 kB / 0.8839 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/0.7909, allocations: 165.1 kB / 0.8841 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004149/0.795, allocations: 2.906 MB / 0.8869 GB, free: 9.066 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004518/0.7955, allocations: 0.7756 MB / 0.8877 GB, free: 8.266 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002277/0.7957, allocations: 67.16 kB / 0.8877 GB, free: 8.195 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001474/0.7959, allocations: 87.41 kB / 0.8878 GB, free: 8.109 MB / 0.6544 GB Notification: Performance of SimCode: time 4.1e-07/0.7959, allocations: 0 / 0.8878 GB, free: 8.109 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0421/0.838, allocations: 9.047 MB / 0.8966 GB, free: 15.29 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/12.06, allocations: 4.062 kB / 0.8966 GB, free: 15.29 MB / 0.67 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.606912059010938] Failed to read output from testmodel.py, exit status != 0: 12.170937943970785 12.198561445 11.420426542 Calling exit ...