Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",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.001147/0.001147, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 194.6 kB / 16.53 MB, free: 6.391 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.301/1.301, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002036/0.002036, allocations: 287 kB / 290.7 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.928/0.928, allocations: 169.3 MB / 0.4982 GB, free: 13.86 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001692/0.001692, allocations: 91.62 kB / 0.5953 GB, free: 27.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1337, allocations: 86.98 MB / 0.6803 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002613/0.1363, allocations: 1.571 MB / 0.6818 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001344/0.1377, allocations: 0.8997 MB / 0.6827 GB, free: 14.08 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.198e-05/0.1378, allocations: 0 / 0.6827 GB, free: 14.08 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.26e-05/0.1378, allocations: 12.8 kB / 0.6827 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001928/0.138, allocations: 23.8 kB / 0.6827 GB, free: 14.05 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003561/0.1384, allocations: 143.9 kB / 0.6829 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.1385, allocations: 67.73 kB / 0.6829 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.876e-05/0.1386, allocations: 23.91 kB / 0.683 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.813e-05/0.1387, allocations: 35.84 kB / 0.683 GB, free: 13.78 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.1389, allocations: 39.84 kB / 0.683 GB, free: 13.74 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.1389, allocations: 4 kB / 0.683 GB, free: 13.74 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003829/0.1393, allocations: 279.7 kB / 0.6833 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.48e-05/0.1393, allocations: 19.91 kB / 0.6833 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.422e-05/0.1394, allocations: 31.8 kB / 0.6833 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002555/0.1396, allocations: 143.7 kB / 0.6835 GB, free: 13.27 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1396, allocations: 0 / 0.6835 GB, free: 13.27 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1396, allocations: 0 / 0.6835 GB, free: 13.27 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.1397, allocations: 0 / 0.6835 GB, free: 13.27 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005398/0.1402, allocations: 411.1 kB / 0.6839 GB, free: 12.82 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.1402, allocations: 12.03 kB / 0.6839 GB, free: 12.81 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.159e-05/0.1403, allocations: 34.75 kB / 0.6839 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001114/0.1404, allocations: 16.78 kB / 0.6839 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.1406, allocations: 184.1 kB / 0.6841 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.1406, allocations: 8.375 kB / 0.6841 GB, free: 12.53 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/0.1406, allocations: 384 / 0.6841 GB, free: 12.53 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.1408, allocations: 69.8 kB / 0.6842 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.1408, allocations: 4 kB / 0.6842 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.1408, allocations: 0 / 0.6842 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/0.1408, allocations: 0 / 0.6842 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001531/0.141, allocations: 43.95 kB / 0.6842 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004199/0.1414, allocations: 308.7 kB / 0.6845 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.1416, allocations: 54.53 kB / 0.6846 GB, free: 11.99 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.387e-05/0.1417, allocations: 32.97 kB / 0.6846 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.1417, allocations: 0 / 0.6846 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.1417, allocations: 30.56 kB / 0.6846 GB, free: 11.92 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 9.12e-07/0.1417, allocations: 0 / 0.6846 GB, free: 11.92 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003537/0.1421, allocations: 117.5 kB / 0.6848 GB, free: 11.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.1421, allocations: 51.41 kB / 0.6848 GB, free: 11.73 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.494e-05/0.1422, allocations: 136.4 kB / 0.6849 GB, free: 11.59 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.1423, allocations: 25.7 kB / 0.685 GB, free: 11.56 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.693e-05/0.1423, allocations: 92.14 kB / 0.685 GB, free: 11.47 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.983e-05/0.1423, allocations: 19.73 kB / 0.6851 GB, free: 11.45 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.139e-05/0.1424, allocations: 25.72 kB / 0.6851 GB, free: 11.42 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.1425, allocations: 318.8 kB / 0.6854 GB, free: 11.1 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.95e-05/0.1426, allocations: 23.98 kB / 0.6854 GB, free: 11.07 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.737e-05/0.1427, allocations: 19.98 kB / 0.6854 GB, free: 11.05 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.1428, allocations: 52.83 kB / 0.6855 GB, free: 11 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.1428, allocations: 0 / 0.6855 GB, free: 11 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002165/0.1431, allocations: 97.52 kB / 0.6856 GB, free: 10.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.1431, allocations: 11.98 kB / 0.6856 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.1431, allocations: 0 / 0.6856 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.1431, allocations: 0 / 0.6856 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.1432, allocations: 11.98 kB / 0.6856 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.1432, allocations: 4 kB / 0.6856 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.872e-05/0.1433, allocations: 0 / 0.6856 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-06/0.1433, allocations: 4.438 kB / 0.6856 GB, free: 10.87 MB / 494.1 MB 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 (6): * Single equations (assignments): 6 * 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 7.63e-05/0.1434, allocations: 123.1 kB / 0.6857 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.478e-05/0.1435, allocations: 7.906 kB / 0.6857 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002429/0.1437, allocations: 101.9 kB / 0.6858 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1437, allocations: 0 / 0.6858 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.1437, allocations: 0 / 0.6858 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.1437, allocations: 0 / 0.6858 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001725/0.1439, allocations: 193.5 kB / 0.686 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1439, allocations: 3.938 kB / 0.686 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.636e-05/0.144, allocations: 16 kB / 0.686 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.144, allocations: 0 / 0.686 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.144, allocations: 7.984 kB / 0.686 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.144, allocations: 0 / 0.686 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1441, allocations: 0 / 0.686 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002417/0.1443, allocations: 187.4 kB / 0.6862 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.56e-05/0.1443, allocations: 88.95 kB / 0.6863 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.1444, allocations: 4 kB / 0.6863 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.555e-05/0.1445, allocations: 4 kB / 0.6863 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.91e-05/0.1445, allocations: 7.984 kB / 0.6863 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.1445, allocations: 3.938 kB / 0.6863 GB, free: 10.03 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.536e-05/0.1446, allocations: 101.5 kB / 0.6864 GB, free: 9.934 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1446, allocations: 0 / 0.6864 GB, free: 9.934 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002454/0.1448, allocations: 23.91 kB / 0.6864 GB, free: 9.91 MB / 494.1 MB 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 (6): * Single equations (assignments): 6 * 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.0005344/0.1454, allocations: 0.7437 MB / 0.6872 GB, free: 9.141 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002041/0.1456, allocations: 59.91 kB / 0.6872 GB, free: 9.082 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1456, allocations: 0 / 0.6872 GB, free: 9.082 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.551e-05/0.1457, allocations: 27.97 kB / 0.6873 GB, free: 9.055 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.146, allocations: 21.03 kB / 0.6873 GB, free: 9.035 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00148/0.1475, allocations: 1.463 MB / 0.6887 GB, free: 7.496 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002057/0.1477, allocations: 0.6942 MB / 0.6894 GB, free: 6.777 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.694e-05/0.1478, allocations: 0 / 0.6894 GB, free: 6.777 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.817e-05/0.1478, allocations: 23.42 kB / 0.6894 GB, free: 6.754 MB / 494.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1478, allocations: 0 / 0.6894 GB, free: 6.754 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01809/0.1659, allocations: 2.302 MB / 0.6917 GB, free: 4.586 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.96/7.126, allocations: 10.44 kB / 0.6917 GB, free: 4.578 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)