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.001311/0.001311, allocations: 83.11 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001451/0.001451, allocations: 161.8 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.417/1.417, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] 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 1.217/1.217, allocations: 154.6 MB / 413.8 MB, free: 5.23 MB / 382.1 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 178] 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.633e-06/1.633e-06, allocations: 3.938 kB / 0.6186 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.714e-05/2.877e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002891/0.00292, allocations: 1.593 MB / 0.6201 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001773/0.004692, allocations: 0.9154 MB / 0.621 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.573e-05/0.004788, allocations: 7.938 kB / 0.6211 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.973e-05/0.004828, allocations: 7.938 kB / 0.6211 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002199/0.005048, allocations: 23.78 kB / 0.6211 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005176/0.005565, allocations: 166.2 kB / 0.6212 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001896/0.005755, allocations: 83.64 kB / 0.6213 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.437e-05/0.005849, allocations: 7.938 kB / 0.6213 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001958/0.006045, allocations: 55.83 kB / 0.6214 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.006149, allocations: 27.91 kB / 0.6214 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.006173, allocations: 4 kB / 0.6214 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004682/0.006642, allocations: 275.6 kB / 0.6217 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.395e-05/0.006666, allocations: 15.92 kB / 0.6217 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.032e-05/0.006706, allocations: 15.98 kB / 0.6217 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003552/0.007061, allocations: 183.5 kB / 0.6219 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.007067, allocations: 3.984 kB / 0.6219 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.152e-06/0.007068, allocations: 4 kB / 0.6219 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.007072, allocations: 0 / 0.6219 GB, free: 1.195 MB / 0.5294 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.0006373/0.00771, allocations: 341.7 kB / 0.6222 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.007748, allocations: 8.031 kB / 0.6222 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002964/0.008045, allocations: 32.86 kB / 0.6223 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002584/0.008303, allocations: 137.5 kB / 0.6224 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.008318, allocations: 8.375 kB / 0.6224 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.008334, allocations: 384 / 0.6224 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.00853, allocations: 66.23 kB / 0.6225 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.008544, allocations: 4.188 kB / 0.6225 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.008556, allocations: 384 / 0.6225 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.008563, allocations: 3.938 kB / 0.6225 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001636/0.008727, allocations: 39.97 kB / 0.6225 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004585/0.009186, allocations: 248.4 kB / 0.6227 GB, free: 240 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.009349, allocations: 54.55 kB / 0.6228 GB, free: 176 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.919e-05/0.009438, allocations: 24.97 kB / 0.6228 GB, free: 148 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.009459, allocations: 4 kB / 0.6228 GB, free: 144 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.009491, allocations: 38.5 kB / 0.6229 GB, free: 96 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.009492, allocations: 0 / 0.6229 GB, free: 96 kB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.0004179/0.00991, allocations: 105.7 kB / 0.623 GB, free: 15.98 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.009956, allocations: 59.33 kB / 0.623 GB, free: 15.91 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.01009, allocations: 135.9 kB / 0.6231 GB, free: 15.77 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.01011, allocations: 29.7 kB / 0.6232 GB, free: 15.73 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.31e-05/0.01017, allocations: 92.14 kB / 0.6233 GB, free: 15.64 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.051e-05/0.0102, allocations: 27.78 kB / 0.6233 GB, free: 15.61 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.687e-05/0.01025, allocations: 17.72 kB / 0.6233 GB, free: 15.59 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.01038, allocations: 318.8 kB / 0.6236 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.633e-05/0.01047, allocations: 23.98 kB / 0.6236 GB, free: 15.24 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.329e-05/0.01054, allocations: 19.98 kB / 0.6236 GB, free: 15.22 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/0.01071, allocations: 52.83 kB / 0.6237 GB, free: 15.17 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.01071, allocations: 4 kB / 0.6237 GB, free: 15.16 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002498/0.01096, allocations: 101.5 kB / 0.6238 GB, free: 15.06 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.01097, allocations: 4 kB / 0.6238 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.01098, allocations: 0 / 0.6238 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.01099, allocations: 0 / 0.6238 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.01112, allocations: 15.98 kB / 0.6238 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.01113, allocations: 3.938 kB / 0.6238 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.538e-05/0.01119, allocations: 4 kB / 0.6238 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.0112, allocations: 448 / 0.6238 GB, free: 15.03 MB / 0.545 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.877e-05/0.01129, allocations: 118.8 kB / 0.6239 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.091e-05/0.01134, allocations: 11.89 kB / 0.6239 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002862/0.01163, allocations: 110 kB / 0.6241 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.01163, allocations: 0 / 0.6241 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.01164, allocations: 0 / 0.6241 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.01164, allocations: 0 / 0.6241 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.01181, allocations: 125.3 kB / 0.6242 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.01181, allocations: 0 / 0.6242 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.882e-05/0.0119, allocations: 15.98 kB / 0.6242 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.01191, allocations: 4 kB / 0.6242 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.01192, allocations: 3.938 kB / 0.6242 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.01192, allocations: 0 / 0.6242 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01192, allocations: 0 / 0.6242 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002931/0.01221, allocations: 187.5 kB / 0.6244 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.478e-05/0.01223, allocations: 11.83 kB / 0.6244 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/0.01225, allocations: 7.938 kB / 0.6244 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.495e-05/0.01235, allocations: 7.984 kB / 0.6244 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.494e-05/0.01239, allocations: 8 kB / 0.6244 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.0124, allocations: 3.984 kB / 0.6244 GB, free: 14.36 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.99e-05/0.01248, allocations: 109.5 kB / 0.6245 GB, free: 14.26 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.01248, allocations: 0 / 0.6245 GB, free: 14.26 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002582/0.01274, allocations: 20 kB / 0.6245 GB, free: 14.24 MB / 0.545 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.0001938/0.01293, allocations: 111.2 kB / 0.6246 GB, free: 14.12 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000236/0.01317, allocations: 55.91 kB / 0.6247 GB, free: 14.07 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.01317, allocations: 0 / 0.6247 GB, free: 14.07 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.262e-05/0.01326, allocations: 31.92 kB / 0.6247 GB, free: 14.04 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.01356, allocations: 19.64 kB / 0.6247 GB, free: 14.02 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004639/0.01402, allocations: 185.2 kB / 0.6249 GB, free: 13.81 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.52e-05/0.0141, allocations: 79.08 kB / 0.625 GB, free: 13.71 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.006e-05/0.01415, allocations: 15.98 kB / 0.625 GB, free: 13.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.232e-05/0.0142, allocations: 16.5 kB / 0.625 GB, free: 13.68 MB / 0.545 GB Notification: Performance of SimCode: time 6.71e-07/0.0142, allocations: 7.875 kB / 0.625 GB, free: 13.67 MB / 0.545 GB Notification: Performance of Templates: time 0.004539/0.01874, allocations: 1.122 MB / 0.6261 GB, free: 12.58 MB / 0.545 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.665389612317085] Failed to read output from testmodel.py, exit status != 0: 0.02760254219174385 0.042887291 0.032729489 Calling exit ...