Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.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.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",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.001498/0.001498, allocations: 103 kB / 16.4 MB, free: 6.469 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.001603/0.001603, allocations: 196 kB / 17.34 MB, free: 5.711 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.265/1.265, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7217/0.7217, allocations: 122.9 MB / 414.1 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 68.23 kB / 0.568 GB, free: 28.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1305, allocations: 77.93 MB / 0.6441 GB, free: 9.535 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003005/0.1335, allocations: 2.071 MB / 0.6461 GB, free: 7.457 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001822/0.1354, allocations: 1.181 MB / 0.6472 GB, free: 6.266 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001224/0.1355, allocations: 0 / 0.6472 GB, free: 6.266 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000405/0.1359, allocations: 115.3 kB / 0.6474 GB, free: 6.152 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001049/0.1361, allocations: 55.58 kB / 0.6474 GB, free: 6.098 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007005/0.1368, allocations: 251.7 kB / 0.6477 GB, free: 5.852 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003244/0.1371, allocations: 323.3 kB / 0.648 GB, free: 5.535 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001725/0.1373, allocations: 98.95 kB / 0.6481 GB, free: 5.43 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.1374, allocations: 111.6 kB / 0.6482 GB, free: 5.32 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.1376, allocations: 123.5 kB / 0.6483 GB, free: 5.199 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.129e-05/0.1376, allocations: 28 kB / 0.6483 GB, free: 5.172 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003075/0.1379, allocations: 231.7 kB / 0.6485 GB, free: 4.945 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.765e-05/0.138, allocations: 91.67 kB / 0.6486 GB, free: 4.855 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.1381, allocations: 155.2 kB / 0.6488 GB, free: 4.703 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005292/0.1387, allocations: 0.5566 MB / 0.6493 GB, free: 4.145 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.686e-06/0.1387, allocations: 0 / 0.6493 GB, free: 4.145 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1387, allocations: 0 / 0.6493 GB, free: 4.145 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.1387, allocations: 0 / 0.6493 GB, free: 4.145 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001075/0.1398, allocations: 0.8161 MB / 0.6501 GB, free: 3.242 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.1398, allocations: 12.62 kB / 0.6501 GB, free: 3.23 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.198e-05/0.1399, allocations: 50.73 kB / 0.6502 GB, free: 3.172 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.466e-05/0.14, allocations: 40.64 kB / 0.6502 GB, free: 3.133 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003657/0.1403, allocations: 320.7 kB / 0.6505 GB, free: 2.781 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.1404, allocations: 12.66 kB / 0.6505 GB, free: 2.77 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.503e-05/0.1404, allocations: 20.38 kB / 0.6505 GB, free: 2.75 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005635/0.141, allocations: 294.8 kB / 0.6508 GB, free: 2.457 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.141, allocations: 7.938 kB / 0.6508 GB, free: 2.449 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.453e-05/0.141, allocations: 8 kB / 0.6508 GB, free: 2.441 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.141, allocations: 4 kB / 0.6508 GB, free: 2.438 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006021/0.1416, allocations: 264.4 kB / 0.6511 GB, free: 2.18 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008691/0.1425, allocations: 0.6759 MB / 0.6518 GB, free: 1.453 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005029/0.143, allocations: 226.6 kB / 0.652 GB, free: 1.223 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003719/0.1434, allocations: 192.7 kB / 0.6522 GB, free: 1.031 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.1434, allocations: 3.984 kB / 0.6522 GB, free: 1.027 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.1435, allocations: 42.5 kB / 0.6522 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.523e-06/0.1435, allocations: 0 / 0.6522 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.00125/0.1447, allocations: 0.6765 MB / 0.6529 GB, free: 284 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.651e-05/0.1448, allocations: 136.5 kB / 0.653 GB, free: 116 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003695/0.1452, allocations: 384.4 kB / 0.6534 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.692e-05/0.1452, allocations: 29.7 kB / 0.6534 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.1453, allocations: 172.3 kB / 0.6535 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.499e-05/0.1454, allocations: 39.75 kB / 0.6536 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.466e-05/0.1455, allocations: 53.64 kB / 0.6536 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.1456, allocations: 346.7 kB / 0.654 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004036/0.146, allocations: 235.9 kB / 0.6542 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003896/0.1464, allocations: 239.8 kB / 0.6544 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008592/0.1473, allocations: 0.6839 MB / 0.6551 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1473, allocations: 4 kB / 0.6551 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009854/0.1483, allocations: 0.7253 MB / 0.6558 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.884e-05/0.1484, allocations: 186.2 kB / 0.656 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.1484, allocations: 0 / 0.656 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.1484, allocations: 0 / 0.656 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.1486, allocations: 27.97 kB / 0.656 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.1486, allocations: 4 kB / 0.656 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002085/0.1488, allocations: 51.75 kB / 0.6561 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.471e-05/0.1489, allocations: 7.984 kB / 0.6561 GB, free: 12.79 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: 3 (mod.airFlo_mod.i,mod.watFlo_mod.i,mod.temDif_mod.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 6 * 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.0001994/0.1491, allocations: 262.8 kB / 0.6563 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.51e-05/0.1491, allocations: 27.81 kB / 0.6563 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.532e-05/0.1492, allocations: 30.94 kB / 0.6564 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1492, allocations: 0 / 0.6564 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.1492, allocations: 4 kB / 0.6564 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.1492, allocations: 0 / 0.6564 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003123/0.1495, allocations: 345.3 kB / 0.6567 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1495, allocations: 0 / 0.6567 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001539/0.1497, allocations: 31.97 kB / 0.6567 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1497, allocations: 0 / 0.6567 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/0.1497, allocations: 4 kB / 0.6567 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1497, allocations: 0 / 0.6567 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.1497, allocations: 3.984 kB / 0.6567 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008709/0.1506, allocations: 0.6329 MB / 0.6574 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.668e-05/0.1507, allocations: 112.8 kB / 0.6575 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.327e-05/0.1507, allocations: 7.984 kB / 0.6575 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002164/0.151, allocations: 31.97 kB / 0.6575 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.1511, allocations: 23.97 kB / 0.6575 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.1511, allocations: 8 kB / 0.6575 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002554/0.1514, allocations: 271 kB / 0.6578 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1514, allocations: 3.938 kB / 0.6578 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003984/0.1518, allocations: 107.9 kB / 0.6579 GB, free: 10.78 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: 3 (mod.temDif_mod.i,mod.watFlo_mod.i,mod.airFlo_mod.i) * Number of discrete states: 3 (mod.airFlo_mod.i,mod.watFlo_mod.i,mod.temDif_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 3 * 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.001302/0.1531, allocations: 1.21 MB / 0.6591 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0011/0.1542, allocations: 0.836 MB / 0.6599 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1542, allocations: 0 / 0.6599 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004829/0.1547, allocations: 374 kB / 0.6603 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004489/0.1552, allocations: 74.78 kB / 0.6603 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005369/0.1605, allocations: 4.442 MB / 0.6647 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.1609, allocations: 0.7831 MB / 0.6654 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.133e-05/0.161, allocations: 21.95 kB / 0.6655 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.1611, allocations: 91.41 kB / 0.6655 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of SimCode: time 1.072e-06/0.1611, allocations: 3.938 kB / 0.6655 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02602/0.1871, allocations: 8.716 MB / 0.6741 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.796/7.983, allocations: 3.938 kB / 0.6741 GB, free: 10.16 MB / 0.5137 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1)