Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.001162/0.001162, allocations: 109 kB / 17.54 MB, free: 4.766 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.00117/0.00117, allocations: 181.9 kB / 20.71 MB, free: 1.609 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.281/1.281, allocations: 225.6 MB / 249.3 MB, free: 3.332 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.9615/0.9615, allocations: 175.7 MB / 480.1 MB, free: 2.863 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.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001734/0.001734, allocations: 63.06 kB / 0.6678 GB, free: 10.97 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1545, allocations: 94.53 MB / 0.7601 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005205/0.1597, allocations: 4.108 MB / 0.7641 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002636/0.1623, allocations: 2.453 MB / 0.7665 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.229e-05/0.1624, allocations: 0 / 0.7665 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002258/0.1626, allocations: 47.67 kB / 0.7666 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002337/0.1628, allocations: 103.3 kB / 0.7667 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001068/0.1639, allocations: 0.5284 MB / 0.7672 GB, free: 9.559 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000306/0.1642, allocations: 263.8 kB / 0.7674 GB, free: 9.297 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.098e-05/0.1643, allocations: 9.844 kB / 0.7674 GB, free: 9.285 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001889/0.1644, allocations: 119.6 kB / 0.7676 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000147/0.1646, allocations: 99.58 kB / 0.7677 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.408e-05/0.1646, allocations: 11.94 kB / 0.7677 GB, free: 9.059 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008024/0.1654, allocations: 459.2 kB / 0.7681 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.714e-05/0.1655, allocations: 35.89 kB / 0.7681 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.1656, allocations: 91.58 kB / 0.7682 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006075/0.1662, allocations: 410.8 kB / 0.7686 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1662, allocations: 0 / 0.7686 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1662, allocations: 0 / 0.7686 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.1662, allocations: 0 / 0.7686 GB, free: 8.082 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.0007191/0.1669, allocations: 0.5141 MB / 0.7691 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.167, allocations: 8.031 kB / 0.7691 GB, free: 7.508 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.661e-05/0.167, allocations: 54.67 kB / 0.7692 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001839/0.1689, allocations: 180.6 kB / 0.7694 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002636/0.1691, allocations: 212.1 kB / 0.7696 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.1691, allocations: 8.703 kB / 0.7696 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.642e-05/0.1692, allocations: 16.38 kB / 0.7696 GB, free: 7 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006199/0.1698, allocations: 308.2 kB / 0.7699 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.1698, allocations: 4 kB / 0.7699 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.482e-05/0.1698, allocations: 12 kB / 0.7699 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.799e-05/0.1699, allocations: 7.938 kB / 0.7699 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006864/0.1705, allocations: 259.6 kB / 0.7701 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001603/0.1721, allocations: 1.389 MB / 0.7715 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006488/0.1728, allocations: 189.4 kB / 0.7717 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002193/0.173, allocations: 68.81 kB / 0.7717 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.173, allocations: 7.984 kB / 0.7718 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.1731, allocations: 38.56 kB / 0.7718 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=18): time 1.212e-06/0.1731, allocations: 4 kB / 0.7718 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18): time 0.0007744/0.1738, allocations: 243.2 kB / 0.772 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.1739, allocations: 55.41 kB / 0.7721 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.174, allocations: 154.2 kB / 0.7722 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.548e-05/0.1741, allocations: 33.7 kB / 0.7723 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.929e-05/0.1742, allocations: 132.2 kB / 0.7724 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.181e-05/0.1742, allocations: 67.38 kB / 0.7724 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.998e-05/0.1743, allocations: 49.92 kB / 0.7725 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.1744, allocations: 326.8 kB / 0.7728 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002146/0.1747, allocations: 64.42 kB / 0.7729 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002793/0.1749, allocations: 143.2 kB / 0.773 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004835/0.1754, allocations: 217.3 kB / 0.7732 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1754, allocations: 0 / 0.7732 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005758/0.176, allocations: 259 kB / 0.7735 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.176, allocations: 12 kB / 0.7735 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.176, allocations: 7.938 kB / 0.7735 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.176, allocations: 0 / 0.7735 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003345/0.1764, allocations: 63.89 kB / 0.7735 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.1764, allocations: 4 kB / 0.7735 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002198/0.1766, allocations: 35.77 kB / 0.7736 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.394e-05/0.1766, allocations: 15.98 kB / 0.7736 GB, free: 2.594 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * 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.0001246/0.1767, allocations: 133.7 kB / 0.7737 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.25e-05/0.1768, allocations: 15.91 kB / 0.7737 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000614/0.1774, allocations: 230.6 kB / 0.774 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.1774, allocations: 4 kB / 0.774 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.1774, allocations: 4 kB / 0.774 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1774, allocations: 0 / 0.774 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002853/0.1777, allocations: 249.3 kB / 0.7742 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1777, allocations: 0 / 0.7742 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002909/0.178, allocations: 47.91 kB / 0.7742 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.178, allocations: 4 kB / 0.7742 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.178, allocations: 7.984 kB / 0.7743 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.178, allocations: 0 / 0.7743 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.178, allocations: 0 / 0.7743 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000552/0.1786, allocations: 301 kB / 0.7745 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.369e-05/0.1787, allocations: 104.9 kB / 0.7746 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.518e-05/0.1787, allocations: 4 kB / 0.7746 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002581/0.179, allocations: 15.98 kB / 0.7747 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.633e-05/0.179, allocations: 11.98 kB / 0.7747 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.358e-05/0.179, allocations: 11.98 kB / 0.7747 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.619e-05/0.1791, allocations: 118.7 kB / 0.7748 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1791, allocations: 0 / 0.7748 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003376/0.1794, allocations: 67.94 kB / 0.7749 GB, free: 1.195 MB / 0.5762 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 (20): * Single equations (assignments): 20 * 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.0009148/0.1804, allocations: 0.8666 MB / 0.7757 GB, free: 312 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005077/0.1809, allocations: 174.1 kB / 0.7759 GB, free: 140 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1809, allocations: 0 / 0.7759 GB, free: 140 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002183/0.1811, allocations: 79.83 kB / 0.776 GB, free: 60 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004598/0.1816, allocations: 68.17 kB / 0.776 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003094/0.1846, allocations: 2.171 MB / 0.7781 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.185, allocations: 0.7134 MB / 0.7788 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002232/0.1852, allocations: 53.92 kB / 0.7789 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/0.1853, allocations: 47.41 kB / 0.7789 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of SimCode: time 3.1e-07/0.1853, allocations: 4 kB / 0.7789 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02748/0.2128, allocations: 5.214 MB / 0.784 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.41/7.623, allocations: 13.83 kB / 0.784 GB, free: 7.73 MB / 0.5919 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.94733264100796]