Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.HADryCoil,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",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.001112/0.001112, allocations: 108 kB / 15.61 MB, free: 152 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.001074/0.001074, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.279/1.279, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00206/0.00206, allocations: 279 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9051/0.9051, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001682/0.001682, allocations: 100.7 kB / 0.5954 GB, free: 27.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1363, allocations: 86.98 MB / 0.6803 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002973/0.1393, allocations: 2.103 MB / 0.6823 GB, free: 14.49 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00142/0.1407, allocations: 1.046 MB / 0.6834 GB, free: 13.44 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.536e-05/0.1408, allocations: 9.844 kB / 0.6834 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.372e-05/0.1409, allocations: 27.66 kB / 0.6834 GB, free: 13.4 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002579/0.1412, allocations: 75.3 kB / 0.6835 GB, free: 13.33 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000374/0.1416, allocations: 195.8 kB / 0.6837 GB, free: 13.14 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002656/0.1418, allocations: 290.8 kB / 0.6839 GB, free: 12.85 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.142, allocations: 72.58 kB / 0.684 GB, free: 12.78 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.1421, allocations: 103.6 kB / 0.6841 GB, free: 12.68 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002/0.1423, allocations: 139.3 kB / 0.6842 GB, free: 12.54 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.703e-05/0.1423, allocations: 19.98 kB / 0.6843 GB, free: 12.52 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003728/0.1427, allocations: 299.6 kB / 0.6845 GB, free: 12.23 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.023e-05/0.1428, allocations: 51.77 kB / 0.6846 GB, free: 12.18 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.469e-05/0.1429, allocations: 115.3 kB / 0.6847 GB, free: 12.07 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003188/0.1432, allocations: 326.9 kB / 0.685 GB, free: 11.75 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1432, allocations: 0 / 0.685 GB, free: 11.75 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1432, allocations: 3.938 kB / 0.685 GB, free: 11.74 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.1432, allocations: 0 / 0.685 GB, free: 11.74 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009639/0.1442, allocations: 0.6194 MB / 0.6856 GB, free: 11.07 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.1442, allocations: 8.031 kB / 0.6856 GB, free: 11.07 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.327e-05/0.1443, allocations: 50.73 kB / 0.6857 GB, free: 11.01 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001939/0.1445, allocations: 40.55 kB / 0.6857 GB, free: 10.97 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002623/0.1448, allocations: 279.5 kB / 0.686 GB, free: 10.66 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.1448, allocations: 8.656 kB / 0.686 GB, free: 10.65 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.536e-05/0.1448, allocations: 16.38 kB / 0.686 GB, free: 10.64 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004901/0.1453, allocations: 236.7 kB / 0.6862 GB, free: 10.38 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.1453, allocations: 0 / 0.6862 GB, free: 10.38 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.1453, allocations: 4 kB / 0.6862 GB, free: 10.38 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.1454, allocations: 7.984 kB / 0.6862 GB, free: 10.37 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006483/0.146, allocations: 203.7 kB / 0.6864 GB, free: 10.17 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009846/0.147, allocations: 0.9345 MB / 0.6874 GB, free: 9.168 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007523/0.1478, allocations: 241.2 kB / 0.6876 GB, free: 8.914 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003287/0.1481, allocations: 109.6 kB / 0.6877 GB, free: 8.801 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.1481, allocations: 320 / 0.6877 GB, free: 8.801 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.1482, allocations: 42.5 kB / 0.6877 GB, free: 8.75 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.072e-06/0.1482, allocations: 3.938 kB / 0.6877 GB, free: 8.746 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.001155/0.1493, allocations: 337.5 kB / 0.6881 GB, free: 8.41 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.1494, allocations: 85.11 kB / 0.6881 GB, free: 8.309 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002384/0.1496, allocations: 263 kB / 0.6884 GB, free: 8.043 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.1497, allocations: 25.7 kB / 0.6884 GB, free: 8.012 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.581e-05/0.1498, allocations: 168.1 kB / 0.6886 GB, free: 7.844 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.848e-05/0.1498, allocations: 55.2 kB / 0.6886 GB, free: 7.789 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.772e-05/0.1499, allocations: 37.7 kB / 0.6887 GB, free: 7.746 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.15, allocations: 338.8 kB / 0.689 GB, free: 7.406 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003263/0.1503, allocations: 91.91 kB / 0.6891 GB, free: 7.316 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003353/0.1507, allocations: 140.3 kB / 0.6892 GB, free: 7.16 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006527/0.1513, allocations: 241.7 kB / 0.6894 GB, free: 6.902 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.1513, allocations: 0 / 0.6894 GB, free: 6.902 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008046/0.1521, allocations: 304.9 kB / 0.6897 GB, free: 6.598 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.1522, allocations: 4 kB / 0.6897 GB, free: 6.594 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1522, allocations: 4 kB / 0.6897 GB, free: 6.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.1522, allocations: 0 / 0.6897 GB, free: 6.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002845/0.1525, allocations: 64.03 kB / 0.6898 GB, free: 6.527 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.1525, allocations: 8 kB / 0.6898 GB, free: 6.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000232/0.1527, allocations: 43.72 kB / 0.6898 GB, free: 6.477 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.781e-05/0.1528, allocations: 12 kB / 0.6899 GB, free: 6.465 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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.0001056/0.1529, allocations: 131.1 kB / 0.69 GB, free: 6.328 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.153, allocations: 31.64 kB / 0.69 GB, free: 6.297 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007962/0.1538, allocations: 283.2 kB / 0.6903 GB, free: 6.012 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.1538, allocations: 7.984 kB / 0.6903 GB, free: 6.004 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.1538, allocations: 4 kB / 0.6903 GB, free: 6 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1538, allocations: 0 / 0.6903 GB, free: 6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003345/0.1542, allocations: 301.2 kB / 0.6906 GB, free: 5.656 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1542, allocations: 0 / 0.6906 GB, free: 5.656 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002601/0.1544, allocations: 51.95 kB / 0.6906 GB, free: 5.605 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1544, allocations: 0 / 0.6906 GB, free: 5.605 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/0.1545, allocations: 8 kB / 0.6906 GB, free: 5.598 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.1545, allocations: 0 / 0.6906 GB, free: 5.598 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.1545, allocations: 3.984 kB / 0.6906 GB, free: 5.594 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008311/0.1553, allocations: 444.1 kB / 0.6911 GB, free: 5.145 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.489e-05/0.1554, allocations: 112.7 kB / 0.6912 GB, free: 5.016 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.496e-05/0.1554, allocations: 3.984 kB / 0.6912 GB, free: 5.012 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000258/0.1557, allocations: 23.97 kB / 0.6912 GB, free: 4.988 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.287e-05/0.1558, allocations: 15.98 kB / 0.6912 GB, free: 4.973 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.1558, allocations: 7.984 kB / 0.6912 GB, free: 4.965 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000162/0.156, allocations: 194 kB / 0.6914 GB, free: 4.777 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.156, allocations: 0 / 0.6914 GB, free: 4.777 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003394/0.1563, allocations: 48 kB / 0.6915 GB, free: 4.73 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.001106/0.1574, allocations: 0.9965 MB / 0.6924 GB, free: 3.707 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007472/0.1582, allocations: 237.9 kB / 0.6927 GB, free: 3.477 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1582, allocations: 0 / 0.6927 GB, free: 3.477 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003555/0.1586, allocations: 115.8 kB / 0.6928 GB, free: 3.363 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000588/0.1592, allocations: 82.36 kB / 0.6928 GB, free: 3.285 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003785/0.163, allocations: 2.712 MB / 0.6955 GB, free: 464 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.1632, allocations: 0.7558 MB / 0.6962 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001557/0.1634, allocations: 26.3 kB / 0.6963 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.1635, allocations: 87.41 kB / 0.6963 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1635, allocations: 0 / 0.6963 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02087/0.1844, allocations: 6.492 MB / 0.7027 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.094/7.278, allocations: 10.91 kB / 0.7027 GB, free: 9.262 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.csv --start-time 0 --stop-time 80 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.032 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)