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.00552/0.00552, allocations: 99.44 kB / 15.73 MB, free: 6.008 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.001455/0.001455, allocations: 192.5 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.302/1.302, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002387/0.002387, allocations: 294.3 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.132/1.132, allocations: 178.5 MB / 0.5074 GB, free: 12.76 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002525/0.002525, allocations: 99.83 kB / 0.6943 GB, free: 15.18 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3865/0.389, allocations: 89.13 MB / 0.7813 GB, free: 1.387 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002099/0.3912, allocations: 1.583 MB / 0.7829 GB, free: 148 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001284/0.3925, allocations: 0.9037 MB / 0.7838 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.844e-05/0.3925, allocations: 5.312 kB / 0.7838 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.226e-05/0.3926, allocations: 7.875 kB / 0.7838 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001786/0.3928, allocations: 27.59 kB / 0.7838 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003201/0.3931, allocations: 141.3 kB / 0.7839 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001377/0.3932, allocations: 70.28 kB / 0.784 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.175e-05/0.3933, allocations: 18.52 kB / 0.784 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.991e-05/0.3934, allocations: 37.56 kB / 0.7841 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.3935, allocations: 36.25 kB / 0.7841 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.3935, allocations: 4.094 kB / 0.7841 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003809/0.3939, allocations: 285.7 kB / 0.7844 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.807e-05/0.394, allocations: 10.28 kB / 0.7844 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.978e-05/0.394, allocations: 31.94 kB / 0.7844 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.3942, allocations: 154.3 kB / 0.7846 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.3943, allocations: 3.984 kB / 0.7846 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3943, allocations: 0 / 0.7846 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.658e-06/0.3943, allocations: 4 kB / 0.7846 GB, free: 14.91 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005473/0.3948, allocations: 407.3 kB / 0.785 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.3949, allocations: 8.844 kB / 0.785 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.149e-05/0.3949, allocations: 35.94 kB / 0.785 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.395, allocations: 15.66 kB / 0.785 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001926/0.3952, allocations: 184.6 kB / 0.7852 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-06/0.3952, allocations: 1.562 kB / 0.7852 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.488e-06/0.3953, allocations: 6.719 kB / 0.7852 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.3954, allocations: 66.81 kB / 0.7853 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.3954, allocations: 0 / 0.7853 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.3955, allocations: 0 / 0.7853 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.3955, allocations: 1.531 kB / 0.7853 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001446/0.3956, allocations: 39.28 kB / 0.7853 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004231/0.396, allocations: 315.9 kB / 0.7856 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.3962, allocations: 49.16 kB / 0.7856 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.204e-05/0.3963, allocations: 31.06 kB / 0.7857 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.3963, allocations: 0 / 0.7857 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.3963, allocations: 35.84 kB / 0.7857 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 8.92e-07/0.3963, allocations: 0 / 0.7857 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.0003545/0.3967, allocations: 110.7 kB / 0.7858 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.3967, allocations: 52.5 kB / 0.7859 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.3969, allocations: 132.9 kB / 0.786 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.3969, allocations: 25.7 kB / 0.786 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.61e-05/0.3969, allocations: 95.5 kB / 0.7861 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.815e-05/0.397, allocations: 18.12 kB / 0.7861 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.222e-05/0.397, allocations: 19.16 kB / 0.7861 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.3972, allocations: 328 kB / 0.7865 GB, free: 13 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.907e-05/0.3973, allocations: 24.39 kB / 0.7865 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.788e-05/0.3973, allocations: 21.14 kB / 0.7865 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/0.3975, allocations: 52.77 kB / 0.7866 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.3975, allocations: 4 kB / 0.7866 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002194/0.3977, allocations: 101.5 kB / 0.7867 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.3977, allocations: 5.094 kB / 0.7867 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-06/0.3977, allocations: 0 / 0.7867 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.3978, allocations: 1.375 kB / 0.7867 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.3979, allocations: 14.61 kB / 0.7867 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.3979, allocations: 0 / 0.7867 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.065e-05/0.3979, allocations: 11.67 kB / 0.7867 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.398, allocations: 5.484 kB / 0.7867 GB, free: 12.86 MB / 0.5606 GB 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 8.352e-05/0.3981, allocations: 120.5 kB / 0.7868 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.977e-05/0.3981, allocations: 8.516 kB / 0.7868 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002496/0.3984, allocations: 103.6 kB / 0.7869 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.3984, allocations: 5.516 kB / 0.7869 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.3984, allocations: 0 / 0.7869 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3984, allocations: 0 / 0.7869 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001902/0.3986, allocations: 179.4 kB / 0.7871 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3986, allocations: 4 kB / 0.7871 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.319e-05/0.3987, allocations: 19.33 kB / 0.7871 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3987, allocations: 0 / 0.7871 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.3987, allocations: 1.188 kB / 0.7871 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3987, allocations: 0 / 0.7871 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3987, allocations: 1.125 kB / 0.7871 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002648/0.399, allocations: 192.7 kB / 0.7873 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.79e-05/0.399, allocations: 87.16 kB / 0.7874 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.3991, allocations: 0 / 0.7874 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.286e-05/0.3991, allocations: 8.172 kB / 0.7874 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.601e-05/0.3992, allocations: 6.281 kB / 0.7874 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.3992, allocations: 1.156 kB / 0.7874 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.758e-05/0.3993, allocations: 100 kB / 0.7875 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3993, allocations: 1.25 kB / 0.7875 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002295/0.3995, allocations: 29.61 kB / 0.7875 GB, free: 12.05 MB / 0.5606 GB 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.0006107/0.4001, allocations: 0.7371 MB / 0.7882 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002015/0.4003, allocations: 57.09 kB / 0.7883 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4003, allocations: 0 / 0.7883 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.867e-05/0.4004, allocations: 38.53 kB / 0.7883 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.4007, allocations: 19.27 kB / 0.7883 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.4023, allocations: 1.458 MB / 0.7898 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002928/0.4026, allocations: 0.6895 MB / 0.7904 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.452e-05/0.4026, allocations: 11.2 kB / 0.7905 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.796e-05/0.4027, allocations: 22.78 kB / 0.7905 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of SimCode: time 2.6e-07/0.4027, allocations: 0 / 0.7905 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02158/0.4243, allocations: 2.334 MB / 0.7928 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.358/7.782, allocations: 5 kB / 0.7928 GB, free: 8.035 MB / 0.5606 GB (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)