Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.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.0007748/0.0007748, allocations: 80.45 kB / 19.9 MB, free: 12 kB / 13.93 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.000939/0.000939, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.924/0.924, allocations: 177.2 MB / 203.6 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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 master/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 master/package.mo): time 0.7301/0.7301, allocations: 154.9 MB / 414.9 MB, free: 0.5156 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss") translateModel(IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009606/0.0009606, allocations: 70.95 kB / 0.6199 GB, free: 12.77 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.5154/0.5163, allocations: 102 MB / 0.7194 GB, free: 23.47 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss): time 0.002897/0.5192, allocations: 2.218 MB / 0.7216 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.004718/0.5239, allocations: 4.57 MB / 0.7261 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001722/0.5241, allocations: 6.125 kB / 0.7261 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001166/0.5253, allocations: 235.4 kB / 0.7263 GB, free: 18.76 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.000324/0.5256, allocations: 141.5 kB / 0.7264 GB, free: 18.67 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000202/0.5258, allocations: 66.59 kB / 0.7265 GB, free: 18.64 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0005734/0.5264, allocations: 417.5 kB / 0.7269 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001862/0.5266, allocations: 67.56 kB / 0.727 GB, free: 18.43 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002719/0.5268, allocations: 201 kB / 0.7271 GB, free: 18.35 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001935/0.527, allocations: 141.7 kB / 0.7273 GB, free: 18.29 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.516e-05/0.5271, allocations: 16.41 kB / 0.7273 GB, free: 18.29 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.5272, allocations: 37.83 kB / 0.7273 GB, free: 18.29 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.5273, allocations: 95.72 kB / 0.7274 GB, free: 18.24 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.5274, allocations: 127.5 kB / 0.7275 GB, free: 18.18 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003857/0.5278, allocations: 330 kB / 0.7279 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.5278, allocations: 0.7969 kB / 0.7279 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.763e-06/0.5278, allocations: 0 / 0.7279 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.5278, allocations: 1.438 kB / 0.7279 GB, free: 18.04 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0009265/0.5287, allocations: 0.6201 MB / 0.7285 GB, free: 17.58 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.5287, allocations: 11.38 kB / 0.7285 GB, free: 17.58 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007823/0.5295, allocations: 211.2 kB / 0.7287 GB, free: 17.55 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005421/0.5301, allocations: 274.6 kB / 0.7289 GB, free: 17.34 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.5301, allocations: 13.92 kB / 0.729 GB, free: 17.34 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.241e-05/0.5301, allocations: 8.219 kB / 0.729 GB, free: 17.34 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005335/0.5306, allocations: 312.4 kB / 0.7293 GB, free: 17.22 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.5307, allocations: 0 / 0.7293 GB, free: 17.22 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.42e-05/0.5307, allocations: 5.25 kB / 0.7293 GB, free: 17.22 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.899e-05/0.5307, allocations: 29.34 kB / 0.7293 GB, free: 17.21 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005668/0.5313, allocations: 320.5 kB / 0.7296 GB, free: 17.13 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001153/0.5324, allocations: 0.6742 MB / 0.7303 GB, free: 16.76 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005524/0.533, allocations: 314 kB / 0.7306 GB, free: 16.65 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002865/0.5333, allocations: 185 kB / 0.7307 GB, free: 16.59 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/0.5333, allocations: 3.688 kB / 0.7307 GB, free: 16.59 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.5333, allocations: 36.61 kB / 0.7308 GB, free: 16.55 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=23): time 2.275e-06/0.5333, allocations: 0 / 0.7308 GB, free: 16.55 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23): time 0.0009557/0.5343, allocations: 0.5355 MB / 0.7313 GB, free: 16.37 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/0.5343, allocations: 62.02 kB / 0.7314 GB, free: 16.3 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002518/0.5346, allocations: 320 kB / 0.7317 GB, free: 16.13 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.5346, allocations: 31.08 kB / 0.7317 GB, free: 16.09 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.104e-05/0.5347, allocations: 180.6 kB / 0.7319 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.017e-05/0.5347, allocations: 83.67 kB / 0.7319 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.096e-05/0.5348, allocations: 49.22 kB / 0.732 GB, free: 15.85 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.859e-05/0.5349, allocations: 346.6 kB / 0.7323 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002579/0.5351, allocations: 145.2 kB / 0.7325 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002715/0.5354, allocations: 180 kB / 0.7326 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005518/0.536, allocations: 335.7 kB / 0.7329 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.536, allocations: 0 / 0.7329 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006585/0.5366, allocations: 408.2 kB / 0.7333 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.5366, allocations: 5.5 kB / 0.7333 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.5366, allocations: 5.312 kB / 0.7333 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.5367, allocations: 2.078 kB / 0.7333 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002802/0.5369, allocations: 65.34 kB / 0.7334 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.537, allocations: 2.219 kB / 0.7334 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.5371, allocations: 40.34 kB / 0.7334 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.486e-05/0.5372, allocations: 13.64 kB / 0.7335 GB, free: 15.12 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (25): * Single equations (assignments): 25 * 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 0.0001381/0.5373, allocations: 156.1 kB / 0.7336 GB, free: 14.99 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.603e-05/0.5373, allocations: 35.5 kB / 0.7336 GB, free: 14.97 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.561e-05/0.5374, allocations: 53.59 kB / 0.7337 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.259e-06/0.5374, allocations: 2.75 kB / 0.7337 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.5374, allocations: 2.172 kB / 0.7337 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.5374, allocations: 0.7969 kB / 0.7337 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/0.5386, allocations: 0.8054 MB / 0.7345 GB, free: 14.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.5386, allocations: 0 / 0.7345 GB, free: 14.51 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002199/0.5388, allocations: 64.75 kB / 0.7346 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.5388, allocations: 1.312 kB / 0.7346 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.337e-05/0.5388, allocations: 5.703 kB / 0.7346 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.5388, allocations: 1.156 kB / 0.7346 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5388, allocations: 0 / 0.7346 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006689/0.5395, allocations: 0.4954 MB / 0.735 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.5396, allocations: 68.61 kB / 0.7351 GB, free: 14.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.431e-05/0.5396, allocations: 5.703 kB / 0.7351 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.5398, allocations: 22.89 kB / 0.7351 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.717e-05/0.5399, allocations: 18.84 kB / 0.7352 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.237e-05/0.5399, allocations: 8.109 kB / 0.7352 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001873/0.5401, allocations: 234.9 kB / 0.7354 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5401, allocations: 0 / 0.7354 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000279/0.5404, allocations: 67.86 kB / 0.7354 GB, free: 14.07 MB / 0.6355 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 (23): * Single equations (assignments): 23 * 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.0001078/0.5405, allocations: 103.9 kB / 0.7355 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006382/0.5411, allocations: 340.2 kB / 0.7359 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.5411, allocations: 0 / 0.7359 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000292/0.5414, allocations: 169.3 kB / 0.736 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004439/0.5418, allocations: 93.31 kB / 0.7361 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.5429, allocations: 0.7308 MB / 0.7368 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001801/0.5431, allocations: 186.7 kB / 0.737 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003094/0.5434, allocations: 119.1 kB / 0.7371 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.5435, allocations: 34.31 kB / 0.7372 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of SimCode: time 7.21e-07/0.5435, allocations: 0 / 0.7372 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of Templates: time 0.009192/0.5527, allocations: 4.922 MB / 0.742 GB, free: 12.75 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.sim & ./IDEAS_dev_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.376278365030885] Failed to read output from testmodel.py, exit status != 0: 0.5601134080206975 0.570863337 0.041115075 Calling exit ...