Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.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.001156/0.001156, allocations: 109.7 kB / 17.54 MB, free: 4.641 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.001124/0.001124, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.288/1.288, allocations: 225.6 MB / 249.3 MB, free: 3.18 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.9664/0.9664, allocations: 175.7 MB / 480.1 MB, free: 2.836 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.WaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001754/0.001754, allocations: 71.28 kB / 0.6677 GB, free: 11.07 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1519, allocations: 94.52 MB / 0.76 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005152/0.157, allocations: 4.054 MB / 0.764 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0001877/0.1572, allocations: 163.4 kB / 0.7642 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.993e-05/0.1572, allocations: 4 kB / 0.7642 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 8.06e-05/0.1573, allocations: 3.984 kB / 0.7642 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.43e-05/0.1574, allocations: 19.92 kB / 0.7642 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003064/0.1577, allocations: 83.62 kB / 0.7643 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.893e-05/0.1577, allocations: 35.91 kB / 0.7643 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.882e-05/0.1578, allocations: 7.984 kB / 0.7643 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.282e-05/0.1578, allocations: 11.94 kB / 0.7643 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.73e-05/0.1579, allocations: 23.91 kB / 0.7643 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.035e-05/0.1579, allocations: 0 / 0.7643 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000177/0.1581, allocations: 55.81 kB / 0.7644 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.92e-05/0.1581, allocations: 7.984 kB / 0.7644 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.733e-05/0.1581, allocations: 11.92 kB / 0.7644 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001251/0.1583, allocations: 44.19 kB / 0.7645 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1583, allocations: 0 / 0.7645 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.273e-06/0.1583, allocations: 0 / 0.7645 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.1583, allocations: 0 / 0.7645 GB, free: 12.32 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003755/0.1586, allocations: 339.4 kB / 0.7648 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.1587, allocations: 8.031 kB / 0.7648 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.321e-05/0.1587, allocations: 30.75 kB / 0.7648 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.804e-05/0.1587, allocations: 0.9375 kB / 0.7648 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.1589, allocations: 172.3 kB / 0.765 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.18e-05/0.1589, allocations: 34.25 kB / 0.765 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.1589, allocations: 8.062 kB / 0.765 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.1591, allocations: 45.69 kB / 0.7651 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.1591, allocations: 0 / 0.7651 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.1591, allocations: 3.938 kB / 0.7651 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.1591, allocations: 3.938 kB / 0.7651 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.127e-05/0.1591, allocations: 15.98 kB / 0.7651 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004254/0.1596, allocations: 334 kB / 0.7654 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.527e-05/0.1596, allocations: 30.52 kB / 0.7654 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.648e-05/0.1596, allocations: 4.859 kB / 0.7654 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.187e-05/0.1597, allocations: 81.17 kB / 0.7655 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.1597, allocations: 38.55 kB / 0.7656 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.1597, allocations: 0 / 0.7656 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001205/0.1599, allocations: 29.7 kB / 0.7656 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/0.1599, allocations: 55.53 kB / 0.7656 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.454e-05/0.16, allocations: 113.8 kB / 0.7657 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.16, allocations: 25.7 kB / 0.7658 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.315e-05/0.1601, allocations: 88.09 kB / 0.7659 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.821e-06/0.1601, allocations: 4 kB / 0.7659 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.773e-05/0.1601, allocations: 9.719 kB / 0.7659 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.1602, allocations: 326.8 kB / 0.7662 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.292e-05/0.1602, allocations: 0 / 0.7662 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.13e-05/0.1603, allocations: 17.72 kB / 0.7662 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.529e-05/0.1603, allocations: 25.7 kB / 0.7662 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1603, allocations: 0 / 0.7662 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.933e-05/0.1604, allocations: 49.59 kB / 0.7663 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.1604, allocations: 9.719 kB / 0.7663 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.1604, allocations: 0 / 0.7663 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.1604, allocations: 4.062 kB / 0.7663 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.987e-05/0.1604, allocations: 7.984 kB / 0.7663 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.1604, allocations: 0 / 0.7663 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.799e-05/0.1605, allocations: 4 kB / 0.7663 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.1605, allocations: 0 / 0.7663 GB, free: 10.15 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 7.292e-05/0.1605, allocations: 113.8 kB / 0.7664 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.409e-05/0.1606, allocations: 3.938 kB / 0.7664 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001098/0.1607, allocations: 125 kB / 0.7665 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.826e-05/0.1607, allocations: 176.3 kB / 0.7667 GB, free: 9.719 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.029e-05/0.1608, allocations: 180.2 kB / 0.7669 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.963e-05/0.1609, allocations: 180.3 kB / 0.767 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002537/0.1612, allocations: 409.1 kB / 0.7674 GB, free: 8.895 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.382e-05/0.1612, allocations: 105 kB / 0.7675 GB, free: 8.785 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.105e-05/0.1612, allocations: 116.8 kB / 0.7676 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.78e-05/0.1613, allocations: 180.2 kB / 0.7678 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.176e-05/0.1614, allocations: 180.3 kB / 0.768 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.504e-05/0.1615, allocations: 188.2 kB / 0.7682 GB, free: 8.105 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.463e-05/0.1616, allocations: 180.3 kB / 0.7683 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001586/0.1617, allocations: 311.7 kB / 0.7686 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.408e-05/0.1618, allocations: 186 kB / 0.7688 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.421e-05/0.1619, allocations: 184.2 kB / 0.769 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.1621, allocations: 105 kB / 0.7691 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.566e-05/0.1622, allocations: 180.2 kB / 0.7693 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.269e-05/0.1622, allocations: 109 kB / 0.7694 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.112e-05/0.1623, allocations: 87.27 kB / 0.7694 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1623, allocations: 0 / 0.7694 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002252/0.1625, allocations: 19.88 kB / 0.7695 GB, free: 6.688 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 (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.0005283/0.163, allocations: 0.8282 MB / 0.7703 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.57e-05/0.1631, allocations: 11.98 kB / 0.7703 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1631, allocations: 0 / 0.7703 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.1631, allocations: 0 / 0.7703 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000399/0.1635, allocations: 465 kB / 0.7707 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.1646, allocations: 1.324 MB / 0.772 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/0.1649, allocations: 0.6729 MB / 0.7727 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.507e-05/0.1649, allocations: 8 kB / 0.7727 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.224e-05/0.1649, allocations: 15.44 kB / 0.7727 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.1649, allocations: 0 / 0.7727 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02204/0.187, allocations: 1.483 MB / 0.7741 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.018/7.205, allocations: 5.438 kB / 0.7742 GB, free: 1.824 MB / 0.5762 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.581390988998464]