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.004353/0.004353, allocations: 99.64 kB / 15.73 MB, free: 6.012 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.00118/0.00118, allocations: 190.6 kB / 16.67 MB, free: 5.926 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.299/1.299, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002388/0.002388, allocations: 290 kB / 290.8 MB, free: 14.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.119/1.119, allocations: 178.5 MB / 0.5074 GB, free: 12.71 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002517/0.002517, allocations: 91.86 kB / 0.6943 GB, free: 15.14 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.375, allocations: 89.13 MB / 0.7813 GB, free: 1.336 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002663/0.3778, allocations: 2.128 MB / 0.7834 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001525/0.3793, allocations: 1.028 MB / 0.7844 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.3794, allocations: 7.75 kB / 0.7844 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.589e-05/0.3795, allocations: 19.73 kB / 0.7845 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002805/0.3798, allocations: 90 kB / 0.7845 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003913/0.3802, allocations: 195 kB / 0.7847 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003121/0.3805, allocations: 297.2 kB / 0.785 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001482/0.3806, allocations: 58.23 kB / 0.7851 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.3808, allocations: 110.9 kB / 0.7852 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002204/0.381, allocations: 143.4 kB / 0.7853 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.585e-05/0.381, allocations: 18.28 kB / 0.7853 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004141/0.3815, allocations: 298.4 kB / 0.7856 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.225e-05/0.3815, allocations: 46.22 kB / 0.7857 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001098/0.3816, allocations: 120.3 kB / 0.7858 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00041/0.382, allocations: 337.2 kB / 0.7861 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.135e-06/0.3821, allocations: 0 / 0.7861 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3821, allocations: 0 / 0.7861 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.093e-05/0.3821, allocations: 1.094 kB / 0.7861 GB, free: 13.71 MB / 0.5606 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.001053/0.3831, allocations: 0.6389 MB / 0.7867 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.3832, allocations: 13.12 kB / 0.7867 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.308e-05/0.3832, allocations: 51.08 kB / 0.7868 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002006/0.3834, allocations: 44.91 kB / 0.7868 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003423/0.3838, allocations: 281.4 kB / 0.7871 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.3838, allocations: 11.53 kB / 0.7871 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.5e-05/0.3839, allocations: 13.41 kB / 0.7871 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005087/0.3844, allocations: 236.5 kB / 0.7873 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.3844, allocations: 1.219 kB / 0.7873 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.3844, allocations: 9.188 kB / 0.7873 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.3844, allocations: 4.906 kB / 0.7873 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006519/0.3851, allocations: 198 kB / 0.7875 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.3862, allocations: 0.9422 MB / 0.7885 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007557/0.387, allocations: 236.2 kB / 0.7887 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000337/0.3873, allocations: 117.6 kB / 0.7888 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.989e-05/0.3874, allocations: 5.453 kB / 0.7888 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.3874, allocations: 40.75 kB / 0.7888 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.443e-06/0.3874, allocations: 0 / 0.7888 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.001166/0.3886, allocations: 342.5 kB / 0.7892 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.425e-05/0.3886, allocations: 79.27 kB / 0.7892 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002725/0.3889, allocations: 262.5 kB / 0.7895 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.389, allocations: 34.73 kB / 0.7895 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.3891, allocations: 165.9 kB / 0.7897 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.558e-05/0.3891, allocations: 57.19 kB / 0.7897 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.494e-05/0.3892, allocations: 43.67 kB / 0.7898 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.3894, allocations: 333.5 kB / 0.7901 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000327/0.3897, allocations: 89.27 kB / 0.7902 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003657/0.3901, allocations: 144.4 kB / 0.7903 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006646/0.3907, allocations: 241.3 kB / 0.7905 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3908, allocations: 0 / 0.7905 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008262/0.3916, allocations: 299.9 kB / 0.7908 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.3916, allocations: 6.125 kB / 0.7908 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.3916, allocations: 1.094 kB / 0.7908 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.3916, allocations: 6.719 kB / 0.7908 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002648/0.3919, allocations: 60.02 kB / 0.7909 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.3919, allocations: 1.5 kB / 0.7909 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002214/0.3922, allocations: 49.45 kB / 0.791 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.3922, allocations: 6.562 kB / 0.791 GB, free: 9.785 MB / 0.5606 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.0001225/0.3923, allocations: 135 kB / 0.7911 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.3924, allocations: 29.64 kB / 0.7911 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008052/0.3932, allocations: 293.4 kB / 0.7914 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.3932, allocations: 2.844 kB / 0.7914 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3933, allocations: 0.6562 kB / 0.7914 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.3933, allocations: 5.016 kB / 0.7914 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003709/0.3936, allocations: 293.3 kB / 0.7917 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3936, allocations: 1.188 kB / 0.7917 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00026/0.3939, allocations: 54.98 kB / 0.7917 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.185e-06/0.3939, allocations: 1.688 kB / 0.7917 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.3939, allocations: 5.188 kB / 0.7917 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.394, allocations: 5.219 kB / 0.7918 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.394, allocations: 0 / 0.7918 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008478/0.3948, allocations: 448.9 kB / 0.7922 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.378e-05/0.3949, allocations: 99.98 kB / 0.7923 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.579e-05/0.3949, allocations: 5.812 kB / 0.7923 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002511/0.3952, allocations: 30.05 kB / 0.7923 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.348e-05/0.3953, allocations: 19.61 kB / 0.7923 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.3953, allocations: 4.281 kB / 0.7923 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000177/0.3955, allocations: 197.7 kB / 0.7925 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3955, allocations: 1.219 kB / 0.7925 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003315/0.3958, allocations: 53.66 kB / 0.7926 GB, free: 8.539 MB / 0.5606 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.001212/0.397, allocations: 0.999 MB / 0.7935 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007409/0.3978, allocations: 225 kB / 0.7938 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3978, allocations: 1.031 kB / 0.7938 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003523/0.3982, allocations: 117.5 kB / 0.7939 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005164/0.3987, allocations: 75.77 kB / 0.7939 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00401/0.4027, allocations: 2.715 MB / 0.7966 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/0.4031, allocations: 0.7501 MB / 0.7973 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001411/0.4032, allocations: 37.42 kB / 0.7974 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/0.4034, allocations: 86 kB / 0.7974 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of SimCode: time 2.61e-07/0.4034, allocations: 3.938 kB / 0.7975 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02721/0.4306, allocations: 6.575 MB / 0.8039 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.799/8.23, allocations: 20.38 kB / 0.8039 GB, free: 1.352 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)