Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.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.001835/0.001835, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002351/0.002351, allocations: 212.6 kB / 22.24 MB, free: 5.242 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.469/1.469, allocations: 230.6 MB / 256 MB, free: 7.785 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.8419/0.8419, allocations: 134 MB / 446.4 MB, free: 9.906 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.Sources.Examples.PropertySource_h,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_PropertySource_h",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.001984/0.001984, allocations: 66 kB / 0.6185 GB, free: 6.859 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1792, allocations: 85.9 MB / 0.7024 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.5545/0.7337, allocations: 155.3 MB / 0.8541 GB, free: 7.828 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01112/0.7448, allocations: 8.013 MB / 0.8619 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008037/0.7456, allocations: 31.75 kB / 0.8619 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001046/0.7467, allocations: 313.7 kB / 0.8622 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001175/0.7478, allocations: 326.4 kB / 0.8625 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001418/0.7493, allocations: 379.6 kB / 0.8629 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001954/0.7512, allocations: 1.164 MB / 0.864 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009824/0.7522, allocations: 447.1 kB / 0.8645 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005574/0.7578, allocations: 2.082 MB / 0.8665 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007153/0.7585, allocations: 370.3 kB / 0.8668 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001241/0.7586, allocations: 40 kB / 0.8669 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000311/0.7589, allocations: 79.95 kB / 0.867 GB, free: 10.6 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003484/0.7593, allocations: 267.2 kB / 0.8672 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004086/0.7597, allocations: 234.8 kB / 0.8674 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0009318/0.7606, allocations: 0.6518 MB / 0.8681 GB, free: 9.457 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.7606, allocations: 0 / 0.8681 GB, free: 9.457 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.814e-06/0.7606, allocations: 4 kB / 0.8681 GB, free: 9.453 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.666e-05/0.7606, allocations: 0 / 0.8681 GB, free: 9.453 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.00129/0.7619, allocations: 0.7737 MB / 0.8688 GB, free: 8.645 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.762, allocations: 12.03 kB / 0.8688 GB, free: 8.633 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001382/0.7621, allocations: 98.5 kB / 0.8689 GB, free: 8.527 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001412/0.7623, allocations: 67.58 kB / 0.869 GB, free: 8.461 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008595/0.7631, allocations: 387.2 kB / 0.8694 GB, free: 8.059 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.614e-05/0.7632, allocations: 41.3 kB / 0.8694 GB, free: 8.02 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.391e-05/0.7632, allocations: 55.98 kB / 0.8695 GB, free: 7.965 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.7644, allocations: 0.7066 MB / 0.8702 GB, free: 7.176 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.462e-05/0.7644, allocations: 7.875 kB / 0.8702 GB, free: 7.168 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.828e-05/0.7644, allocations: 24 kB / 0.8702 GB, free: 7.145 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.493e-05/0.7645, allocations: 27.98 kB / 0.8702 GB, free: 7.117 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007126/0.7652, allocations: 379.5 kB / 0.8706 GB, free: 6.75 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003065/0.7683, allocations: 3.079 MB / 0.8736 GB, free: 3.531 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002995/0.7686, allocations: 214.2 kB / 0.8738 GB, free: 3.23 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002055/0.7688, allocations: 128.5 kB / 0.8739 GB, free: 3.074 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.7688, allocations: 4 kB / 0.8739 GB, free: 3.07 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.959e-05/0.7688, allocations: 50.42 kB / 0.874 GB, free: 3.012 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=10): time 1.593e-06/0.7688, allocations: 0 / 0.874 GB, free: 3.012 MB / 0.6387 GB Notification: Performance of matching and sorting (n=10): time 0.0007297/0.7696, allocations: 253.9 kB / 0.8742 GB, free: 2.758 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001699/0.7697, allocations: 290.7 kB / 0.8745 GB, free: 2.406 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008441/0.7706, allocations: 0.6838 MB / 0.8752 GB, free: 1.715 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.829e-05/0.7706, allocations: 29.7 kB / 0.8752 GB, free: 1.68 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002378/0.7709, allocations: 268.2 kB / 0.8754 GB, free: 1.414 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.131e-05/0.7709, allocations: 31.75 kB / 0.8755 GB, free: 1.383 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.797e-05/0.771, allocations: 29.7 kB / 0.8755 GB, free: 1.348 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001994/0.7712, allocations: 370.8 kB / 0.8758 GB, free: 0.9766 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.7713, allocations: 44.12 kB / 0.8759 GB, free: 0.9336 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002578/0.7715, allocations: 225.6 kB / 0.8761 GB, free: 0.6641 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002477/0.7718, allocations: 117 kB / 0.8762 GB, free: 0.5312 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.7718, allocations: 4 kB / 0.8762 GB, free: 0.5273 MB / 0.6387 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003919/0.7722, allocations: 205 kB / 0.8764 GB, free: 328 kB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.7722, allocations: 4 kB / 0.8764 GB, free: 324 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.7722, allocations: 0 / 0.8764 GB, free: 324 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.7722, allocations: 4 kB / 0.8764 GB, free: 320 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002242/0.7724, allocations: 48.08 kB / 0.8765 GB, free: 272 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.7724, allocations: 0 / 0.8765 GB, free: 272 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002263/0.7727, allocations: 55.5 kB / 0.8765 GB, free: 216 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.846e-05/0.7727, allocations: 12 kB / 0.8765 GB, free: 204 kB / 0.6387 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 (10): * Single equations (assignments): 10 * 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.000242/0.7729, allocations: 198.1 kB / 0.8767 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00022/0.7732, allocations: 67.55 kB / 0.8768 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.605e-05/0.7733, allocations: 68.2 kB / 0.8769 GB, free: 15.85 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.7733, allocations: 0 / 0.8769 GB, free: 15.85 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.7733, allocations: 7.938 kB / 0.8769 GB, free: 15.85 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.493e-06/0.7733, allocations: 8 kB / 0.8769 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001528/0.7748, allocations: 1.241 MB / 0.8781 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.7748, allocations: 4 kB / 0.8781 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001977/0.775, allocations: 39.91 kB / 0.8781 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.775, allocations: 288 / 0.8781 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.775, allocations: 12.17 kB / 0.8781 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-06/0.775, allocations: 4 kB / 0.8781 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.775, allocations: 11.88 kB / 0.8781 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004536/0.7755, allocations: 330.8 kB / 0.8785 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001742/0.7757, allocations: 75.53 kB / 0.8785 GB, free: 14 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.106e-05/0.7757, allocations: 8 kB / 0.8785 GB, free: 14 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001717/0.7759, allocations: 11.92 kB / 0.8786 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.772e-05/0.7759, allocations: 19.92 kB / 0.8786 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.776, allocations: 8 kB / 0.8786 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006289/0.7766, allocations: 0.4912 MB / 0.8791 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.7766, allocations: 4 kB / 0.8791 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003952/0.777, allocations: 79.89 kB / 0.8791 GB, free: 13.39 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (10): * Single equations (assignments): 10 * 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.0008759/0.7779, allocations: 0.899 MB / 0.88 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000318/0.7782, allocations: 103.8 kB / 0.8801 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.7782, allocations: 0 / 0.8801 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001474/0.7783, allocations: 64.77 kB / 0.8802 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.001301/0.7796, allocations: 281.1 kB / 0.8804 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006133/0.7858, allocations: 4.461 MB / 0.8848 GB, free: 7.395 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.7861, allocations: 309.7 kB / 0.8851 GB, free: 7.066 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003072/0.7864, allocations: 108.6 kB / 0.8852 GB, free: 6.961 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002322/0.7866, allocations: 171.4 kB / 0.8854 GB, free: 6.797 MB / 0.6544 GB Notification: Performance of SimCode: time 4.71e-07/0.7866, allocations: 0 / 0.8854 GB, free: 6.797 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04895/0.8356, allocations: 15.19 MB / 0.9002 GB, free: 7.965 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.96, allocations: 4.047 kB / 0.9002 GB, free: 7.961 MB / 0.67 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Examples_PropertySource_h.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.55675245076418] Failed to read output from testmodel.py, exit status != 0: 12.077496682293713 12.095086249 11.330966061 Calling exit ...