Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.001387/0.001387, allocations: 106.8 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.001352/0.001352, allocations: 185.9 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.272/1.272, allocations: 225.6 MB / 249.3 MB, free: 3.195 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.828 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.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001717/0.001717, allocations: 64.42 kB / 0.6678 GB, free: 11.15 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1546, allocations: 94.53 MB / 0.7601 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005683/0.1603, allocations: 4.611 MB / 0.7646 GB, free: 12.31 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.0009957/0.1613, allocations: 0.8217 MB / 0.7654 GB, free: 11.49 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.751e-05/0.1614, allocations: 4 kB / 0.7654 GB, free: 11.48 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.0001592/0.1615, allocations: 39.75 kB / 0.7654 GB, free: 11.45 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 5.035e-05/0.1616, allocations: 27.72 kB / 0.7655 GB, free: 11.42 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004407/0.162, allocations: 175.4 kB / 0.7656 GB, free: 11.25 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0001933/0.1622, allocations: 183.4 kB / 0.7658 GB, free: 11.07 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 7.17e-05/0.1623, allocations: 9.109 kB / 0.7658 GB, free: 11.06 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001663/0.1625, allocations: 83.64 kB / 0.7659 GB, free: 10.98 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.1626, allocations: 83.72 kB / 0.766 GB, free: 10.89 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 2.553e-05/0.1626, allocations: 12 kB / 0.766 GB, free: 10.88 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003306/0.1629, allocations: 151.8 kB / 0.7661 GB, free: 10.73 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 3.806e-05/0.163, allocations: 35.91 kB / 0.7662 GB, free: 10.7 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 7.006e-05/0.163, allocations: 67.66 kB / 0.7662 GB, free: 10.63 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0003538/0.1634, allocations: 239.2 kB / 0.7664 GB, free: 10.4 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1634, allocations: 4 kB / 0.7664 GB, free: 10.39 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1634, allocations: 0 / 0.7664 GB, free: 10.39 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.1634, allocations: 0 / 0.7664 GB, free: 10.39 MB / 0.5763 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008103/0.1642, allocations: 478.6 kB / 0.7669 GB, free: 9.879 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.1642, allocations: 12.03 kB / 0.7669 GB, free: 9.867 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.684e-05/0.1643, allocations: 38.75 kB / 0.767 GB, free: 9.82 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.181e-05/0.1643, allocations: 16.84 kB / 0.767 GB, free: 9.805 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.1645, allocations: 184.2 kB / 0.7671 GB, free: 9.586 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.1645, allocations: 11.94 kB / 0.7672 GB, free: 9.574 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.423e-05/0.1645, allocations: 15.94 kB / 0.7672 GB, free: 9.559 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003038/0.1648, allocations: 117.5 kB / 0.7673 GB, free: 9.438 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.1648, allocations: 0 / 0.7673 GB, free: 9.438 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.823e-05/0.1648, allocations: 11.98 kB / 0.7673 GB, free: 9.426 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.1648, allocations: 4 kB / 0.7673 GB, free: 9.422 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003934/0.1652, allocations: 139.9 kB / 0.7674 GB, free: 9.285 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009102/0.1661, allocations: 468.5 kB / 0.7679 GB, free: 8.777 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002829/0.1664, allocations: 114.5 kB / 0.768 GB, free: 8.656 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001891/0.1666, allocations: 72.73 kB / 0.7681 GB, free: 8.582 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001347/0.168, allocations: 0.9682 MB / 0.769 GB, free: 7.477 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.168, allocations: 34.56 kB / 0.769 GB, free: 7.434 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=12): time 1.012e-06/0.168, allocations: 0 / 0.769 GB, free: 7.434 MB / 0.5763 GB Notification: Performance of matching and sorting (n=12): time 0.0006416/0.1686, allocations: 209.4 kB / 0.7692 GB, free: 7.223 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.1687, allocations: 63.33 kB / 0.7693 GB, free: 7.148 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.1688, allocations: 156 kB / 0.7694 GB, free: 6.984 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.1688, allocations: 33.64 kB / 0.7695 GB, free: 6.945 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 8.361e-05/0.1689, allocations: 116.4 kB / 0.7696 GB, free: 6.828 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 3.495e-05/0.169, allocations: 43.67 kB / 0.7696 GB, free: 6.785 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.62e-05/0.169, allocations: 49.66 kB / 0.7697 GB, free: 6.73 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.1692, allocations: 326.8 kB / 0.77 GB, free: 6.402 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002226/0.1694, allocations: 75.88 kB / 0.7701 GB, free: 6.328 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002387/0.1696, allocations: 110.7 kB / 0.7702 GB, free: 6.211 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004213/0.1701, allocations: 182.4 kB / 0.7703 GB, free: 6.023 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1701, allocations: 0 / 0.7703 GB, free: 6.023 MB / 0.5763 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005473/0.1706, allocations: 245.3 kB / 0.7706 GB, free: 5.777 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.1706, allocations: 4 kB / 0.7706 GB, free: 5.773 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.1706, allocations: 0 / 0.7706 GB, free: 5.773 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.1706, allocations: 4 kB / 0.7706 GB, free: 5.77 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000249/0.1709, allocations: 55.89 kB / 0.7706 GB, free: 5.715 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1709, allocations: 0 / 0.7706 GB, free: 5.715 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001563/0.1711, allocations: 39.86 kB / 0.7707 GB, free: 5.676 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.952e-05/0.1711, allocations: 8 kB / 0.7707 GB, free: 5.668 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 26 * 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 9.625e-05/0.1712, allocations: 125.8 kB / 0.7708 GB, free: 5.535 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.549e-05/0.1712, allocations: 15.84 kB / 0.7708 GB, free: 5.52 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004581/0.1717, allocations: 174.9 kB / 0.771 GB, free: 5.344 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1717, allocations: 4 kB / 0.771 GB, free: 5.34 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.1717, allocations: 0 / 0.771 GB, free: 5.34 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1717, allocations: 3.938 kB / 0.771 GB, free: 5.336 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002261/0.1719, allocations: 213.6 kB / 0.7712 GB, free: 5.078 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1719, allocations: 3.938 kB / 0.7712 GB, free: 5.074 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/0.1721, allocations: 31.91 kB / 0.7712 GB, free: 5.043 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1721, allocations: 0 / 0.7712 GB, free: 5.043 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.1721, allocations: 8 kB / 0.7712 GB, free: 5.035 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.1721, allocations: 0 / 0.7712 GB, free: 5.035 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1721, allocations: 0 / 0.7712 GB, free: 5.035 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004404/0.1725, allocations: 255.3 kB / 0.7715 GB, free: 4.77 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 8.317e-05/0.1726, allocations: 104.9 kB / 0.7716 GB, free: 4.648 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.247e-05/0.1726, allocations: 7.984 kB / 0.7716 GB, free: 4.641 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.1728, allocations: 15.98 kB / 0.7716 GB, free: 4.625 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.346e-05/0.1728, allocations: 15.92 kB / 0.7716 GB, free: 4.609 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.1728, allocations: 0 / 0.7716 GB, free: 4.609 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 8.681e-05/0.1729, allocations: 116 kB / 0.7717 GB, free: 4.496 MB / 0.5763 GB Notification: Performance of sort global known variables: time 6e-08/0.1729, allocations: 0 / 0.7717 GB, free: 4.496 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.000298/0.1732, allocations: 63.88 kB / 0.7718 GB, free: 4.434 MB / 0.5763 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 (12): * Single equations (assignments): 12 * 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.0008973/0.1741, allocations: 0.8479 MB / 0.7726 GB, free: 3.559 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0004712/0.1746, allocations: 164.5 kB / 0.7728 GB, free: 3.398 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1746, allocations: 0 / 0.7728 GB, free: 3.398 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0001791/0.1747, allocations: 55.95 kB / 0.7728 GB, free: 3.344 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003218/0.1751, allocations: 30.11 kB / 0.7729 GB, free: 3.316 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002469/0.1775, allocations: 1.956 MB / 0.7748 GB, free: 1.266 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.1779, allocations: 0.7086 MB / 0.7755 GB, free: 0.5312 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 8.13e-05/0.1779, allocations: 28.98 kB / 0.7755 GB, free: 0.5039 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.16e-05/0.178, allocations: 35.42 kB / 0.7755 GB, free: 480 kB / 0.5763 GB Notification: Performance of SimCode: time 3.01e-07/0.178, allocations: 0 / 0.7755 GB, free: 480 kB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02682/0.2048, allocations: 4.253 MB / 0.7797 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.102/7.307, allocations: 5.875 kB / 0.7797 GB, free: 12.32 MB / 0.5919 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.635536967994994]