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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0006582/0.0006582, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007298/0.0007298, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8561/0.8561, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7071/0.7071, allocations: 154.6 MB / 414.5 MB, free: 0.7891 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.379e-05/2.544e-05, allocations: 5.234 kB / 0.6194 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002053/0.002078, allocations: 1.581 MB / 0.6209 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001104/0.003182, allocations: 0.927 MB / 0.6218 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.268e-05/0.003244, allocations: 7.938 kB / 0.6218 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0002059/0.00345, allocations: 7.922 kB / 0.6218 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002041/0.003654, allocations: 23.8 kB / 0.6218 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002703/0.003925, allocations: 163.4 kB / 0.622 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001377/0.004062, allocations: 83.59 kB / 0.6221 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.677e-05/0.004159, allocations: 11.92 kB / 0.6221 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.004291, allocations: 51.83 kB / 0.6221 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.562e-05/0.004367, allocations: 35.83 kB / 0.6222 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.004385, allocations: 4 kB / 0.6222 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002609/0.004646, allocations: 271.6 kB / 0.6224 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.685e-05/0.004663, allocations: 11.98 kB / 0.6224 GB, free: 9.965 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.659e-05/0.00469, allocations: 23.91 kB / 0.6225 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002201/0.00491, allocations: 183.5 kB / 0.6226 GB, free: 9.762 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.004912, allocations: 0 / 0.6226 GB, free: 9.762 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.052e-06/0.004913, allocations: 0 / 0.6226 GB, free: 9.762 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.004917, allocations: 4 kB / 0.6226 GB, free: 9.758 MB / 0.5886 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.0004357/0.005353, allocations: 333.7 kB / 0.623 GB, free: 9.402 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.005396, allocations: 8.031 kB / 0.623 GB, free: 9.395 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001628/0.005558, allocations: 40.8 kB / 0.623 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/0.005724, allocations: 133.6 kB / 0.6231 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.005736, allocations: 8.375 kB / 0.6231 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.005747, allocations: 4.312 kB / 0.6231 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.005878, allocations: 62.23 kB / 0.6232 GB, free: 9.121 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.005885, allocations: 192 / 0.6232 GB, free: 9.121 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.005895, allocations: 384 / 0.6232 GB, free: 9.121 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.005901, allocations: 11.92 kB / 0.6232 GB, free: 9.109 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.786e-05/0.005989, allocations: 39.97 kB / 0.6233 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003091/0.006298, allocations: 240.5 kB / 0.6235 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.508e-05/0.006393, allocations: 50.5 kB / 0.6235 GB, free: 8.746 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.429e-05/0.006437, allocations: 28.97 kB / 0.6236 GB, free: 8.715 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.006451, allocations: 0 / 0.6236 GB, free: 8.715 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.00647, allocations: 42.5 kB / 0.6236 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.006472, allocations: 0 / 0.6236 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5): time 0.0002384/0.00671, allocations: 105.6 kB / 0.6237 GB, free: 8.555 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.00674, allocations: 55.34 kB / 0.6238 GB, free: 8.488 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.968e-05/0.00682, allocations: 137.1 kB / 0.6239 GB, free: 8.344 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.979e-06/0.00683, allocations: 25.7 kB / 0.6239 GB, free: 8.312 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.801e-05/0.006878, allocations: 100.1 kB / 0.624 GB, free: 8.211 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.843e-05/0.006897, allocations: 23.8 kB / 0.624 GB, free: 8.188 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.731e-05/0.006924, allocations: 21.72 kB / 0.6241 GB, free: 8.16 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.797e-05/0.007002, allocations: 318.8 kB / 0.6244 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.864e-05/0.00705, allocations: 23.98 kB / 0.6244 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.804e-05/0.007089, allocations: 19.98 kB / 0.6244 GB, free: 7.797 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.617e-05/0.007175, allocations: 53.2 kB / 0.6244 GB, free: 7.742 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.007178, allocations: 4 kB / 0.6245 GB, free: 7.738 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001333/0.007311, allocations: 97.55 kB / 0.6245 GB, free: 7.637 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.007323, allocations: 8 kB / 0.6246 GB, free: 7.629 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.007328, allocations: 3.938 kB / 0.6246 GB, free: 7.625 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.00734, allocations: 0 / 0.6246 GB, free: 7.625 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.001e-05/0.00741, allocations: 19.92 kB / 0.6246 GB, free: 7.605 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.88e-06/0.007414, allocations: 0 / 0.6246 GB, free: 7.605 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.616e-05/0.007441, allocations: 4 kB / 0.6246 GB, free: 7.602 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.007447, allocations: 3.984 kB / 0.6246 GB, free: 7.598 MB / 0.5886 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 5.8e-05/0.007505, allocations: 114.8 kB / 0.6247 GB, free: 7.477 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.246e-05/0.007528, allocations: 15.83 kB / 0.6247 GB, free: 7.461 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001626/0.00769, allocations: 110.1 kB / 0.6248 GB, free: 7.348 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-06/0.007692, allocations: 0 / 0.6248 GB, free: 7.348 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.007696, allocations: 0 / 0.6248 GB, free: 7.348 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.706e-06/0.007699, allocations: 3.938 kB / 0.6248 GB, free: 7.344 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.589e-05/0.007795, allocations: 121.3 kB / 0.6249 GB, free: 7.195 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.007796, allocations: 0 / 0.6249 GB, free: 7.195 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.537e-05/0.007831, allocations: 11.98 kB / 0.6249 GB, free: 7.184 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.007835, allocations: 4 kB / 0.6249 GB, free: 7.18 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.007844, allocations: 3.938 kB / 0.625 GB, free: 7.176 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.007845, allocations: 7.984 kB / 0.625 GB, free: 7.168 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.007846, allocations: 0 / 0.625 GB, free: 7.168 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001466/0.007993, allocations: 183.7 kB / 0.6251 GB, free: 6.973 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.187e-06/0.008002, allocations: 11.84 kB / 0.6251 GB, free: 6.961 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.008019, allocations: 15.92 kB / 0.6252 GB, free: 6.945 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.789e-05/0.008057, allocations: 4 kB / 0.6252 GB, free: 6.941 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.863e-05/0.008096, allocations: 7.984 kB / 0.6252 GB, free: 6.934 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.008098, allocations: 0 / 0.6252 GB, free: 6.934 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.329e-05/0.008142, allocations: 110 kB / 0.6253 GB, free: 6.828 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8e-08/0.008142, allocations: 4 kB / 0.6253 GB, free: 6.824 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001671/0.008309, allocations: 20 kB / 0.6253 GB, free: 6.805 MB / 0.5886 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.0001386/0.008448, allocations: 119.2 kB / 0.6254 GB, free: 6.676 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001312/0.008579, allocations: 47.97 kB / 0.6255 GB, free: 6.629 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.00858, allocations: 0 / 0.6255 GB, free: 6.629 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.445e-05/0.008625, allocations: 35.91 kB / 0.6255 GB, free: 6.594 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001984/0.008823, allocations: 12 kB / 0.6255 GB, free: 6.582 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000323/0.009146, allocations: 203.2 kB / 0.6257 GB, free: 6.348 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.112e-05/0.009197, allocations: 75.33 kB / 0.6258 GB, free: 6.254 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.082e-05/0.009228, allocations: 16.5 kB / 0.6258 GB, free: 6.238 MB / 0.5886 GB Notification: Performance of SimCode: time 5.21e-07/0.009229, allocations: 0 / 0.6258 GB, free: 6.238 MB / 0.5886 GB Notification: Performance of Templates: time 0.001954/0.01118, allocations: 1.197 MB / 0.627 GB, free: 5.047 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.119246042333543] Failed to read output from testmodel.py, exit status != 0: 0.016039256006479263 0.024016711000000003 0.017455916000000002 Calling exit ...