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.001015/0.001015, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0009998/0.0009998, allocations: 190.5 kB / 16.25 MB, free: 6.637 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.258/1.258, allocations: 222.9 MB / 239.9 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.729/0.729, allocations: 132.2 MB / 422.3 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 56.56 kB / 0.5014 GB, free: 8.988 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1302, allocations: 80.2 MB / 0.5797 GB, free: 9.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.00241/0.1327, allocations: 1.636 MB / 0.5813 GB, free: 7.355 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.1338, allocations: 0.8969 MB / 0.5822 GB, free: 6.453 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.459e-05/0.1339, allocations: 3.938 kB / 0.5822 GB, free: 6.449 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.87e-05/0.134, allocations: 0 / 0.5822 GB, free: 6.449 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001653/0.1341, allocations: 23.78 kB / 0.5822 GB, free: 6.426 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002852/0.1344, allocations: 128.5 kB / 0.5823 GB, free: 6.301 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.1345, allocations: 75.72 kB / 0.5824 GB, free: 6.227 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.124e-05/0.1346, allocations: 12 kB / 0.5824 GB, free: 6.215 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.909e-05/0.1347, allocations: 31.84 kB / 0.5824 GB, free: 6.184 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.304e-05/0.1348, allocations: 35.84 kB / 0.5825 GB, free: 6.148 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.1348, allocations: 8 kB / 0.5825 GB, free: 6.141 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003164/0.1351, allocations: 291.6 kB / 0.5827 GB, free: 5.855 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.39e-05/0.1352, allocations: 4 kB / 0.5827 GB, free: 5.852 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.446e-05/0.1352, allocations: 31.8 kB / 0.5828 GB, free: 5.82 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001874/0.1354, allocations: 151.9 kB / 0.5829 GB, free: 5.672 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.1354, allocations: 0 / 0.5829 GB, free: 5.672 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1354, allocations: 0 / 0.5829 GB, free: 5.672 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.1354, allocations: 0 / 0.5829 GB, free: 5.672 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.0004571/0.1359, allocations: 415 kB / 0.5833 GB, free: 5.219 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.977e-05/0.1359, allocations: 12.03 kB / 0.5833 GB, free: 5.207 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.891e-05/0.136, allocations: 38.75 kB / 0.5834 GB, free: 5.16 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.214e-05/0.1361, allocations: 8.844 kB / 0.5834 GB, free: 5.152 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.1362, allocations: 188.1 kB / 0.5835 GB, free: 4.93 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.1362, allocations: 4.375 kB / 0.5836 GB, free: 4.926 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.1362, allocations: 7.938 kB / 0.5836 GB, free: 4.918 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.1364, allocations: 57.67 kB / 0.5836 GB, free: 4.855 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/0.1364, allocations: 3.938 kB / 0.5836 GB, free: 4.852 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.1364, allocations: 0 / 0.5836 GB, free: 4.852 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.096e-06/0.1364, allocations: 4 kB / 0.5836 GB, free: 4.848 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001325/0.1366, allocations: 43.95 kB / 0.5837 GB, free: 4.805 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003752/0.1369, allocations: 296.8 kB / 0.5839 GB, free: 4.465 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.1371, allocations: 58.55 kB / 0.584 GB, free: 4.398 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.24e-05/0.1372, allocations: 24.97 kB / 0.584 GB, free: 4.371 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.1372, allocations: 7.938 kB / 0.584 GB, free: 4.363 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.526e-05/0.1372, allocations: 34.56 kB / 0.5841 GB, free: 4.32 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.1372, allocations: 0 / 0.5841 GB, free: 4.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003104/0.1375, allocations: 109.7 kB / 0.5842 GB, free: 4.207 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.451e-05/0.1376, allocations: 51.41 kB / 0.5842 GB, free: 4.145 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.936e-05/0.1377, allocations: 132.3 kB / 0.5843 GB, free: 4.008 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.1377, allocations: 29.64 kB / 0.5844 GB, free: 3.973 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.006e-05/0.1377, allocations: 92.14 kB / 0.5845 GB, free: 3.879 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.015e-05/0.1377, allocations: 27.64 kB / 0.5845 GB, free: 3.852 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.653e-05/0.1378, allocations: 13.72 kB / 0.5845 GB, free: 3.832 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.043e-05/0.1379, allocations: 322.8 kB / 0.5848 GB, free: 3.508 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.629e-05/0.138, allocations: 31.98 kB / 0.5848 GB, free: 3.477 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.408e-05/0.138, allocations: 27.98 kB / 0.5849 GB, free: 3.449 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.1382, allocations: 52.83 kB / 0.5849 GB, free: 3.395 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1382, allocations: 0 / 0.5849 GB, free: 3.395 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001982/0.1384, allocations: 85.58 kB / 0.585 GB, free: 3.305 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.1384, allocations: 4 kB / 0.585 GB, free: 3.301 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1384, allocations: 7.984 kB / 0.585 GB, free: 3.293 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.1384, allocations: 3.984 kB / 0.585 GB, free: 3.289 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.1385, allocations: 12 kB / 0.585 GB, free: 3.277 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.1386, allocations: 7.922 kB / 0.585 GB, free: 3.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.515e-05/0.1386, allocations: 15.88 kB / 0.585 GB, free: 3.254 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.1386, allocations: 0 / 0.585 GB, free: 3.254 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.673e-05/0.1387, allocations: 113.8 kB / 0.5852 GB, free: 3.133 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.922e-05/0.1388, allocations: 7.906 kB / 0.5852 GB, free: 3.125 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002265/0.139, allocations: 97.95 kB / 0.5853 GB, free: 3.02 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.139, allocations: 4 kB / 0.5853 GB, free: 3.016 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.139, allocations: 0 / 0.5853 GB, free: 3.016 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.139, allocations: 3.938 kB / 0.5853 GB, free: 3.012 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001612/0.1392, allocations: 177.6 kB / 0.5854 GB, free: 2.789 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1392, allocations: 0 / 0.5854 GB, free: 2.789 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.866e-05/0.1393, allocations: 20.17 kB / 0.5855 GB, free: 2.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1393, allocations: 0 / 0.5855 GB, free: 2.77 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.1393, allocations: 11.98 kB / 0.5855 GB, free: 2.758 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.1393, allocations: 8 kB / 0.5855 GB, free: 2.75 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1393, allocations: 0 / 0.5855 GB, free: 2.75 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002275/0.1396, allocations: 179.4 kB / 0.5856 GB, free: 2.559 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.124e-05/0.1396, allocations: 89 kB / 0.5857 GB, free: 2.453 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.1396, allocations: 4 kB / 0.5857 GB, free: 2.449 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.619e-05/0.1397, allocations: 4 kB / 0.5857 GB, free: 2.445 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.327e-05/0.1398, allocations: 7.984 kB / 0.5857 GB, free: 2.438 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.1398, allocations: 7.938 kB / 0.5858 GB, free: 2.43 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.548e-05/0.1398, allocations: 99.27 kB / 0.5858 GB, free: 2.332 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1398, allocations: 0 / 0.5858 GB, free: 2.332 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002303/0.1401, allocations: 19.94 kB / 0.5859 GB, free: 2.312 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.000505/0.1406, allocations: 0.7397 MB / 0.5866 GB, free: 1.543 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001862/0.1408, allocations: 59.84 kB / 0.5866 GB, free: 1.484 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1408, allocations: 0 / 0.5866 GB, free: 1.484 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.093e-05/0.1409, allocations: 27.98 kB / 0.5867 GB, free: 1.457 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/0.1412, allocations: 16.44 kB / 0.5867 GB, free: 1.441 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.1426, allocations: 1.469 MB / 0.5881 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001979/0.1428, allocations: 0.6963 MB / 0.5888 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.98e-05/0.1428, allocations: 11.81 kB / 0.5888 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.558e-05/0.1429, allocations: 27.36 kB / 0.5888 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1429, allocations: 0 / 0.5888 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7745/0.9174, allocations: 2.128 MB / 0.5909 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001977/0.9176, allocations: 202.4 kB / 0.5911 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.577/2.495, allocations: 2.25 kB / 0.5911 GB, free: 12.93 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)