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.00578/0.00578, allocations: 101 kB / 15.73 MB, free: 6.062 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.001493/0.001493, allocations: 195.2 kB / 16.67 MB, free: 5.973 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.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002437/0.002437, allocations: 282.5 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9411/0.9411, allocations: 169.3 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00257/0.00257, allocations: 107.8 kB / 0.681 GB, free: 7.457 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4107/0.4133, allocations: 86.97 MB / 0.7659 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003385/0.4167, allocations: 2.115 MB / 0.768 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001588/0.4183, allocations: 1.033 MB / 0.769 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.4185, allocations: 7.938 kB / 0.769 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.278e-05/0.4185, allocations: 27.67 kB / 0.769 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000281/0.4188, allocations: 83.27 kB / 0.7691 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003873/0.4192, allocations: 191.5 kB / 0.7693 GB, free: 396 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003155/0.4195, allocations: 298.8 kB / 0.7696 GB, free: 96 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.4197, allocations: 64.5 kB / 0.7696 GB, free: 36 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/0.4198, allocations: 111.5 kB / 0.7697 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002187/0.4201, allocations: 143.4 kB / 0.7699 GB, free: 15.79 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.881e-05/0.4201, allocations: 20 kB / 0.7699 GB, free: 15.77 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004163/0.4205, allocations: 295.6 kB / 0.7702 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.646e-05/0.4206, allocations: 47.83 kB / 0.7702 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.4207, allocations: 123.2 kB / 0.7703 GB, free: 15.31 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003928/0.4211, allocations: 331.8 kB / 0.7707 GB, free: 14.99 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.4211, allocations: 0 / 0.7707 GB, free: 14.99 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.293e-06/0.4211, allocations: 0 / 0.7707 GB, free: 14.99 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.4211, allocations: 4 kB / 0.7707 GB, free: 14.98 MB / 0.545 GB 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.001048/0.4222, allocations: 0.6384 MB / 0.7713 GB, free: 14.3 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.4222, allocations: 12.03 kB / 0.7713 GB, free: 14.29 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.189e-05/0.4223, allocations: 46.73 kB / 0.7713 GB, free: 14.23 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001943/0.4225, allocations: 40.75 kB / 0.7714 GB, free: 14.19 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003797/0.4229, allocations: 287.7 kB / 0.7717 GB, free: 13.87 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.4229, allocations: 16.66 kB / 0.7717 GB, free: 13.86 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.732e-05/0.4229, allocations: 16.38 kB / 0.7717 GB, free: 13.84 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005083/0.4234, allocations: 224.8 kB / 0.7719 GB, free: 13.6 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.4235, allocations: 7.938 kB / 0.7719 GB, free: 13.59 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.4235, allocations: 8 kB / 0.7719 GB, free: 13.58 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.4235, allocations: 7.984 kB / 0.7719 GB, free: 13.57 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000639/0.4241, allocations: 191.8 kB / 0.7721 GB, free: 13.39 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001119/0.4253, allocations: 0.9463 MB / 0.773 GB, free: 12.37 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007392/0.426, allocations: 241.2 kB / 0.7733 GB, free: 12.12 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003208/0.4264, allocations: 105.6 kB / 0.7734 GB, free: 12.01 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.4264, allocations: 0 / 0.7734 GB, free: 12.01 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.4264, allocations: 42.55 kB / 0.7734 GB, free: 11.96 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.022e-06/0.4264, allocations: 0 / 0.7734 GB, free: 11.96 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.001113/0.4275, allocations: 337.5 kB / 0.7737 GB, free: 11.62 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.445e-05/0.4276, allocations: 81.11 kB / 0.7738 GB, free: 11.52 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002642/0.4279, allocations: 271 kB / 0.7741 GB, free: 11.26 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.4279, allocations: 29.7 kB / 0.7741 GB, free: 11.22 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.428, allocations: 160.2 kB / 0.7742 GB, free: 11.06 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.802e-05/0.4281, allocations: 63.45 kB / 0.7743 GB, free: 11 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.988e-05/0.4282, allocations: 45.66 kB / 0.7743 GB, free: 10.95 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.4283, allocations: 338.8 kB / 0.7747 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003177/0.4286, allocations: 87.91 kB / 0.7747 GB, free: 10.52 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003478/0.429, allocations: 149.1 kB / 0.7749 GB, free: 10.36 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000644/0.4296, allocations: 233.8 kB / 0.7751 GB, free: 10.11 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.4297, allocations: 0 / 0.7751 GB, free: 10.11 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008069/0.4305, allocations: 293.1 kB / 0.7754 GB, free: 9.816 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.4305, allocations: 4.156 kB / 0.7754 GB, free: 9.812 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.4305, allocations: 8 kB / 0.7754 GB, free: 9.805 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.4305, allocations: 0 / 0.7754 GB, free: 9.805 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002715/0.4308, allocations: 67.88 kB / 0.7755 GB, free: 9.738 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.4308, allocations: 4 kB / 0.7755 GB, free: 9.734 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000215/0.431, allocations: 39.81 kB / 0.7755 GB, free: 9.695 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.4311, allocations: 11.98 kB / 0.7755 GB, free: 9.684 MB / 0.545 GB 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.0001161/0.4312, allocations: 136.2 kB / 0.7757 GB, free: 9.543 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.4313, allocations: 27.8 kB / 0.7757 GB, free: 9.516 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007949/0.4321, allocations: 296 kB / 0.776 GB, free: 9.219 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.4321, allocations: 4 kB / 0.776 GB, free: 9.215 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.4321, allocations: 0 / 0.776 GB, free: 9.215 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.4321, allocations: 0 / 0.776 GB, free: 9.215 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003601/0.4325, allocations: 297.3 kB / 0.7762 GB, free: 8.875 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.4325, allocations: 4 kB / 0.7763 GB, free: 8.871 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002495/0.4327, allocations: 55.94 kB / 0.7763 GB, free: 8.816 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.4328, allocations: 0 / 0.7763 GB, free: 8.816 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.4328, allocations: 12 kB / 0.7763 GB, free: 8.805 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.4328, allocations: 3.938 kB / 0.7763 GB, free: 8.801 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.4328, allocations: 0 / 0.7763 GB, free: 8.801 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008454/0.4336, allocations: 446.4 kB / 0.7767 GB, free: 8.348 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.729e-05/0.4337, allocations: 108.8 kB / 0.7769 GB, free: 8.223 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.954e-05/0.4338, allocations: 0 / 0.7769 GB, free: 8.223 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002535/0.434, allocations: 27.97 kB / 0.7769 GB, free: 8.195 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.743e-05/0.4341, allocations: 19.97 kB / 0.7769 GB, free: 8.176 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/0.4341, allocations: 8 kB / 0.7769 GB, free: 8.168 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000174/0.4343, allocations: 193.9 kB / 0.7771 GB, free: 7.98 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.096e-06/0.4343, allocations: 0 / 0.7771 GB, free: 7.98 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003224/0.4346, allocations: 59.88 kB / 0.7771 GB, free: 7.922 MB / 0.545 GB 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.001204/0.4358, allocations: 0.9908 MB / 0.7781 GB, free: 6.906 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007312/0.4366, allocations: 227.7 kB / 0.7783 GB, free: 6.684 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.4366, allocations: 0 / 0.7783 GB, free: 6.684 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003766/0.437, allocations: 116.6 kB / 0.7784 GB, free: 6.57 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005116/0.4375, allocations: 80.89 kB / 0.7785 GB, free: 6.488 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004055/0.4416, allocations: 2.705 MB / 0.7812 GB, free: 3.664 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003976/0.442, allocations: 0.7519 MB / 0.7819 GB, free: 2.887 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000131/0.4421, allocations: 30.44 kB / 0.7819 GB, free: 2.855 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001338/0.4423, allocations: 83.41 kB / 0.782 GB, free: 2.773 MB / 0.545 GB Notification: Performance of SimCode: time 3.91e-07/0.4423, allocations: 0 / 0.782 GB, free: 2.773 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02825/0.4705, allocations: 6.585 MB / 0.7884 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.682/8.153, allocations: 1.219 kB / 0.7884 GB, free: 12.41 MB / 0.5606 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)