Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001907/0.001907, allocations: 101.1 kB / 16.4 MB, free: 6.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002061/0.002061, allocations: 196 kB / 17.34 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8044/0.8044, allocations: 126.7 MB / 417.9 MB, free: 12.33 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 63.14 kB / 0.5735 GB, free: 27.15 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1271, allocations: 78.87 MB / 0.6506 GB, free: 3.617 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003467/0.1306, allocations: 2.164 MB / 0.6527 GB, free: 1.441 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005406/0.136, allocations: 4.078 MB / 0.6566 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.1361, allocations: 0 / 0.6566 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007582/0.1369, allocations: 179.4 kB / 0.6568 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001859/0.1371, allocations: 79.34 kB / 0.6569 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007521/0.1379, allocations: 290 kB / 0.6572 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006562/0.1385, allocations: 442.4 kB / 0.6576 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.1387, allocations: 52.72 kB / 0.6576 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002051/0.1389, allocations: 139.5 kB / 0.6578 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002366/0.1392, allocations: 159.3 kB / 0.6579 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.062e-05/0.1392, allocations: 20 kB / 0.6579 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005647/0.1398, allocations: 323.5 kB / 0.6583 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001345/0.1399, allocations: 111.6 kB / 0.6584 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001872/0.1401, allocations: 171 kB / 0.6585 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007453/0.1409, allocations: 0.5681 MB / 0.6591 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.1409, allocations: 7.938 kB / 0.6591 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1409, allocations: 0 / 0.6591 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.308e-06/0.1409, allocations: 0 / 0.6591 GB, free: 10.84 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001539/0.1425, allocations: 0.8029 MB / 0.6599 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.1425, allocations: 8.031 kB / 0.6599 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.189e-05/0.1426, allocations: 42.75 kB / 0.6599 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00105/0.1436, allocations: 192.5 kB / 0.6601 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008504/0.1445, allocations: 390.1 kB / 0.6605 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.1445, allocations: 8 kB / 0.6605 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.217e-05/0.1445, allocations: 12 kB / 0.6605 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007478/0.1453, allocations: 246.4 kB / 0.6607 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.1453, allocations: 7.938 kB / 0.6607 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.32e-05/0.1453, allocations: 4 kB / 0.6607 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.1454, allocations: 3.938 kB / 0.6607 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001152/0.1465, allocations: 331.7 kB / 0.6611 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001488/0.148, allocations: 0.6876 MB / 0.6617 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006569/0.1487, allocations: 218.4 kB / 0.6619 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005953/0.1493, allocations: 184.7 kB / 0.6621 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.137e-05/0.1493, allocations: 19.98 kB / 0.6621 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.1494, allocations: 34.56 kB / 0.6622 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=13): time 1.333e-06/0.1494, allocations: 0 / 0.6622 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13): time 0.001927/0.1513, allocations: 0.5638 MB / 0.6627 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.1514, allocations: 55.39 kB / 0.6628 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004829/0.1519, allocations: 429.9 kB / 0.6632 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/0.1519, allocations: 33.7 kB / 0.6632 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001595/0.1521, allocations: 196.5 kB / 0.6634 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.703e-05/0.1521, allocations: 43.59 kB / 0.6634 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.1523, allocations: 57.67 kB / 0.6635 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.1524, allocations: 346.8 kB / 0.6638 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007205/0.1531, allocations: 296 kB / 0.6641 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007089/0.1539, allocations: 292.3 kB / 0.6644 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001346/0.1552, allocations: 0.5202 MB / 0.6649 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1552, allocations: 0 / 0.6649 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001631/0.1569, allocations: 0.7226 MB / 0.6656 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.61e-05/0.1569, allocations: 45.69 kB / 0.6657 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.157, allocations: 0 / 0.6657 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.157, allocations: 7.875 kB / 0.6657 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004751/0.1575, allocations: 71.91 kB / 0.6657 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.1575, allocations: 0 / 0.6657 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003673/0.1578, allocations: 47.84 kB / 0.6658 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.145e-05/0.1579, allocations: 7.984 kB / 0.6658 GB, free: 3.727 MB / 0.4981 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 (18): * Single equations (assignments): 17 * 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.0001788/0.1581, allocations: 157.8 kB / 0.6659 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.461e-05/0.1582, allocations: 47.7 kB / 0.666 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001395/0.1596, allocations: 432.8 kB / 0.6664 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.1596, allocations: 3.938 kB / 0.6664 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1596, allocations: 0 / 0.6664 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.1596, allocations: 3.984 kB / 0.6664 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004496/0.16, allocations: 377.3 kB / 0.6668 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1601, allocations: 0 / 0.6668 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004224/0.1605, allocations: 63.86 kB / 0.6668 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1605, allocations: 0 / 0.6668 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.784e-05/0.1605, allocations: 7.984 kB / 0.6668 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.1605, allocations: 7.938 kB / 0.6668 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.1605, allocations: 4 kB / 0.6668 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001384/0.1619, allocations: 0.5025 MB / 0.6673 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001648/0.1621, allocations: 132.8 kB / 0.6675 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.397e-05/0.1622, allocations: 4 kB / 0.6675 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003859/0.1626, allocations: 39.88 kB / 0.6675 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.726e-05/0.1626, allocations: 27.92 kB / 0.6675 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-05/0.1627, allocations: 7.984 kB / 0.6675 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003463/0.163, allocations: 299.1 kB / 0.6678 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.163, allocations: 0 / 0.6678 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004599/0.1635, allocations: 131.8 kB / 0.6679 GB, free: 1.418 MB / 0.4981 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.001936/0.1654, allocations: 1.118 MB / 0.669 GB, free: 276 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001609/0.1671, allocations: 0.6708 MB / 0.6697 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1671, allocations: 0 / 0.6697 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006453/0.1677, allocations: 195.8 kB / 0.6699 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000494/0.1682, allocations: 59.84 kB / 0.6699 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008327/0.1766, allocations: 5.21 MB / 0.675 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004626/0.1771, allocations: 0.7944 MB / 0.6758 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002514/0.1773, allocations: 61.91 kB / 0.6759 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002136/0.1775, allocations: 111.4 kB / 0.676 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of SimCode: time 3.91e-07/0.1775, allocations: 0 / 0.676 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03267/0.2102, allocations: 9.105 MB / 0.6849 GB, free: 112 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.257/8.468, allocations: 10.98 kB / 0.6849 GB, free: 104 kB / 0.5137 GB (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)