Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.ASHRAEHeatLoss,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",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.001732/0.001732, allocations: 103.7 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.001846/0.001847, allocations: 197.8 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.362/1.362, 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.7986/0.7986, allocations: 126.7 MB / 417.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 72.52 kB / 0.5735 GB, free: 27.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1282, allocations: 78.86 MB / 0.6506 GB, free: 3.613 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.00296/0.1312, allocations: 1.846 MB / 0.6524 GB, free: 1.754 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004252/0.1355, allocations: 3.541 MB / 0.6558 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.18e-05/0.1356, allocations: 0 / 0.6558 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006963/0.1363, allocations: 179.6 kB / 0.656 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001684/0.1365, allocations: 63.55 kB / 0.656 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 6.979e-05/0.1365, allocations: 31.95 kB / 0.6561 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004302/0.137, allocations: 255.2 kB / 0.6563 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.057e-05/0.1371, allocations: 37.41 kB / 0.6564 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.1372, allocations: 67.77 kB / 0.6564 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.1374, allocations: 71.69 kB / 0.6565 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.865e-05/0.1374, allocations: 8 kB / 0.6565 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.562e-05/0.1375, allocations: 31.91 kB / 0.6565 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.926e-05/0.1376, allocations: 55.81 kB / 0.6566 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.19e-05/0.1377, allocations: 83.42 kB / 0.6567 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002428/0.1379, allocations: 191.1 kB / 0.6568 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.305e-06/0.1379, allocations: 0 / 0.6568 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1379, allocations: 0 / 0.6568 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.1379, allocations: 0 / 0.6568 GB, free: 13.14 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008472/0.1388, allocations: 0.5254 MB / 0.6574 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.445e-05/0.1388, allocations: 8.031 kB / 0.6574 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.768e-05/0.1389, allocations: 42.75 kB / 0.6574 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.578e-05/0.1389, allocations: 24.78 kB / 0.6574 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003285/0.1393, allocations: 239.8 kB / 0.6577 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.1393, allocations: 19.86 kB / 0.6577 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.1393, allocations: 7.938 kB / 0.6577 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003553/0.1397, allocations: 135.2 kB / 0.6578 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.1397, allocations: 0 / 0.6578 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.1397, allocations: 8 kB / 0.6578 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.781e-05/0.1398, allocations: 11.98 kB / 0.6578 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004627/0.1402, allocations: 131.9 kB / 0.658 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006812/0.1409, allocations: 452.5 kB / 0.6584 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004262/0.1414, allocations: 158.5 kB / 0.6585 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002792/0.1416, allocations: 104.8 kB / 0.6586 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.1417, allocations: 0 / 0.6586 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.1417, allocations: 34.56 kB / 0.6587 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=13): time 1.032e-06/0.1417, allocations: 0 / 0.6587 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13): time 0.0008977/0.1426, allocations: 288.8 kB / 0.6589 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.1427, allocations: 63.33 kB / 0.659 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000237/0.1429, allocations: 234.6 kB / 0.6592 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.981e-05/0.1429, allocations: 25.7 kB / 0.6593 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.288e-05/0.143, allocations: 132.1 kB / 0.6594 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.018e-05/0.1431, allocations: 51.58 kB / 0.6594 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.744e-05/0.1432, allocations: 29.7 kB / 0.6595 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.1433, allocations: 338.8 kB / 0.6598 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002362/0.1436, allocations: 71.94 kB / 0.6598 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002308/0.1438, allocations: 71.94 kB / 0.6599 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004822/0.1443, allocations: 156.8 kB / 0.6601 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.1443, allocations: 4 kB / 0.6601 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005523/0.1449, allocations: 209.4 kB / 0.6603 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.1449, allocations: 8 kB / 0.6603 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.1449, allocations: 0 / 0.6603 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.1449, allocations: 0 / 0.6603 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002413/0.1452, allocations: 35.97 kB / 0.6603 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.1452, allocations: 11.88 kB / 0.6603 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001576/0.1453, allocations: 19.91 kB / 0.6603 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.1454, allocations: 0 / 0.6603 GB, free: 9.316 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 (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.0001263/0.1455, allocations: 145.8 kB / 0.6605 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.864e-05/0.1455, allocations: 19.86 kB / 0.6605 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.581e-05/0.1456, allocations: 29.83 kB / 0.6605 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.1456, allocations: 3.984 kB / 0.6605 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.1456, allocations: 3.938 kB / 0.6605 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.319e-06/0.1456, allocations: 7.984 kB / 0.6605 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003068/0.1459, allocations: 257.5 kB / 0.6608 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.146, allocations: 0 / 0.6608 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002169/0.1462, allocations: 35.95 kB / 0.6608 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1462, allocations: 4 kB / 0.6608 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.1462, allocations: 7.938 kB / 0.6608 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1462, allocations: 0 / 0.6608 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1462, allocations: 3.938 kB / 0.6608 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006118/0.1468, allocations: 318.3 kB / 0.6611 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.147, allocations: 116.9 kB / 0.6613 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.205e-05/0.147, allocations: 4 kB / 0.6613 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.1472, allocations: 11.98 kB / 0.6613 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.191e-05/0.1472, allocations: 15.92 kB / 0.6613 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.1473, allocations: 4 kB / 0.6613 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001593/0.1474, allocations: 174 kB / 0.6615 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1474, allocations: 0 / 0.6615 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002705/0.1477, allocations: 44 kB / 0.6615 GB, free: 8.047 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.0009828/0.1487, allocations: 0.8566 MB / 0.6623 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005298/0.1492, allocations: 159.9 kB / 0.6625 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1493, allocations: 0 / 0.6625 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002697/0.1495, allocations: 95.88 kB / 0.6626 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004399/0.15, allocations: 51.58 kB / 0.6626 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003365/0.1534, allocations: 2.327 MB / 0.6649 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/0.1537, allocations: 0.7357 MB / 0.6656 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001636/0.1539, allocations: 60.95 kB / 0.6657 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.154, allocations: 63.34 kB / 0.6657 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of SimCode: time 2.9e-07/0.154, allocations: 0 / 0.6657 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02517/0.1792, allocations: 4.542 MB / 0.6702 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.882/8.061, allocations: 3.938 kB / 0.6702 GB, free: 15.18 MB / 0.5137 GB (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1)