Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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) 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.EN12975HeatLoss,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",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.001295/0.001295, allocations: 107.9 kB / 16.41 MB, free: 6.508 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.001262/0.001263, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.401/1.401, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8323/0.8323, allocations: 126.7 MB / 417.9 MB, free: 12.26 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 72.06 kB / 0.5735 GB, free: 26.98 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1265, allocations: 78.87 MB / 0.6506 GB, free: 3.582 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002975/0.1295, allocations: 1.854 MB / 0.6524 GB, free: 1.715 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004347/0.1339, allocations: 3.615 MB / 0.6559 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.015e-05/0.134, allocations: 0 / 0.6559 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007232/0.1347, allocations: 187.4 kB / 0.6561 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001794/0.1349, allocations: 79.53 kB / 0.6561 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 6.023e-05/0.135, allocations: 19.97 kB / 0.6562 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004471/0.1354, allocations: 267.1 kB / 0.6564 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.749e-05/0.1355, allocations: 21.56 kB / 0.6564 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.1357, allocations: 83.69 kB / 0.6565 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001485/0.1358, allocations: 79.61 kB / 0.6566 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.495e-05/0.1358, allocations: 12 kB / 0.6566 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.893e-05/0.1359, allocations: 27.92 kB / 0.6566 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.692e-05/0.136, allocations: 55.81 kB / 0.6567 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.631e-05/0.1361, allocations: 87.47 kB / 0.6568 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002731/0.1364, allocations: 195 kB / 0.657 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1364, allocations: 0 / 0.657 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1364, allocations: 0 / 0.657 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.1364, allocations: 0 / 0.657 GB, free: 12.99 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.0008982/0.1373, allocations: 0.537 MB / 0.6575 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.1374, allocations: 8.031 kB / 0.6575 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.868e-05/0.1374, allocations: 42.73 kB / 0.6575 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.1375, allocations: 28.73 kB / 0.6576 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003573/0.1379, allocations: 251.8 kB / 0.6578 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.1379, allocations: 11.92 kB / 0.6578 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.1379, allocations: 4 kB / 0.6578 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003737/0.1383, allocations: 143.5 kB / 0.658 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.1383, allocations: 0 / 0.658 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.1383, allocations: 0 / 0.658 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.626e-05/0.1384, allocations: 11.94 kB / 0.658 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004779/0.1388, allocations: 151.9 kB / 0.6581 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007182/0.1396, allocations: 456.5 kB / 0.6585 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004553/0.14, allocations: 170.4 kB / 0.6587 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003001/0.1403, allocations: 111.9 kB / 0.6588 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.1404, allocations: 0 / 0.6588 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.1404, allocations: 34.56 kB / 0.6588 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=13): time 1.012e-06/0.1404, allocations: 0 / 0.6588 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13): time 0.0009108/0.1413, allocations: 293.4 kB / 0.6591 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.1414, allocations: 55.59 kB / 0.6592 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002505/0.1416, allocations: 246.7 kB / 0.6594 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.924e-05/0.1417, allocations: 29.7 kB / 0.6594 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.938e-05/0.1418, allocations: 140.1 kB / 0.6596 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.919e-05/0.1418, allocations: 43.59 kB / 0.6596 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.011e-05/0.1419, allocations: 33.64 kB / 0.6596 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.1421, allocations: 334.8 kB / 0.66 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002541/0.1423, allocations: 75.94 kB / 0.66 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002505/0.1426, allocations: 79.94 kB / 0.6601 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004922/0.1431, allocations: 164.7 kB / 0.6603 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1431, allocations: 4 kB / 0.6603 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005897/0.1437, allocations: 220.8 kB / 0.6605 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.1437, allocations: 8 kB / 0.6605 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.1437, allocations: 0 / 0.6605 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.1437, allocations: 0 / 0.6605 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002618/0.144, allocations: 35.91 kB / 0.6605 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.144, allocations: 3.938 kB / 0.6605 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001724/0.1442, allocations: 27.91 kB / 0.6606 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.1442, allocations: 4 kB / 0.6606 GB, free: 9.062 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.0001296/0.1444, allocations: 133.8 kB / 0.6607 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.993e-05/0.1444, allocations: 23.86 kB / 0.6607 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.947e-05/0.1445, allocations: 29.83 kB / 0.6607 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.1445, allocations: 0 / 0.6607 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1445, allocations: 3.938 kB / 0.6607 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.1445, allocations: 0 / 0.6607 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000318/0.1448, allocations: 277.5 kB / 0.661 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.1449, allocations: 8 kB / 0.661 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002307/0.1451, allocations: 35.91 kB / 0.6611 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1451, allocations: 0 / 0.6611 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.1451, allocations: 4 kB / 0.6611 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.1451, allocations: 3.984 kB / 0.6611 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.1451, allocations: 3.938 kB / 0.6611 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000643/0.1458, allocations: 315.3 kB / 0.6614 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.1459, allocations: 116.9 kB / 0.6615 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.264e-05/0.1459, allocations: 3.984 kB / 0.6615 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001977/0.1461, allocations: 11.98 kB / 0.6615 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.11e-05/0.1462, allocations: 19.92 kB / 0.6615 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.1462, allocations: 4 kB / 0.6615 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001732/0.1464, allocations: 185.9 kB / 0.6617 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1464, allocations: 0 / 0.6617 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002736/0.1467, allocations: 32 kB / 0.6617 GB, free: 7.781 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.0009856/0.1477, allocations: 0.8644 MB / 0.6626 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005622/0.1483, allocations: 182.9 kB / 0.6627 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.1483, allocations: 0 / 0.6627 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00028/0.1486, allocations: 99.8 kB / 0.6628 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004375/0.149, allocations: 56.45 kB / 0.6629 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003484/0.1525, allocations: 2.399 MB / 0.6652 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003835/0.1529, allocations: 0.7513 MB / 0.666 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001672/0.1531, allocations: 49.39 kB / 0.666 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.1532, allocations: 59.41 kB / 0.6661 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.1532, allocations: 0 / 0.6661 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0256/0.1788, allocations: 4.843 MB / 0.6708 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.065/8.244, allocations: 6.281 kB / 0.6708 GB, free: 14.5 MB / 0.5137 GB (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_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_EN12975HeatLoss.fmu > IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1)