Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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) 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.EN12975SolarGain,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",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.001664/0.001664, allocations: 99.98 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.001761/0.001761, 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.376/1.376, 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.7997/0.7997, allocations: 126.7 MB / 417.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 68.08 kB / 0.5735 GB, free: 26.97 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1319, allocations: 78.87 MB / 0.6506 GB, free: 3.613 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.00336/0.1353, allocations: 2.036 MB / 0.6525 GB, free: 1.566 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00542/0.1407, allocations: 4.066 MB / 0.6565 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.1409, allocations: 0 / 0.6565 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007805/0.1417, allocations: 199.4 kB / 0.6567 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001394/0.1418, allocations: 59.42 kB / 0.6568 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007118/0.1426, allocations: 269 kB / 0.657 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006088/0.1432, allocations: 378.8 kB / 0.6574 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.1433, allocations: 52.23 kB / 0.6574 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001674/0.1435, allocations: 115.5 kB / 0.6575 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000177/0.1437, allocations: 119.5 kB / 0.6577 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.928e-05/0.1437, allocations: 16 kB / 0.6577 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005256/0.1442, allocations: 311.5 kB / 0.658 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.1444, allocations: 103.6 kB / 0.6581 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001747/0.1446, allocations: 151.1 kB / 0.6582 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006271/0.1452, allocations: 0.5097 MB / 0.6587 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1452, allocations: 4 kB / 0.6587 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1452, allocations: 0 / 0.6587 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.1452, allocations: 0 / 0.6587 GB, free: 11.23 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001352/0.1466, allocations: 0.76 MB / 0.6595 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.1466, allocations: 12.03 kB / 0.6595 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.929e-05/0.1467, allocations: 38.73 kB / 0.6595 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.113e-05/0.1468, allocations: 52.59 kB / 0.6596 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005005/0.1473, allocations: 326.6 kB / 0.6599 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.1473, allocations: 19.86 kB / 0.6599 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.1473, allocations: 8 kB / 0.6599 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005361/0.1479, allocations: 197.5 kB / 0.6601 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.1479, allocations: 0 / 0.6601 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.1479, allocations: 4 kB / 0.6601 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.1479, allocations: 4 kB / 0.6601 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007865/0.1487, allocations: 239.8 kB / 0.6603 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009864/0.1497, allocations: 0.5862 MB / 0.6609 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004665/0.1502, allocations: 174.5 kB / 0.6611 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004049/0.1506, allocations: 136.8 kB / 0.6612 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.55e-05/0.1507, allocations: 24.19 kB / 0.6612 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.1507, allocations: 34.5 kB / 0.6612 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 3.377e-06/0.1507, allocations: 0 / 0.6612 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001354/0.1521, allocations: 449.2 kB / 0.6617 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.1521, allocations: 59.41 kB / 0.6617 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004549/0.1526, allocations: 409.6 kB / 0.6621 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.1526, allocations: 29.7 kB / 0.6621 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001494/0.1528, allocations: 180 kB / 0.6623 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.12e-05/0.1528, allocations: 35.69 kB / 0.6623 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.952e-05/0.1529, allocations: 45.69 kB / 0.6624 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.1531, allocations: 338.8 kB / 0.6627 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004542/0.1535, allocations: 175.8 kB / 0.6629 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004499/0.154, allocations: 171.9 kB / 0.663 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000888/0.1549, allocations: 352.2 kB / 0.6634 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.1549, allocations: 3.938 kB / 0.6634 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001052/0.156, allocations: 468.8 kB / 0.6638 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.239e-05/0.156, allocations: 47.56 kB / 0.6639 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.156, allocations: 0 / 0.6639 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.1561, allocations: 7.922 kB / 0.6639 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00032/0.1564, allocations: 43.95 kB / 0.6639 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.1564, allocations: 4 kB / 0.6639 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002631/0.1567, allocations: 35.84 kB / 0.664 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.1567, allocations: 8 kB / 0.664 GB, free: 5.574 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 (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.0001789/0.1569, allocations: 153.8 kB / 0.6641 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.439e-05/0.157, allocations: 35.77 kB / 0.6642 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001014/0.158, allocations: 348.5 kB / 0.6645 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.158, allocations: 4 kB / 0.6645 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.158, allocations: 0 / 0.6645 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.158, allocations: 0 / 0.6645 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004148/0.1584, allocations: 353.3 kB / 0.6648 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.1585, allocations: 7.938 kB / 0.6648 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003079/0.1588, allocations: 43.89 kB / 0.6649 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.1588, allocations: 0 / 0.6649 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.571e-05/0.1588, allocations: 11.92 kB / 0.6649 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.1588, allocations: 0 / 0.6649 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1588, allocations: 4 kB / 0.6649 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009591/0.1598, allocations: 423.8 kB / 0.6653 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.1599, allocations: 124.8 kB / 0.6654 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.63e-05/0.16, allocations: 7.938 kB / 0.6654 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002762/0.1603, allocations: 23.97 kB / 0.6654 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.958e-05/0.1603, allocations: 19.97 kB / 0.6655 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.1604, allocations: 0 / 0.6655 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003451/0.1607, allocations: 291.1 kB / 0.6657 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1607, allocations: 4 kB / 0.6657 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004458/0.1612, allocations: 119.8 kB / 0.6659 GB, free: 3.539 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 (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.001515/0.1627, allocations: 1.024 MB / 0.6669 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001122/0.1638, allocations: 0.499 MB / 0.6673 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1638, allocations: 0 / 0.6673 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004279/0.1643, allocations: 139.8 kB / 0.6675 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000515/0.1648, allocations: 65.5 kB / 0.6675 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006183/0.171, allocations: 4.19 MB / 0.6716 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004319/0.1715, allocations: 0.7866 MB / 0.6724 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001827/0.1717, allocations: 41.52 kB / 0.6724 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001711/0.1718, allocations: 107.4 kB / 0.6725 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of SimCode: time 2.265e-06/0.1718, allocations: 0 / 0.6725 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03038/0.2022, allocations: 8.324 MB / 0.6807 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.186/8.388, allocations: 5.484 kB / 0.6807 GB, free: 4.391 MB / 0.5137 GB (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_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_EN12975SolarGain.fmu > IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)