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.001678/0.001678, allocations: 92.7 kB / 19.44 MB, free: 324 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.001573/0.001573, allocations: 161.7 kB / 22.75 MB, free: 1.656 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 1.521/1.521, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 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-545:108: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-545:116: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.263/1.263, allocations: 154.6 MB / 414.1 MB, free: 0.6484 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 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.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: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0.5469 kB / 0.5196 GB, free: 2.586 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.173e-05/3.354e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.582 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.005091/0.005125, allocations: 2.096 MB / 0.5217 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.008245/0.01337, allocations: 3.927 MB / 0.5255 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000186/0.01356, allocations: 0 / 0.5255 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001118/0.01467, allocations: 181.4 kB / 0.5257 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002833/0.01496, allocations: 85.81 kB / 0.5258 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001195/0.01615, allocations: 341.5 kB / 0.5261 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001046/0.0172, allocations: 457.3 kB / 0.5265 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001734/0.01737, allocations: 36.92 kB / 0.5266 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003887/0.01776, allocations: 187.5 kB / 0.5267 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003096/0.01807, allocations: 128.8 kB / 0.5269 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.695e-05/0.01814, allocations: 20 kB / 0.5269 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008628/0.019, allocations: 328.4 kB / 0.5272 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002144/0.01921, allocations: 127.6 kB / 0.5273 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.00021/0.01942, allocations: 108.6 kB / 0.5274 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001278/0.0207, allocations: 0.6425 MB / 0.528 GB, free: 9.961 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.02071, allocations: 0.6562 kB / 0.528 GB, free: 9.961 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.523e-06/0.02071, allocations: 0 / 0.528 GB, free: 9.961 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.02071, allocations: 1.156 kB / 0.528 GB, free: 9.961 MB / 0.4948 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.002174/0.02289, allocations: 0.7338 MB / 0.5288 GB, free: 9.191 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/0.02294, allocations: 15.12 kB / 0.5288 GB, free: 9.18 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002002/0.02494, allocations: 244.8 kB / 0.529 GB, free: 8.949 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001335/0.02628, allocations: 355.8 kB / 0.5293 GB, free: 8.586 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.0263, allocations: 8.562 kB / 0.5294 GB, free: 8.578 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.025e-05/0.02635, allocations: 13.28 kB / 0.5294 GB, free: 8.566 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/0.02742, allocations: 254.3 kB / 0.5296 GB, free: 8.316 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.02743, allocations: 0 / 0.5296 GB, free: 8.316 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.056e-05/0.02746, allocations: 0 / 0.5296 GB, free: 8.316 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/0.02747, allocations: 4 kB / 0.5296 GB, free: 8.312 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001605/0.02908, allocations: 336 kB / 0.5299 GB, free: 7.992 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002052/0.03113, allocations: 0.5858 MB / 0.5305 GB, free: 7.379 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000905/0.03203, allocations: 212.9 kB / 0.5307 GB, free: 7.164 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008031/0.03283, allocations: 169.9 kB / 0.5309 GB, free: 6.996 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.913e-05/0.03292, allocations: 25.7 kB / 0.5309 GB, free: 6.973 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.401e-05/0.03297, allocations: 30.56 kB / 0.5309 GB, free: 6.934 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=13): time 1.733e-06/0.03297, allocations: 0 / 0.5309 GB, free: 6.934 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13): time 0.002722/0.03569, allocations: 0.5696 MB / 0.5315 GB, free: 6.367 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.989e-05/0.03575, allocations: 55.41 kB / 0.5315 GB, free: 6.301 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007875/0.03654, allocations: 450.4 kB / 0.532 GB, free: 5.859 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.054e-05/0.03659, allocations: 29.7 kB / 0.532 GB, free: 5.824 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002529/0.03684, allocations: 197.1 kB / 0.5322 GB, free: 5.625 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.234e-05/0.03692, allocations: 48.53 kB / 0.5322 GB, free: 5.578 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001618/0.03709, allocations: 49.69 kB / 0.5323 GB, free: 5.523 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002645/0.03735, allocations: 350.7 kB / 0.5326 GB, free: 5.172 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001066/0.03842, allocations: 340.5 kB / 0.5329 GB, free: 4.836 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001031/0.03945, allocations: 342.5 kB / 0.5333 GB, free: 4.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001919/0.04137, allocations: 0.5148 MB / 0.5338 GB, free: 3.98 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.04137, allocations: 1.094 kB / 0.5338 GB, free: 3.98 MB / 0.4948 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.002517/0.04389, allocations: 0.777 MB / 0.5345 GB, free: 3.191 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.754e-05/0.04396, allocations: 45.69 kB / 0.5346 GB, free: 3.141 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.04398, allocations: 4.5 kB / 0.5346 GB, free: 3.137 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/0.044, allocations: 6.062 kB / 0.5346 GB, free: 3.133 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006897/0.04469, allocations: 63.91 kB / 0.5346 GB, free: 3.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.0447, allocations: 4.625 kB / 0.5346 GB, free: 3.066 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005536/0.04525, allocations: 53.67 kB / 0.5347 GB, free: 3.016 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.596e-05/0.0453, allocations: 7.984 kB / 0.5347 GB, free: 3.008 MB / 0.4948 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.0003012/0.0456, allocations: 163.5 kB / 0.5349 GB, free: 2.84 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/0.04575, allocations: 43.77 kB / 0.5349 GB, free: 2.797 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001979/0.04773, allocations: 434.5 kB / 0.5353 GB, free: 2.371 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.04774, allocations: 0 / 0.5353 GB, free: 2.371 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.04775, allocations: 7.109 kB / 0.5353 GB, free: 2.367 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.04775, allocations: 0 / 0.5353 GB, free: 2.367 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005823/0.04833, allocations: 281 kB / 0.5356 GB, free: 2.062 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.04834, allocations: 0 / 0.5356 GB, free: 2.062 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005918/0.04893, allocations: 59.86 kB / 0.5356 GB, free: 2.004 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.608e-06/0.04894, allocations: 4 kB / 0.5356 GB, free: 2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.476e-05/0.04897, allocations: 9.641 kB / 0.5357 GB, free: 1.992 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.04897, allocations: 0 / 0.5357 GB, free: 1.992 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.04898, allocations: 3.984 kB / 0.5357 GB, free: 1.988 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001971/0.05095, allocations: 0.509 MB / 0.5362 GB, free: 1.469 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002201/0.05117, allocations: 63.67 kB / 0.5362 GB, free: 1.406 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.321e-05/0.05124, allocations: 0 / 0.5362 GB, free: 1.406 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005685/0.05181, allocations: 36.55 kB / 0.5363 GB, free: 1.371 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.05193, allocations: 17.94 kB / 0.5363 GB, free: 1.355 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.474e-05/0.05196, allocations: 7.984 kB / 0.5363 GB, free: 1.348 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005686/0.05253, allocations: 311.1 kB / 0.5366 GB, free: 1.043 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.1e-07/0.05253, allocations: 3.938 kB / 0.5366 GB, free: 1.039 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0007866/0.05332, allocations: 131.8 kB / 0.5367 GB, free: 0.9102 MB / 0.4948 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.0004975/0.05381, allocations: 192.9 kB / 0.5369 GB, free: 0.7109 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001609/0.05542, allocations: 0.6224 MB / 0.5375 GB, free: 76 kB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.05543, allocations: 0 / 0.5375 GB, free: 76 kB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006549/0.05608, allocations: 183.1 kB / 0.5377 GB, free: 15.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005347/0.05662, allocations: 86.09 kB / 0.5378 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/0.05815, allocations: 0.6956 MB / 0.5384 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/0.05839, allocations: 199.1 kB / 0.5386 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002654/0.05866, allocations: 52.17 kB / 0.5387 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/0.0588, allocations: 37.94 kB / 0.5387 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of SimCode: time 7.42e-07/0.0588, allocations: 0 / 0.5387 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of Templates: time 0.01221/0.07101, allocations: 5.676 MB / 0.5443 GB, free: 9.293 MB / 0.5105 GB " [Timeout remaining time 660] 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: 5.991682320018299]