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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 109.4 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8158/0.8158, allocations: 134 MB / 436.6 MB, free: 1.297 MB / 334.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 67.77 kB / 0.6051 GB, free: 15.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1604, allocations: 84.67 MB / 0.6878 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002868/0.1632, allocations: 1.595 MB / 0.6894 GB, free: 9.496 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001417/0.1646, allocations: 0.9044 MB / 0.6902 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.731e-05/0.1647, allocations: 4 kB / 0.6903 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.191e-05/0.1647, allocations: 3.938 kB / 0.6903 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001899/0.1649, allocations: 27.78 kB / 0.6903 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003346/0.1653, allocations: 143.5 kB / 0.6904 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001489/0.1654, allocations: 75.66 kB / 0.6905 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.303e-05/0.1655, allocations: 8 kB / 0.6905 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 8.238e-05/0.1656, allocations: 39.91 kB / 0.6905 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.1657, allocations: 39.78 kB / 0.6906 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.1657, allocations: 4 kB / 0.6906 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003835/0.1661, allocations: 283.6 kB / 0.6908 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.857e-05/0.1661, allocations: 11.92 kB / 0.6909 GB, free: 7.957 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.344e-05/0.1662, allocations: 31.81 kB / 0.6909 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002316/0.1664, allocations: 147.5 kB / 0.691 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1664, allocations: 0 / 0.691 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.332e-06/0.1664, allocations: 0 / 0.691 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.1664, allocations: 0 / 0.691 GB, free: 7.781 MB / 0.5137 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.0005507/0.167, allocations: 413.1 kB / 0.6914 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.167, allocations: 12.03 kB / 0.6914 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.707e-05/0.167, allocations: 38.73 kB / 0.6915 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.893e-05/0.1671, allocations: 8.891 kB / 0.6915 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002197/0.1674, allocations: 193.6 kB / 0.6917 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.1674, allocations: 8.125 kB / 0.6917 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/0.1674, allocations: 7.984 kB / 0.6917 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.1676, allocations: 65.61 kB / 0.6917 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.1676, allocations: 0 / 0.6917 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-06/0.1676, allocations: 0 / 0.6917 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1676, allocations: 0 / 0.6917 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000137/0.1677, allocations: 39.97 kB / 0.6918 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004187/0.1681, allocations: 304.8 kB / 0.6921 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/0.1683, allocations: 50.5 kB / 0.6921 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.827e-05/0.1684, allocations: 28.95 kB / 0.6921 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.1684, allocations: 4 kB / 0.6922 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.1684, allocations: 34.56 kB / 0.6922 GB, free: 6.43 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.1684, allocations: 4 kB / 0.6922 GB, free: 6.426 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5): time 0.0003398/0.1687, allocations: 101.8 kB / 0.6923 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.1688, allocations: 51.41 kB / 0.6923 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.1689, allocations: 136.3 kB / 0.6925 GB, free: 6.117 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.1689, allocations: 25.7 kB / 0.6925 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.635e-05/0.169, allocations: 104.1 kB / 0.6926 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/0.169, allocations: 19.84 kB / 0.6926 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.69e-05/0.169, allocations: 21.7 kB / 0.6926 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.1692, allocations: 318.8 kB / 0.6929 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.668e-05/0.1692, allocations: 23.98 kB / 0.693 GB, free: 5.59 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.625e-05/0.1693, allocations: 32.03 kB / 0.693 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.1694, allocations: 44.84 kB / 0.693 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1694, allocations: 4 kB / 0.693 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002102/0.1697, allocations: 93.61 kB / 0.6931 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.1697, allocations: 4 kB / 0.6931 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.1697, allocations: 0 / 0.6931 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.1697, allocations: 3.938 kB / 0.6931 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.1698, allocations: 23.92 kB / 0.6932 GB, free: 5.379 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.197e-06/0.1698, allocations: 0 / 0.6932 GB, free: 5.379 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.464e-05/0.1699, allocations: 11.92 kB / 0.6932 GB, free: 5.367 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.1699, allocations: 0 / 0.6932 GB, free: 5.367 MB / 0.5137 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.54e-05/0.17, allocations: 117.8 kB / 0.6933 GB, free: 5.242 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.326e-05/0.17, allocations: 11.94 kB / 0.6933 GB, free: 5.23 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002368/0.1702, allocations: 93.95 kB / 0.6934 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.1702, allocations: 4 kB / 0.6934 GB, free: 5.125 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.1702, allocations: 0 / 0.6934 GB, free: 5.125 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.1703, allocations: 3.938 kB / 0.6934 GB, free: 5.121 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001928/0.1704, allocations: 181.6 kB / 0.6936 GB, free: 4.895 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1704, allocations: 4 kB / 0.6936 GB, free: 4.891 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.929e-05/0.1705, allocations: 20.17 kB / 0.6936 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1705, allocations: 0 / 0.6936 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.1706, allocations: 11.94 kB / 0.6936 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1706, allocations: 0 / 0.6936 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1706, allocations: 4 kB / 0.6936 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002508/0.1708, allocations: 183.4 kB / 0.6938 GB, free: 4.66 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.944e-05/0.1709, allocations: 93 kB / 0.6939 GB, free: 4.551 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.1709, allocations: 4 kB / 0.6939 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.497e-05/0.171, allocations: 3.984 kB / 0.6939 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.201e-05/0.1711, allocations: 7.938 kB / 0.6939 GB, free: 4.535 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.1711, allocations: 3.984 kB / 0.6939 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.543e-05/0.1711, allocations: 103.3 kB / 0.694 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6e-08/0.1711, allocations: 0 / 0.694 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002366/0.1714, allocations: 16 kB / 0.694 GB, free: 4.414 MB / 0.5137 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.0006275/0.172, allocations: 0.7358 MB / 0.6947 GB, free: 3.652 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002012/0.1722, allocations: 55.89 kB / 0.6948 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1722, allocations: 0 / 0.6948 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8e-05/0.1723, allocations: 31.98 kB / 0.6948 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/0.1725, allocations: 19.92 kB / 0.6948 GB, free: 3.547 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00165/0.1742, allocations: 1.452 MB / 0.6962 GB, free: 2.016 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.1745, allocations: 0.6924 MB / 0.6969 GB, free: 1.297 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.525e-05/0.1746, allocations: 12 kB / 0.6969 GB, free: 1.285 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.297e-05/0.1746, allocations: 27.42 kB / 0.6969 GB, free: 1.258 MB / 0.5137 GB Notification: Performance of SimCode: time 3.11e-07/0.1746, allocations: 0 / 0.6969 GB, free: 1.258 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.025/0.1996, allocations: 2.296 MB / 0.6992 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.798/7.998, allocations: 16.73 kB / 0.6992 GB, free: 15.09 MB / 0.5294 GB " [Timeout remaining time 652] (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 --stepSize=0.006 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.389270961284637] Failed to read output from testmodel.py, exit status != 0: 8.063798474147916 8.083979592 7.913878898 Calling exit ...