Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.001383/0.001383, 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.001435/0.001435, 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.297/1.297, allocations: 225.6 MB / 249.3 MB, free: 3.324 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.9828/0.9828, allocations: 175.7 MB / 480.1 MB, free: 2.82 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.EN12975SolarGain,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001795/0.001795, allocations: 72.52 kB / 0.6678 GB, free: 10.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.149, allocations: 94.54 MB / 0.7601 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002972/0.1519, allocations: 2.065 MB / 0.7621 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004725/0.1567, allocations: 4.12 MB / 0.7661 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.876e-05/0.1567, allocations: 0 / 0.7661 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007076/0.1574, allocations: 195.2 kB / 0.7663 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001182/0.1576, allocations: 67.41 kB / 0.7664 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006083/0.1582, allocations: 274.7 kB / 0.7666 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005533/0.1587, allocations: 370.8 kB / 0.767 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.1588, allocations: 40.38 kB / 0.767 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001574/0.159, allocations: 115.6 kB / 0.7671 GB, free: 9.574 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001811/0.1592, allocations: 131.4 kB / 0.7673 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.587e-05/0.1592, allocations: 16 kB / 0.7673 GB, free: 9.43 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004938/0.1597, allocations: 311.5 kB / 0.7676 GB, free: 9.125 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.1598, allocations: 99.7 kB / 0.7677 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001426/0.1599, allocations: 151.1 kB / 0.7678 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005763/0.1605, allocations: 0.5136 MB / 0.7683 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1605, allocations: 0 / 0.7683 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1605, allocations: 4 kB / 0.7683 GB, free: 8.359 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.1605, allocations: 0 / 0.7683 GB, free: 8.359 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001288/0.1618, allocations: 0.7561 MB / 0.769 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.1619, allocations: 11.97 kB / 0.7691 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.225e-05/0.1619, allocations: 38.75 kB / 0.7691 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.333e-05/0.162, allocations: 40.7 kB / 0.7691 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000475/0.1624, allocations: 342.5 kB / 0.7695 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.1625, allocations: 11.94 kB / 0.7695 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.1625, allocations: 4 kB / 0.7695 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004924/0.163, allocations: 203 kB / 0.7697 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.163, allocations: 0 / 0.7697 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.237e-05/0.163, allocations: 7.984 kB / 0.7697 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.163, allocations: 0 / 0.7697 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007043/0.1637, allocations: 251.7 kB / 0.7699 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009189/0.1646, allocations: 0.5784 MB / 0.7705 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004352/0.1651, allocations: 170.4 kB / 0.7706 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003673/0.1654, allocations: 132.8 kB / 0.7708 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.325e-05/0.1655, allocations: 27.97 kB / 0.7708 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.1655, allocations: 34.56 kB / 0.7708 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.1655, allocations: 0 / 0.7708 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.001242/0.1668, allocations: 445.4 kB / 0.7713 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.1668, allocations: 59.41 kB / 0.7713 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004063/0.1672, allocations: 405.6 kB / 0.7717 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.1672, allocations: 33.69 kB / 0.7717 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.1674, allocations: 176 kB / 0.7719 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.087e-05/0.1674, allocations: 43.56 kB / 0.7719 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.574e-05/0.1675, allocations: 41.69 kB / 0.772 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.1676, allocations: 346.8 kB / 0.7723 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000405/0.168, allocations: 171.9 kB / 0.7725 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003945/0.1684, allocations: 164.3 kB / 0.7726 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008018/0.1692, allocations: 352.2 kB / 0.773 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.1692, allocations: 3.938 kB / 0.773 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009404/0.1702, allocations: 468.5 kB / 0.7734 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.356e-05/0.1702, allocations: 45.69 kB / 0.7735 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.1702, allocations: 0 / 0.7735 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.1702, allocations: 7.938 kB / 0.7735 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003011/0.1705, allocations: 51.88 kB / 0.7735 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.1705, allocations: 0 / 0.7735 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002392/0.1708, allocations: 35.86 kB / 0.7736 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.405e-05/0.1708, allocations: 11.98 kB / 0.7736 GB, free: 2.711 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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.0001443/0.1709, allocations: 149.8 kB / 0.7737 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.172e-05/0.171, allocations: 35.77 kB / 0.7737 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009006/0.1719, allocations: 356.6 kB / 0.7741 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.1719, allocations: 7.984 kB / 0.7741 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.1719, allocations: 4 kB / 0.7741 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1719, allocations: 7.875 kB / 0.7741 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003661/0.1723, allocations: 333.5 kB / 0.7744 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1723, allocations: 0 / 0.7744 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000297/0.1726, allocations: 43.94 kB / 0.7745 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.1726, allocations: 4 kB / 0.7745 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.1726, allocations: 7.938 kB / 0.7745 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1726, allocations: 0 / 0.7745 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1726, allocations: 3.984 kB / 0.7745 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008572/0.1735, allocations: 419 kB / 0.7749 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.1736, allocations: 132.8 kB / 0.775 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.946e-05/0.1736, allocations: 3.938 kB / 0.775 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002604/0.1739, allocations: 35.89 kB / 0.775 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.584e-05/0.174, allocations: 11.98 kB / 0.7751 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.174, allocations: 7.984 kB / 0.7751 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002755/0.1742, allocations: 287.1 kB / 0.7753 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1742, allocations: 0 / 0.7753 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004094/0.1747, allocations: 123.8 kB / 0.7755 GB, free: 0.6875 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 (11): * Single equations (assignments): 11 * 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.001348/0.176, allocations: 1.016 MB / 0.7764 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009673/0.177, allocations: 463 kB / 0.7769 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.177, allocations: 0 / 0.7769 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003783/0.1774, allocations: 135.8 kB / 0.777 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004558/0.1778, allocations: 68.75 kB / 0.7771 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005604/0.1834, allocations: 4.198 MB / 0.7812 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003769/0.1838, allocations: 0.7827 MB / 0.7819 GB, free: 9.883 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001623/0.184, allocations: 49.52 kB / 0.782 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001545/0.1841, allocations: 103.4 kB / 0.7821 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of SimCode: time 5.11e-07/0.1841, allocations: 0 / 0.7821 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03233/0.2164, allocations: 8.335 MB / 0.7902 GB, free: 1.543 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.546/7.763, allocations: 4.75 kB / 0.7902 GB, free: 1.539 MB / 0.5919 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.158946800002013]