Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.00109/0.00109, allocations: 93.06 kB / 19.65 MB, free: 280 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.00199/0.00199, allocations: 169.3 kB / 23.02 MB, free: 1.555 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.023/1.023, allocations: 177.1 MB / 203.4 MB, free: 5.613 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-535:34: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-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.822/0.822, allocations: 154.8 MB / 414.7 MB, free: 476 kB / 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.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0.6562 kB / 0.5206 GB, free: 1.961 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.385e-05/3.604e-05, allocations: 8.219 kB / 0.5206 GB, free: 1.953 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.004346/0.004382, allocations: 2.198 MB / 0.5227 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.006135/0.01052, allocations: 4.215 MB / 0.5268 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001991/0.01072, allocations: 7.938 kB / 0.5268 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.000959/0.01168, allocations: 173.4 kB / 0.527 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.000224/0.0119, allocations: 85.36 kB / 0.5271 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.0129, allocations: 342.3 kB / 0.5274 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0007624/0.01366, allocations: 458.9 kB / 0.5278 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.01381, allocations: 40.89 kB / 0.5279 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003209/0.01413, allocations: 195.4 kB / 0.5281 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002158/0.01434, allocations: 123.7 kB / 0.5282 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.557e-05/0.01439, allocations: 20 kB / 0.5282 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005497/0.01494, allocations: 327.4 kB / 0.5285 GB, free: 9.812 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001258/0.01507, allocations: 126.6 kB / 0.5286 GB, free: 9.691 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001185/0.01518, allocations: 107.7 kB / 0.5287 GB, free: 9.586 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0008137/0.016, allocations: 0.5606 MB / 0.5293 GB, free: 9.023 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.016, allocations: 0 / 0.5293 GB, free: 9.023 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.402e-06/0.016, allocations: 0 / 0.5293 GB, free: 9.023 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.267e-05/0.01602, allocations: 0 / 0.5293 GB, free: 9.023 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.001194/0.01721, allocations: 0.8133 MB / 0.5301 GB, free: 8.168 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.01725, allocations: 8.531 kB / 0.5301 GB, free: 8.16 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008543/0.0181, allocations: 273.3 kB / 0.5304 GB, free: 7.902 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004964/0.0186, allocations: 326.8 kB / 0.5307 GB, free: 7.562 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.01861, allocations: 8.562 kB / 0.5307 GB, free: 7.555 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.01863, allocations: 12.36 kB / 0.5307 GB, free: 7.543 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003239/0.01896, allocations: 187.4 kB / 0.5309 GB, free: 7.355 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.01897, allocations: 0 / 0.5309 GB, free: 7.355 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.01899, allocations: 4 kB / 0.5309 GB, free: 7.352 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.01899, allocations: 1.406 kB / 0.5309 GB, free: 7.352 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001699/0.01916, allocations: 83.94 kB / 0.5309 GB, free: 7.27 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008665/0.02003, allocations: 0.5886 MB / 0.5315 GB, free: 6.648 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00016/0.02019, allocations: 76.53 kB / 0.5316 GB, free: 6.562 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.766e-05/0.02029, allocations: 64.56 kB / 0.5317 GB, free: 6.496 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.165e-05/0.02034, allocations: 15.98 kB / 0.5317 GB, free: 6.48 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.02036, allocations: 41.39 kB / 0.5317 GB, free: 6.43 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=13): time 1.654e-06/0.02037, allocations: 0.5938 kB / 0.5317 GB, free: 6.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13): time 0.0004456/0.02081, allocations: 217.6 kB / 0.5319 GB, free: 6.215 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.655e-05/0.02084, allocations: 55.41 kB / 0.532 GB, free: 6.148 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003031/0.02114, allocations: 455.3 kB / 0.5324 GB, free: 5.695 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.02117, allocations: 31.11 kB / 0.5324 GB, free: 5.66 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.02129, allocations: 251.2 kB / 0.5327 GB, free: 5.41 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.995e-05/0.02133, allocations: 51.62 kB / 0.5327 GB, free: 5.359 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.473e-05/0.02141, allocations: 59.34 kB / 0.5328 GB, free: 5.293 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.02155, allocations: 0.5364 MB / 0.5333 GB, free: 4.746 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/0.02168, allocations: 101.9 kB / 0.5334 GB, free: 4.641 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.0218, allocations: 103.5 kB / 0.5335 GB, free: 4.535 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002309/0.02203, allocations: 180.2 kB / 0.5337 GB, free: 4.352 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.02203, allocations: 0 / 0.5337 GB, free: 4.352 MB / 0.4948 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000374/0.02241, allocations: 336.3 kB / 0.534 GB, free: 4.008 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.643e-05/0.02244, allocations: 45.69 kB / 0.534 GB, free: 3.957 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.02245, allocations: 0 / 0.534 GB, free: 3.957 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.02246, allocations: 4 kB / 0.534 GB, free: 3.953 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00021/0.02267, allocations: 56.67 kB / 0.5341 GB, free: 3.898 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.02268, allocations: 1.438 kB / 0.5341 GB, free: 3.898 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.02282, allocations: 47.75 kB / 0.5341 GB, free: 3.852 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/0.02284, allocations: 11.98 kB / 0.5342 GB, free: 3.84 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.0001038/0.02294, allocations: 165.9 kB / 0.5343 GB, free: 3.668 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.126e-05/0.02299, allocations: 43.72 kB / 0.5344 GB, free: 3.625 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00035/0.02334, allocations: 208.3 kB / 0.5346 GB, free: 3.426 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.02335, allocations: 4 kB / 0.5346 GB, free: 3.422 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.02335, allocations: 0 / 0.5346 GB, free: 3.422 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.02336, allocations: 8.906 kB / 0.5346 GB, free: 3.414 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002444/0.0236, allocations: 272.4 kB / 0.5348 GB, free: 3.113 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.0236, allocations: 0 / 0.5348 GB, free: 3.113 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001506/0.02375, allocations: 46.98 kB / 0.5349 GB, free: 3.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.02376, allocations: 3.984 kB / 0.5349 GB, free: 3.066 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.02377, allocations: 4 kB / 0.5349 GB, free: 3.062 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.02377, allocations: 4 kB / 0.5349 GB, free: 3.059 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.02378, allocations: 0 / 0.5349 GB, free: 3.059 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003121/0.02409, allocations: 338.3 kB / 0.5352 GB, free: 2.711 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.522e-05/0.02417, allocations: 64.2 kB / 0.5353 GB, free: 2.648 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.143e-05/0.02421, allocations: 5.281 kB / 0.5353 GB, free: 2.645 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.02433, allocations: 15.98 kB / 0.5353 GB, free: 2.629 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.937e-05/0.02439, allocations: 24.47 kB / 0.5353 GB, free: 2.605 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.0244, allocations: 9.516 kB / 0.5353 GB, free: 2.598 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001763/0.02458, allocations: 295 kB / 0.5356 GB, free: 2.309 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.02458, allocations: 0 / 0.5356 GB, free: 2.309 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003256/0.02491, allocations: 127.8 kB / 0.5357 GB, free: 2.184 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.0002759/0.02518, allocations: 185.3 kB / 0.5359 GB, free: 1.996 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003584/0.02554, allocations: 278.9 kB / 0.5362 GB, free: 1.703 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.02554, allocations: 0 / 0.5362 GB, free: 1.703 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.02565, allocations: 76.72 kB / 0.5362 GB, free: 1.625 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003283/0.02598, allocations: 71.69 kB / 0.5363 GB, free: 1.555 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009917/0.02697, allocations: 0.6116 MB / 0.5369 GB, free: 0.918 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.344e-05/0.02704, allocations: 104.3 kB / 0.537 GB, free: 0.7969 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001726/0.02721, allocations: 59.5 kB / 0.5371 GB, free: 0.7578 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.821e-05/0.02731, allocations: 36.42 kB / 0.5371 GB, free: 0.7227 MB / 0.4948 GB Notification: Performance of SimCode: time 9.41e-07/0.02731, allocations: 0 / 0.5371 GB, free: 0.7227 MB / 0.4948 GB Notification: Performance of Templates: time 0.007774/0.03508, allocations: 5.855 MB / 0.5428 GB, free: 11.05 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.041364655829966]