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.001131/0.001131, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002187/0.002187, allocations: 193.6 kB / 16.14 MB, free: 6.707 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.194/1.194, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6634/0.6634, allocations: 132.2 MB / 422.1 MB, free: 2.004 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001048/0.001048, allocations: 62.56 kB / 0.5012 GB, free: 9.09 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1197, allocations: 80.21 MB / 0.5795 GB, free: 9.098 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.00216/0.1219, allocations: 1.629 MB / 0.5811 GB, free: 7.453 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001129/0.1231, allocations: 0.9241 MB / 0.582 GB, free: 6.523 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.193e-05/0.1231, allocations: 0 / 0.582 GB, free: 6.523 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.448e-05/0.1231, allocations: 0 / 0.582 GB, free: 6.523 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001448/0.1233, allocations: 35.78 kB / 0.582 GB, free: 6.488 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002227/0.1235, allocations: 102.8 kB / 0.5821 GB, free: 6.391 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.809e-05/0.1236, allocations: 71.66 kB / 0.5822 GB, free: 6.32 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.174e-05/0.1237, allocations: 15.98 kB / 0.5822 GB, free: 6.305 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.938e-05/0.1238, allocations: 27.92 kB / 0.5822 GB, free: 6.277 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.493e-05/0.1239, allocations: 43.77 kB / 0.5823 GB, free: 6.234 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.1239, allocations: 4 kB / 0.5823 GB, free: 6.23 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003105/0.1242, allocations: 271.7 kB / 0.5826 GB, free: 5.965 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.675e-05/0.1243, allocations: 11.92 kB / 0.5826 GB, free: 5.953 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.506e-05/0.1243, allocations: 27.86 kB / 0.5826 GB, free: 5.926 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001774/0.1245, allocations: 147.8 kB / 0.5827 GB, free: 5.781 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.1245, allocations: 0 / 0.5827 GB, free: 5.781 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.31e-07/0.1245, allocations: 0 / 0.5827 GB, free: 5.781 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.1245, allocations: 4 kB / 0.5827 GB, free: 5.777 MB / 494.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.0004527/0.125, allocations: 411.2 kB / 0.5831 GB, free: 5.328 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.063e-05/0.125, allocations: 8.031 kB / 0.5831 GB, free: 5.32 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.786e-05/0.125, allocations: 34.75 kB / 0.5832 GB, free: 5.277 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.338e-05/0.1251, allocations: 8.844 kB / 0.5832 GB, free: 5.27 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.1253, allocations: 196.1 kB / 0.5834 GB, free: 5.039 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.673e-06/0.1253, allocations: 384 / 0.5834 GB, free: 5.039 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.1253, allocations: 11.94 kB / 0.5834 GB, free: 5.027 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.1254, allocations: 65.59 kB / 0.5834 GB, free: 4.957 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.2e-06/0.1255, allocations: 0 / 0.5834 GB, free: 4.957 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.1255, allocations: 4 kB / 0.5834 GB, free: 4.953 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.1255, allocations: 4 kB / 0.5834 GB, free: 4.949 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.1256, allocations: 39.97 kB / 0.5835 GB, free: 4.91 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003489/0.126, allocations: 292.8 kB / 0.5838 GB, free: 4.574 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.1261, allocations: 58.55 kB / 0.5838 GB, free: 4.508 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.336e-05/0.1262, allocations: 32.91 kB / 0.5838 GB, free: 4.473 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/0.1262, allocations: 4 kB / 0.5839 GB, free: 4.469 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.688e-05/0.1262, allocations: 34.56 kB / 0.5839 GB, free: 4.426 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 2.053e-06/0.1262, allocations: 3.984 kB / 0.5839 GB, free: 4.422 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003022/0.1265, allocations: 101.6 kB / 0.584 GB, free: 4.316 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.617e-05/0.1266, allocations: 55.41 kB / 0.584 GB, free: 4.25 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.903e-05/0.1267, allocations: 128.2 kB / 0.5842 GB, free: 4.117 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.1267, allocations: 29.7 kB / 0.5842 GB, free: 4.082 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.238e-05/0.1267, allocations: 96.12 kB / 0.5843 GB, free: 3.984 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.951e-05/0.1268, allocations: 27.72 kB / 0.5843 GB, free: 3.957 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/0.1268, allocations: 21.7 kB / 0.5843 GB, free: 3.93 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.087e-05/0.1269, allocations: 322.8 kB / 0.5846 GB, free: 3.605 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.497e-05/0.127, allocations: 27.91 kB / 0.5847 GB, free: 3.578 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.433e-05/0.127, allocations: 23.92 kB / 0.5847 GB, free: 3.555 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.1272, allocations: 56.83 kB / 0.5847 GB, free: 3.496 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1272, allocations: 7.938 kB / 0.5847 GB, free: 3.488 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001883/0.1274, allocations: 85.58 kB / 0.5848 GB, free: 3.398 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.1274, allocations: 4 kB / 0.5848 GB, free: 3.395 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.1274, allocations: 0 / 0.5848 GB, free: 3.395 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.574e-06/0.1274, allocations: 0 / 0.5848 GB, free: 3.395 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.1275, allocations: 19.92 kB / 0.5849 GB, free: 3.375 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.1275, allocations: 0 / 0.5849 GB, free: 3.375 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.061e-05/0.1276, allocations: 11.92 kB / 0.5849 GB, free: 3.363 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.1276, allocations: 4 kB / 0.5849 GB, free: 3.359 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.295e-05/0.1277, allocations: 113.8 kB / 0.585 GB, free: 3.238 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.844e-05/0.1277, allocations: 7.906 kB / 0.585 GB, free: 3.23 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002188/0.128, allocations: 102.4 kB / 0.5851 GB, free: 3.121 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.128, allocations: 0 / 0.5851 GB, free: 3.121 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.128, allocations: 64 / 0.5851 GB, free: 3.121 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.128, allocations: 7.938 kB / 0.5851 GB, free: 3.113 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.1281, allocations: 181.6 kB / 0.5853 GB, free: 2.887 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1281, allocations: 0 / 0.5853 GB, free: 2.887 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.481e-05/0.1282, allocations: 19.92 kB / 0.5853 GB, free: 2.867 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1282, allocations: 0 / 0.5853 GB, free: 2.867 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.343e-06/0.1283, allocations: 0 / 0.5853 GB, free: 2.867 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1283, allocations: 4 kB / 0.5853 GB, free: 2.863 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1283, allocations: 0 / 0.5853 GB, free: 2.863 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002177/0.1285, allocations: 191.4 kB / 0.5855 GB, free: 2.66 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.254e-05/0.1285, allocations: 85.02 kB / 0.5855 GB, free: 2.559 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.1285, allocations: 0 / 0.5855 GB, free: 2.559 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.446e-05/0.1286, allocations: 7.984 kB / 0.5856 GB, free: 2.551 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.154e-05/0.1287, allocations: 4 kB / 0.5856 GB, free: 2.547 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.1287, allocations: 11.92 kB / 0.5856 GB, free: 2.535 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.614e-05/0.1287, allocations: 97.14 kB / 0.5857 GB, free: 2.441 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1287, allocations: 0 / 0.5857 GB, free: 2.441 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002207/0.129, allocations: 24 kB / 0.5857 GB, free: 2.418 MB / 494.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 (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.0004633/0.1294, allocations: 0.728 MB / 0.5864 GB, free: 1.66 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001736/0.1296, allocations: 55.95 kB / 0.5865 GB, free: 1.605 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.1296, allocations: 3.938 kB / 0.5865 GB, free: 1.602 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.216e-05/0.1297, allocations: 35.92 kB / 0.5865 GB, free: 1.566 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.13, allocations: 19.86 kB / 0.5865 GB, free: 1.547 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.1313, allocations: 1.47 MB / 0.5879 GB, free: 4 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001881/0.1315, allocations: 0.6926 MB / 0.5886 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.714e-05/0.1315, allocations: 15.73 kB / 0.5886 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.18e-05/0.1316, allocations: 19.44 kB / 0.5887 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1316, allocations: 4 kB / 0.5887 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.328/0.4596, allocations: 2.081 MB / 0.5907 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003172/0.4599, allocations: 210.3 kB / 0.5909 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.658/2.118, allocations: 0 / 0.5909 GB, free: 13.05 MB / 0.4981 GB (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/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)