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.0007948/0.000795, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.0008112/0.0008112, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 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: 223.2 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.696/0.696, allocations: 132.3 MB / 423.4 MB, free: 2.094 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003389/0.0003389, allocations: 12.91 kB / 0.5035 GB, free: 4.164 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3708/0.3711, allocations: 81.57 MB / 0.5832 GB, free: 3.875 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.001493/0.3727, allocations: 1.271 MB / 0.5844 GB, free: 2.953 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.3739, allocations: 0.8495 MB / 0.5852 GB, free: 2.367 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.679e-05/0.374, allocations: 0.875 kB / 0.5852 GB, free: 2.367 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.933e-05/0.374, allocations: 5.625 kB / 0.5852 GB, free: 2.363 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001735/0.3742, allocations: 23.2 kB / 0.5853 GB, free: 2.348 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000335/0.3745, allocations: 94.02 kB / 0.5853 GB, free: 2.309 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001249/0.3746, allocations: 68.25 kB / 0.5854 GB, free: 2.273 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.312e-05/0.3747, allocations: 7.234 kB / 0.5854 GB, free: 2.273 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.337e-05/0.3748, allocations: 30.69 kB / 0.5854 GB, free: 2.262 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.3749, allocations: 30.58 kB / 0.5855 GB, free: 2.25 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.375, allocations: 6.562 kB / 0.5855 GB, free: 2.246 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004301/0.3754, allocations: 275 kB / 0.5857 GB, free: 2.18 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.621e-05/0.3754, allocations: 7.469 kB / 0.5858 GB, free: 2.176 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.189e-05/0.3754, allocations: 38.28 kB / 0.5858 GB, free: 2.137 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001779/0.3756, allocations: 97.73 kB / 0.5859 GB, free: 2.113 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.3756, allocations: 0 / 0.5859 GB, free: 2.113 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3756, allocations: 1.031 kB / 0.5859 GB, free: 2.113 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.3756, allocations: 0 / 0.5859 GB, free: 2.113 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.000437/0.3761, allocations: 408.1 kB / 0.5863 GB, free: 1.715 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.3761, allocations: 9.781 kB / 0.5863 GB, free: 1.715 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.683e-05/0.3762, allocations: 36.12 kB / 0.5863 GB, free: 1.672 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/0.3763, allocations: 15.45 kB / 0.5863 GB, free: 1.664 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.3764, allocations: 186.2 kB / 0.5865 GB, free: 1.457 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-06/0.3764, allocations: 1.75 kB / 0.5865 GB, free: 1.457 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.3764, allocations: 3.969 kB / 0.5865 GB, free: 1.457 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.3766, allocations: 66.05 kB / 0.5866 GB, free: 1.414 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.3766, allocations: 0 / 0.5866 GB, free: 1.414 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.3766, allocations: 5.422 kB / 0.5866 GB, free: 1.41 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.3767, allocations: 8.875 kB / 0.5866 GB, free: 1.402 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001456/0.3768, allocations: 51.66 kB / 0.5866 GB, free: 1.391 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003489/0.3772, allocations: 299.5 kB / 0.5869 GB, free: 1.098 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.3773, allocations: 62.45 kB / 0.587 GB, free: 1.059 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.695e-05/0.3774, allocations: 38.48 kB / 0.587 GB, free: 1.039 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.3774, allocations: 0.6875 kB / 0.587 GB, free: 1.039 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.197e-05/0.3774, allocations: 36.16 kB / 0.5871 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.3774, allocations: 0 / 0.5871 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003281/0.3778, allocations: 123.5 kB / 0.5872 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.303e-05/0.3778, allocations: 56.67 kB / 0.5872 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.816e-05/0.3779, allocations: 126.2 kB / 0.5873 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.225e-06/0.3779, allocations: 25.7 kB / 0.5874 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.607e-05/0.3779, allocations: 101.9 kB / 0.5875 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.659e-05/0.378, allocations: 11.2 kB / 0.5875 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-06/0.378, allocations: 0 / 0.5875 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.138e-05/0.378, allocations: 323 kB / 0.5878 GB, free: 316 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.412e-05/0.3781, allocations: 25.67 kB / 0.5878 GB, free: 312 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.243e-05/0.3782, allocations: 32.12 kB / 0.5878 GB, free: 300 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.587e-05/0.3783, allocations: 29.39 kB / 0.5879 GB, free: 292 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3783, allocations: 0 / 0.5879 GB, free: 292 kB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002013/0.3785, allocations: 98.88 kB / 0.588 GB, free: 240 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.3785, allocations: 8.531 kB / 0.588 GB, free: 240 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3785, allocations: 0 / 0.588 GB, free: 240 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.3785, allocations: 6.047 kB / 0.588 GB, free: 236 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.3786, allocations: 18.36 kB / 0.588 GB, free: 232 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.3787, allocations: 4.703 kB / 0.588 GB, free: 228 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.961e-05/0.3787, allocations: 12.02 kB / 0.588 GB, free: 224 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.3787, allocations: 1.984 kB / 0.588 GB, free: 224 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 5.474e-05/0.3788, allocations: 120.8 kB / 0.5881 GB, free: 96 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.99e-05/0.3788, allocations: 4.688 kB / 0.5881 GB, free: 96 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002242/0.3791, allocations: 114.2 kB / 0.5882 GB, free: 28 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.3791, allocations: 4.766 kB / 0.5882 GB, free: 24 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.3791, allocations: 0 / 0.5882 GB, free: 24 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.3791, allocations: 1.234 kB / 0.5883 GB, free: 24 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002018/0.3793, allocations: 183.8 kB / 0.5884 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3793, allocations: 1 kB / 0.5884 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.903e-05/0.3794, allocations: 28.25 kB / 0.5885 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.3794, allocations: 0.7969 kB / 0.5885 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.3794, allocations: 1.375 kB / 0.5885 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.3794, allocations: 1.031 kB / 0.5885 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.3795, allocations: 3.953 kB / 0.5885 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002544/0.3797, allocations: 199.2 kB / 0.5887 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.786e-05/0.3798, allocations: 87.77 kB / 0.5887 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.3798, allocations: 2.125 kB / 0.5887 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.099e-05/0.3799, allocations: 5.938 kB / 0.5887 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.66e-05/0.3799, allocations: 5.562 kB / 0.5887 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.3799, allocations: 5.078 kB / 0.5888 GB, free: 15.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.789e-05/0.38, allocations: 101.3 kB / 0.5888 GB, free: 15.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.38, allocations: 0 / 0.5888 GB, free: 15.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002355/0.3802, allocations: 22.44 kB / 0.5889 GB, free: 15.46 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.0005492/0.3808, allocations: 0.7388 MB / 0.5896 GB, free: 14.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001924/0.381, allocations: 62.81 kB / 0.5897 GB, free: 14.76 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.381, allocations: 0 / 0.5897 GB, free: 14.76 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.575e-05/0.3811, allocations: 34.64 kB / 0.5897 GB, free: 14.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/0.3814, allocations: 14.67 kB / 0.5897 GB, free: 14.74 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.3824, allocations: 0.6029 MB / 0.5903 GB, free: 14.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002548/0.3827, allocations: 0.6897 MB / 0.591 GB, free: 13.62 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.381e-05/0.3828, allocations: 9.172 kB / 0.591 GB, free: 13.62 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.916e-05/0.3828, allocations: 25.75 kB / 0.591 GB, free: 13.61 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3828, allocations: 0 / 0.591 GB, free: 13.61 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.095/1.478, allocations: 2.002 MB / 0.5929 GB, free: 13.45 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001689/1.478, allocations: 192.5 kB / 0.5931 GB, free: 13.21 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.112/3.59, allocations: 3.938 kB / 0.5931 GB, free: 13.2 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: