Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.001393/0.001393, allocations: 107.2 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.001383/0.001383, 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.285/1.285, allocations: 225.6 MB / 249.3 MB, free: 3.184 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.9763/0.9763, allocations: 175.7 MB / 480.1 MB, free: 3.172 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.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00177/0.00177, allocations: 67.67 kB / 0.6678 GB, free: 10.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1547, allocations: 94.53 MB / 0.7601 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002983/0.1577, allocations: 1.903 MB / 0.7619 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004255/0.1619, allocations: 3.645 MB / 0.7655 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.524e-05/0.162, allocations: 0 / 0.7655 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000759/0.1628, allocations: 183.2 kB / 0.7657 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001899/0.163, allocations: 79.45 kB / 0.7657 GB, free: 11 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 6.793e-05/0.163, allocations: 27.97 kB / 0.7658 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004848/0.1635, allocations: 263.1 kB / 0.766 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.692e-05/0.1636, allocations: 21.55 kB / 0.766 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.1637, allocations: 75.7 kB / 0.7661 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.1639, allocations: 75.67 kB / 0.7662 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.1639, allocations: 8 kB / 0.7662 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.164, allocations: 35.91 kB / 0.7662 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.043e-05/0.1641, allocations: 59.75 kB / 0.7663 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.498e-05/0.1642, allocations: 83.48 kB / 0.7664 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002528/0.1644, allocations: 195 kB / 0.7665 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1644, allocations: 4 kB / 0.7665 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1644, allocations: 0 / 0.7665 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.1644, allocations: 0 / 0.7665 GB, free: 10.16 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008541/0.1653, allocations: 0.5331 MB / 0.7671 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.1653, allocations: 8.031 kB / 0.7671 GB, free: 9.574 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.199e-05/0.1654, allocations: 38.75 kB / 0.7671 GB, free: 9.527 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.849e-05/0.1654, allocations: 32.73 kB / 0.7671 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003279/0.1658, allocations: 247.8 kB / 0.7674 GB, free: 9.215 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.1658, allocations: 11.88 kB / 0.7674 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.1658, allocations: 4 kB / 0.7674 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003512/0.1661, allocations: 146.8 kB / 0.7675 GB, free: 9.051 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.1661, allocations: 0 / 0.7675 GB, free: 9.051 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.1662, allocations: 7.984 kB / 0.7675 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.303e-05/0.1662, allocations: 8 kB / 0.7675 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004292/0.1666, allocations: 143.9 kB / 0.7677 GB, free: 8.895 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006911/0.1673, allocations: 460.4 kB / 0.7681 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004044/0.1677, allocations: 162.5 kB / 0.7683 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002693/0.168, allocations: 101 kB / 0.7684 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.168, allocations: 3.984 kB / 0.7684 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.168, allocations: 46.56 kB / 0.7684 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.122e-06/0.168, allocations: 0 / 0.7684 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0008418/0.1689, allocations: 297 kB / 0.7687 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.1689, allocations: 55.34 kB / 0.7688 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002356/0.1692, allocations: 246.7 kB / 0.769 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.1692, allocations: 25.7 kB / 0.769 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.528e-05/0.1693, allocations: 140.1 kB / 0.7692 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.464e-05/0.1693, allocations: 47.58 kB / 0.7692 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.038e-05/0.1694, allocations: 25.7 kB / 0.7692 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.1695, allocations: 334.8 kB / 0.7695 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002283/0.1698, allocations: 79.92 kB / 0.7696 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002209/0.17, allocations: 71.94 kB / 0.7697 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004433/0.1704, allocations: 168.7 kB / 0.7698 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1704, allocations: 0 / 0.7698 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005168/0.171, allocations: 221.4 kB / 0.7701 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.171, allocations: 4 kB / 0.7701 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.171, allocations: 7.984 kB / 0.7701 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.171, allocations: 4 kB / 0.7701 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002404/0.1712, allocations: 31.97 kB / 0.7701 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.1712, allocations: 3.938 kB / 0.7701 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001578/0.1714, allocations: 23.88 kB / 0.7701 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.1714, allocations: 7.984 kB / 0.7701 GB, free: 6.25 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (13): * Single equations (assignments): 13 * 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.000127/0.1715, allocations: 137.8 kB / 0.7703 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.103e-05/0.1716, allocations: 27.86 kB / 0.7703 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.586e-05/0.1717, allocations: 33.83 kB / 0.7703 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1717, allocations: 0 / 0.7703 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.862e-06/0.1717, allocations: 3.938 kB / 0.7703 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.1717, allocations: 0 / 0.7703 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003024/0.172, allocations: 269.5 kB / 0.7706 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.172, allocations: 0 / 0.7706 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002099/0.1722, allocations: 35.95 kB / 0.7706 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1722, allocations: 4 kB / 0.7706 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.1722, allocations: 0 / 0.7706 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1722, allocations: 4 kB / 0.7706 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.1722, allocations: 3.938 kB / 0.7706 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005871/0.1728, allocations: 330.6 kB / 0.771 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.359e-05/0.1729, allocations: 109 kB / 0.7711 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.901e-05/0.1729, allocations: 4 kB / 0.7711 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001859/0.1731, allocations: 23.91 kB / 0.7711 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.828e-05/0.1732, allocations: 11.92 kB / 0.7711 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.1732, allocations: 4 kB / 0.7711 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001561/0.1733, allocations: 178 kB / 0.7713 GB, free: 5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1733, allocations: 4 kB / 0.7713 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002622/0.1736, allocations: 43.89 kB / 0.7713 GB, free: 4.953 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 (13): * Single equations (assignments): 13 * 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.0009645/0.1745, allocations: 0.8606 MB / 0.7722 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005199/0.1751, allocations: 167.9 kB / 0.7723 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1751, allocations: 0 / 0.7723 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002425/0.1753, allocations: 95.86 kB / 0.7724 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004259/0.1757, allocations: 53.66 kB / 0.7725 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003289/0.179, allocations: 2.419 MB / 0.7748 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/0.1794, allocations: 0.7435 MB / 0.7755 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001695/0.1796, allocations: 53.38 kB / 0.7756 GB, free: 452 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.1797, allocations: 63.41 kB / 0.7757 GB, free: 388 kB / 0.5762 GB Notification: Performance of SimCode: time 4.61e-07/0.1797, allocations: 3.938 kB / 0.7757 GB, free: 384 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02888/0.2086, allocations: 4.829 MB / 0.7804 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.34/7.548, allocations: 5.656 kB / 0.7804 GB, free: 11.68 MB / 0.5919 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.907217996005784]