Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IDEAS_IDEAS_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.001538/0.001538, allocations: 98.77 kB / 15.05 MB, free: 1.105 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.001861/0.001861, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.526/2.526, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.4/1.4, allocations: 132.2 MB / 423.2 MB, free: 2.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00062/0.0006205, allocations: 12 kB / 0.5033 GB, free: 4.184 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8748/0.8755, allocations: 81.57 MB / 0.583 GB, free: 3.883 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002571/0.8781, allocations: 1.264 MB / 0.5842 GB, free: 2.965 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001918/0.8801, allocations: 0.8411 MB / 0.585 GB, free: 2.387 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.406e-05/0.8802, allocations: 1.25 kB / 0.585 GB, free: 2.387 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.923e-05/0.8803, allocations: 5.484 kB / 0.585 GB, free: 2.383 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002568/0.8805, allocations: 26.77 kB / 0.5851 GB, free: 2.363 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004654/0.881, allocations: 89.48 kB / 0.5851 GB, free: 2.328 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001788/0.8812, allocations: 53.66 kB / 0.5852 GB, free: 2.297 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.8813, allocations: 11.55 kB / 0.5852 GB, free: 2.293 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.8815, allocations: 29.03 kB / 0.5852 GB, free: 2.281 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.8817, allocations: 34.12 kB / 0.5853 GB, free: 2.266 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.8817, allocations: 6.531 kB / 0.5853 GB, free: 2.262 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006816/0.8824, allocations: 261.1 kB / 0.5855 GB, free: 2.203 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.72e-05/0.8824, allocations: 12.11 kB / 0.5855 GB, free: 2.195 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.653e-05/0.8825, allocations: 34.14 kB / 0.5856 GB, free: 2.16 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002994/0.8828, allocations: 97.58 kB / 0.5857 GB, free: 2.137 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.8828, allocations: 0 / 0.5857 GB, free: 2.137 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.8828, allocations: 3.938 kB / 0.5857 GB, free: 2.133 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.8828, allocations: 5.031 kB / 0.5857 GB, free: 2.129 MB / 430.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.0006978/0.8835, allocations: 394.7 kB / 0.586 GB, free: 1.742 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.657e-05/0.8836, allocations: 10.06 kB / 0.5861 GB, free: 1.742 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.617e-05/0.8837, allocations: 36.61 kB / 0.5861 GB, free: 1.699 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001744/0.8839, allocations: 20.02 kB / 0.5861 GB, free: 1.688 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.8841, allocations: 179.2 kB / 0.5863 GB, free: 1.484 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.8841, allocations: 5.812 kB / 0.5863 GB, free: 1.48 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.83e-05/0.8841, allocations: 6.484 kB / 0.5863 GB, free: 1.477 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000267/0.8844, allocations: 63.36 kB / 0.5863 GB, free: 1.438 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/0.8844, allocations: 0 / 0.5863 GB, free: 1.438 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.8844, allocations: 0.6562 kB / 0.5863 GB, free: 1.438 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.8845, allocations: 0.7188 kB / 0.5864 GB, free: 1.438 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002863/0.8848, allocations: 60.39 kB / 0.5864 GB, free: 1.418 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006428/0.8854, allocations: 299.8 kB / 0.5867 GB, free: 1.125 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002279/0.8857, allocations: 57.5 kB / 0.5867 GB, free: 1.09 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.8857, allocations: 0.9375 kB / 0.5867 GB, free: 1.09 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.8857, allocations: 35.89 kB / 0.5868 GB, free: 1.047 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 2.846e-06/0.8858, allocations: 0.9062 kB / 0.5868 GB, free: 1.047 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006323/0.8864, allocations: 127.3 kB / 0.5869 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.8864, allocations: 51.41 kB / 0.587 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.8866, allocations: 132 kB / 0.5871 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.8866, allocations: 27.3 kB / 0.5871 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.911e-05/0.8867, allocations: 97.03 kB / 0.5872 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.598e-05/0.8867, allocations: 14.62 kB / 0.5872 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.396e-06/0.8868, allocations: 1 kB / 0.5872 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.445e-05/0.8869, allocations: 323.1 kB / 0.5875 GB, free: 364 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.887, allocations: 25.12 kB / 0.5875 GB, free: 360 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.8871, allocations: 24.09 kB / 0.5876 GB, free: 356 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.8873, allocations: 33.61 kB / 0.5876 GB, free: 344 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.8873, allocations: 0 / 0.5876 GB, free: 344 kB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003826/0.8877, allocations: 98.75 kB / 0.5877 GB, free: 292 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.8877, allocations: 9.328 kB / 0.5877 GB, free: 288 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.8878, allocations: 0 / 0.5877 GB, free: 288 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.8878, allocations: 1.891 kB / 0.5877 GB, free: 288 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000179/0.888, allocations: 19.36 kB / 0.5877 GB, free: 284 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.888, allocations: 5.469 kB / 0.5877 GB, free: 280 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.8881, allocations: 10.62 kB / 0.5877 GB, free: 276 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.8881, allocations: 1.766 kB / 0.5877 GB, free: 276 kB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.374e-05/0.8882, allocations: 115.1 kB / 0.5879 GB, free: 156 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.487e-05/0.8883, allocations: 3.125 kB / 0.5879 GB, free: 156 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004075/0.8887, allocations: 118.7 kB / 0.588 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-06/0.8888, allocations: 5.969 kB / 0.588 GB, free: 80 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.8888, allocations: 4.062 kB / 0.588 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.8888, allocations: 8.547 kB / 0.588 GB, free: 68 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003515/0.8892, allocations: 183.8 kB / 0.5882 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.155e-06/0.8892, allocations: 0 / 0.5882 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001487/0.8893, allocations: 20.02 kB / 0.5882 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.8894, allocations: 0.7188 kB / 0.5882 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.8894, allocations: 1.359 kB / 0.5882 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.8894, allocations: 1.297 kB / 0.5882 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.8894, allocations: 0.9375 kB / 0.5882 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004804/0.8899, allocations: 202.1 kB / 0.5884 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.089e-05/0.89, allocations: 83.95 kB / 0.5885 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.866e-05/0.89, allocations: 2.516 kB / 0.5885 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.8902, allocations: 10.41 kB / 0.5885 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.714e-05/0.8903, allocations: 4.344 kB / 0.5885 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.8903, allocations: 1.812 kB / 0.5885 GB, free: 15.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001005/0.8904, allocations: 102.3 kB / 0.5886 GB, free: 15.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.8904, allocations: 0.75 kB / 0.5886 GB, free: 15.52 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004542/0.8909, allocations: 30.39 kB / 0.5886 GB, free: 15.5 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009926/0.8919, allocations: 0.7443 MB / 0.5893 GB, free: 14.81 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003681/0.8923, allocations: 60.78 kB / 0.5894 GB, free: 14.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.8923, allocations: 0 / 0.5894 GB, free: 14.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001618/0.8925, allocations: 34.33 kB / 0.5894 GB, free: 14.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/0.8929, allocations: 19.03 kB / 0.5894 GB, free: 14.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.8939, allocations: 422.3 kB / 0.5898 GB, free: 14.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004212/0.8944, allocations: 0.6935 MB / 0.5905 GB, free: 13.72 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.693e-05/0.8945, allocations: 13.25 kB / 0.5905 GB, free: 13.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.704e-05/0.8946, allocations: 21.16 kB / 0.5906 GB, free: 13.7 MB / 446.1 MB Notification: Performance of SimCode: time 3.81e-07/0.8946, allocations: 0 / 0.5906 GB, free: 13.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2231/1.118, allocations: 1.985 MB / 0.5925 GB, free: 13.54 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003969/1.118, allocations: 182.8 kB / 0.5927 GB, free: 13.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.64/3.758, allocations: 4.969 kB / 0.5927 GB, free: 13.29 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) Environment - environmentSimulation: