Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 108.2 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 186.7 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 225.6 MB / 249.3 MB, free: 3.316 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9827/0.9827, allocations: 175.7 MB / 480.1 MB, free: 2.816 MB / 366.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-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(IDEAS.Media.Examples.WaterProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00174/0.00174, allocations: 62.83 kB / 0.6678 GB, free: 10.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1547, allocations: 94.53 MB / 0.7601 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.005819/0.1605, allocations: 4.772 MB / 0.7648 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002864/0.1633, allocations: 2.702 MB / 0.7674 GB, free: 9.281 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.336e-05/0.1634, allocations: 11.94 kB / 0.7674 GB, free: 9.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002422/0.1636, allocations: 51.67 kB / 0.7675 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002387/0.1639, allocations: 95.36 kB / 0.7676 GB, free: 9.125 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.165, allocations: 0.5155 MB / 0.7681 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000259/0.1653, allocations: 235.9 kB / 0.7683 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.978e-05/0.1653, allocations: 9.828 kB / 0.7683 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001861/0.1655, allocations: 115.6 kB / 0.7684 GB, free: 8.254 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001512/0.1657, allocations: 95.58 kB / 0.7685 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.1657, allocations: 8 kB / 0.7685 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007081/0.1664, allocations: 383.3 kB / 0.7689 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.932e-05/0.1665, allocations: 35.89 kB / 0.7689 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.706e-05/0.1666, allocations: 79.61 kB / 0.769 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005526/0.1671, allocations: 362.8 kB / 0.7693 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.1671, allocations: 4 kB / 0.7693 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of FrontEnd: time 8.82e-07/0.1671, allocations: 0 / 0.7693 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.1671, allocations: 0 / 0.7693 GB, free: 7.305 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007078/0.1678, allocations: 0.5103 MB / 0.7698 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.1679, allocations: 8.031 kB / 0.7698 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.361e-05/0.1679, allocations: 50.73 kB / 0.7699 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001403/0.168, allocations: 24.8 kB / 0.7699 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002618/0.1683, allocations: 216.1 kB / 0.7701 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.1683, allocations: 8.703 kB / 0.7701 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.351e-05/0.1683, allocations: 20.38 kB / 0.7701 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003657/0.1687, allocations: 248 kB / 0.7704 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.1687, allocations: 0 / 0.7704 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.2e-05/0.1687, allocations: 8 kB / 0.7704 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.227e-05/0.1688, allocations: 7.984 kB / 0.7704 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004767/0.1692, allocations: 431.5 kB / 0.7708 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/0.1703, allocations: 0.9488 MB / 0.7717 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002677/0.1706, allocations: 154.5 kB / 0.7719 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.235e-05/0.1707, allocations: 52.89 kB / 0.7719 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001438/0.1721, allocations: 1.829 MB / 0.7737 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.1722, allocations: 38.56 kB / 0.7737 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.1722, allocations: 4 kB / 0.7738 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0003135/0.1725, allocations: 147.5 kB / 0.7739 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.1725, allocations: 59.34 kB / 0.7739 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.1727, allocations: 165 kB / 0.7741 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.1727, allocations: 33.7 kB / 0.7741 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.274e-05/0.1728, allocations: 144.1 kB / 0.7743 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.275e-05/0.1728, allocations: 59.48 kB / 0.7743 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.501e-05/0.1729, allocations: 57.58 kB / 0.7744 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.173, allocations: 330.8 kB / 0.7747 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.526e-05/0.1731, allocations: 39.97 kB / 0.7747 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.1732, allocations: 133.7 kB / 0.7749 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002418/0.1735, allocations: 201.5 kB / 0.7751 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1735, allocations: 0 / 0.7751 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003108/0.1738, allocations: 214.8 kB / 0.7753 GB, free: 488 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.1738, allocations: 8.469 kB / 0.7753 GB, free: 480 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.1738, allocations: 8 kB / 0.7753 GB, free: 472 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.1738, allocations: 7.938 kB / 0.7753 GB, free: 464 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.174, allocations: 51.92 kB / 0.7753 GB, free: 412 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.174, allocations: 11.92 kB / 0.7754 GB, free: 400 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.1741, allocations: 31.78 kB / 0.7754 GB, free: 368 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/0.1741, allocations: 12 kB / 0.7754 GB, free: 356 kB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001081/0.1743, allocations: 125.8 kB / 0.7755 GB, free: 220 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.001e-05/0.1743, allocations: 19.91 kB / 0.7755 GB, free: 200 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002775/0.1746, allocations: 151.3 kB / 0.7757 GB, free: 44 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/0.1746, allocations: 11.92 kB / 0.7757 GB, free: 32 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1746, allocations: 0 / 0.7757 GB, free: 32 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1746, allocations: 3.938 kB / 0.7757 GB, free: 28 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002654/0.1749, allocations: 217.5 kB / 0.7759 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.1749, allocations: 3.984 kB / 0.7759 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.648e-05/0.175, allocations: 24 kB / 0.7759 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.175, allocations: 0 / 0.7759 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.175, allocations: 3.984 kB / 0.7759 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/0.175, allocations: 7.938 kB / 0.7759 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.175, allocations: 0 / 0.7759 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002467/0.1752, allocations: 229.3 kB / 0.7762 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.741e-05/0.1753, allocations: 108.9 kB / 0.7763 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.1753, allocations: 7.984 kB / 0.7763 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001876/0.1755, allocations: 15.94 kB / 0.7763 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.021e-05/0.1755, allocations: 7.984 kB / 0.7763 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-05/0.1756, allocations: 23.92 kB / 0.7763 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 8.919e-05/0.1757, allocations: 124.9 kB / 0.7764 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.1757, allocations: 0 / 0.7764 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003527/0.176, allocations: 75.88 kB / 0.7765 GB, free: 15.11 MB / 0.5919 GB 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0007213/0.1767, allocations: 0.8331 MB / 0.7773 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002261/0.177, allocations: 117.5 kB / 0.7774 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.177, allocations: 0 / 0.7774 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 6.874e-05/0.177, allocations: 36.92 kB / 0.7775 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003995/0.1774, allocations: 51.89 kB / 0.7775 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002218/0.1796, allocations: 2.044 MB / 0.7795 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/0.18, allocations: 0.709 MB / 0.7802 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001507/0.1801, allocations: 57.83 kB / 0.7803 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.089e-05/0.1802, allocations: 47.36 kB / 0.7803 GB, free: 11 MB / 0.5919 GB Notification: Performance of SimCode: time 4.41e-07/0.1802, allocations: 0 / 0.7803 GB, free: 11 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02722/0.2074, allocations: 5.26 MB / 0.7854 GB, free: 5.852 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.206/7.414, allocations: 14.12 kB / 0.7855 GB, free: 5.84 MB / 0.5919 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_WaterProperties.fmu > IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.813829342994723]