Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.0008917/0.0008917, allocations: 72.45 kB / 19.91 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.0008641/0.0008641, allocations: 169.9 kB / 23.18 MB, free: 1.379 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.9005/0.9005, allocations: 177.2 MB / 203.6 MB, free: 5.77 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.7259/0.7259, allocations: 154.7 MB / 414.7 MB, free: 0.7695 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.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") [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.001013/0.001013, allocations: 72.17 kB / 0.6196 GB, free: 13.15 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.5086/0.5096, allocations: 102 MB / 0.7191 GB, free: 23.59 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002705/0.5123, allocations: 2.086 MB / 0.7211 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.00362/0.516, allocations: 3.935 MB / 0.725 GB, free: 19.51 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.5161, allocations: 6.875 kB / 0.725 GB, free: 19.51 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.000682/0.5168, allocations: 173.9 kB / 0.7252 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001074/0.5169, allocations: 82.86 kB / 0.7252 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005426/0.5174, allocations: 343.2 kB / 0.7256 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0005828/0.518, allocations: 449.1 kB / 0.726 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.5181, allocations: 39.94 kB / 0.726 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002127/0.5183, allocations: 196.9 kB / 0.7262 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001787/0.5185, allocations: 146.9 kB / 0.7264 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.479e-05/0.5185, allocations: 21.03 kB / 0.7264 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004221/0.519, allocations: 328.8 kB / 0.7267 GB, free: 18.8 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001258/0.5191, allocations: 118.8 kB / 0.7268 GB, free: 18.75 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001127/0.5192, allocations: 135.5 kB / 0.7269 GB, free: 18.68 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000672/0.5199, allocations: 0.6719 MB / 0.7276 GB, free: 18.42 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.5199, allocations: 1.375 kB / 0.7276 GB, free: 18.42 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5199, allocations: 0 / 0.7276 GB, free: 18.42 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.486e-06/0.5199, allocations: 0 / 0.7276 GB, free: 18.42 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0009674/0.5208, allocations: 0.7442 MB / 0.7283 GB, free: 17.88 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.5209, allocations: 9.812 kB / 0.7283 GB, free: 17.88 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007936/0.5217, allocations: 243.5 kB / 0.7286 GB, free: 17.83 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005626/0.5223, allocations: 349.6 kB / 0.7289 GB, free: 17.61 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.5223, allocations: 8.719 kB / 0.7289 GB, free: 17.6 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.539e-05/0.5223, allocations: 11.78 kB / 0.7289 GB, free: 17.6 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004556/0.5227, allocations: 248.4 kB / 0.7292 GB, free: 17.52 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.5228, allocations: 0 / 0.7292 GB, free: 17.52 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.79e-05/0.5228, allocations: 5.219 kB / 0.7292 GB, free: 17.52 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.5228, allocations: 6.156 kB / 0.7292 GB, free: 17.51 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000626/0.5234, allocations: 334.7 kB / 0.7295 GB, free: 17.44 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008508/0.5243, allocations: 0.5807 MB / 0.7301 GB, free: 17.12 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003604/0.5246, allocations: 216.5 kB / 0.7303 GB, free: 17.05 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000308/0.5249, allocations: 174.5 kB / 0.7304 GB, free: 17 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.473e-05/0.525, allocations: 17.03 kB / 0.7304 GB, free: 17 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.75e-05/0.525, allocations: 36.27 kB / 0.7305 GB, free: 16.96 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.525, allocations: 1.094 kB / 0.7305 GB, free: 16.96 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.001131/0.5261, allocations: 0.5668 MB / 0.731 GB, free: 16.79 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.5262, allocations: 53.19 kB / 0.7311 GB, free: 16.73 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003836/0.5265, allocations: 451.3 kB / 0.7315 GB, free: 16.52 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.5266, allocations: 31.08 kB / 0.7315 GB, free: 16.49 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.235e-05/0.5267, allocations: 200.8 kB / 0.7317 GB, free: 16.32 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.835e-05/0.5267, allocations: 45.12 kB / 0.7318 GB, free: 16.29 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.534e-05/0.5268, allocations: 54.81 kB / 0.7318 GB, free: 16.25 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.17e-05/0.5268, allocations: 354.2 kB / 0.7322 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004269/0.5273, allocations: 334.6 kB / 0.7325 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004192/0.5277, allocations: 339.7 kB / 0.7328 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007632/0.5284, allocations: 0.5201 MB / 0.7333 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.5284, allocations: 0 / 0.7333 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009445/0.5294, allocations: 0.7663 MB / 0.7341 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.296e-05/0.5294, allocations: 46.55 kB / 0.7341 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.5294, allocations: 4 kB / 0.7341 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.5295, allocations: 1.156 kB / 0.7341 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002467/0.5297, allocations: 68.08 kB / 0.7342 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.5297, allocations: 6.094 kB / 0.7342 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001793/0.5299, allocations: 57.34 kB / 0.7342 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.197e-05/0.5299, allocations: 12.19 kB / 0.7343 GB, free: 15.2 MB / 0.6355 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001162/0.53, allocations: 159.9 kB / 0.7344 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.981e-05/0.5301, allocations: 41.12 kB / 0.7344 GB, free: 15.05 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007698/0.5308, allocations: 441 kB / 0.7349 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.5308, allocations: 5.766 kB / 0.7349 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.5308, allocations: 1.062 kB / 0.7349 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.5308, allocations: 0.5625 kB / 0.7349 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002661/0.5311, allocations: 292.7 kB / 0.7352 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.5311, allocations: 0 / 0.7352 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001957/0.5313, allocations: 58.61 kB / 0.7352 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.5313, allocations: 1.406 kB / 0.7352 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.5313, allocations: 4.078 kB / 0.7352 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.5313, allocations: 8.688 kB / 0.7352 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.5313, allocations: 1.25 kB / 0.7352 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006837/0.532, allocations: 0.5014 MB / 0.7357 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.763e-05/0.5321, allocations: 66.58 kB / 0.7358 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.005e-05/0.5321, allocations: 4.703 kB / 0.7358 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/0.5323, allocations: 35.55 kB / 0.7358 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.784e-05/0.5324, allocations: 19.73 kB / 0.7358 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.5324, allocations: 6.094 kB / 0.7358 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002314/0.5326, allocations: 311.1 kB / 0.7361 GB, free: 14.28 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.5326, allocations: 0 / 0.7361 GB, free: 14.28 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003643/0.533, allocations: 131.9 kB / 0.7363 GB, free: 14.26 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 (13): * Single equations (assignments): 13 * 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.0002585/0.5332, allocations: 172.8 kB / 0.7364 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0009087/0.5341, allocations: 0.6218 MB / 0.737 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5342, allocations: 4 kB / 0.737 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003305/0.5345, allocations: 181.7 kB / 0.7372 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.5348, allocations: 61.98 kB / 0.7373 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.5359, allocations: 0.7582 MB / 0.738 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001772/0.536, allocations: 194.3 kB / 0.7382 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.5362, allocations: 31.27 kB / 0.7382 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of SimCode: time 8.92e-07/0.5362, allocations: 5.062 kB / 0.7382 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of Templates: time 0.008638/0.5448, allocations: 5.809 MB / 0.7439 GB, free: 12.79 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.445514298975468] Failed to read output from testmodel.py, exit status != 0: 0.5515928969252855 0.560127934 0.038510659 Calling exit ...