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.001424/0.001424, 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.001778/0.001778, allocations: 173.3 kB / 23.02 MB, free: 1.551 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.9738/0.9738, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.7398/0.7398, allocations: 154.9 MB / 414.8 MB, free: 416 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 1.593e-06/1.593e-06, allocations: 0 / 0.5207 GB, free: 0.7266 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.898e-05/3.058e-05, allocations: 5.641 kB / 0.5207 GB, free: 0.7227 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002752/0.002783, allocations: 2.212 MB / 0.5228 GB, free: 14.53 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.004361/0.007144, allocations: 4.209 MB / 0.5269 GB, free: 10.31 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001993/0.007343, allocations: 4 kB / 0.527 GB, free: 10.31 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009407/0.008284, allocations: 180.3 kB / 0.5271 GB, free: 10.13 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002268/0.008511, allocations: 84.81 kB / 0.5272 GB, free: 10.05 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009088/0.00942, allocations: 333.8 kB / 0.5275 GB, free: 9.727 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007095/0.01013, allocations: 472.2 kB / 0.528 GB, free: 9.266 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.01026, allocations: 38.03 kB / 0.528 GB, free: 9.227 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002613/0.01053, allocations: 187.6 kB / 0.5282 GB, free: 9.043 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001883/0.01071, allocations: 133.5 kB / 0.5283 GB, free: 8.914 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 3.959e-05/0.01075, allocations: 20 kB / 0.5283 GB, free: 8.895 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000538/0.01129, allocations: 327.4 kB / 0.5286 GB, free: 8.574 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001255/0.01142, allocations: 121 kB / 0.5288 GB, free: 8.457 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.01153, allocations: 107.7 kB / 0.5289 GB, free: 8.352 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007419/0.01228, allocations: 0.5412 MB / 0.5294 GB, free: 7.809 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.01228, allocations: 0 / 0.5294 GB, free: 7.809 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.01228, allocations: 0.9688 kB / 0.5294 GB, free: 7.809 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.01229, allocations: 0 / 0.5294 GB, free: 7.809 MB / 458.7 MB 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.001157/0.01345, allocations: 0.8106 MB / 0.5302 GB, free: 6.957 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.01349, allocations: 8.031 kB / 0.5302 GB, free: 6.949 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001034/0.01452, allocations: 213 kB / 0.5304 GB, free: 6.746 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004023/0.01493, allocations: 286 kB / 0.5307 GB, free: 6.445 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.01494, allocations: 8.562 kB / 0.5307 GB, free: 6.438 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.228e-05/0.01498, allocations: 12.38 kB / 0.5307 GB, free: 6.426 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004217/0.0154, allocations: 190 kB / 0.5309 GB, free: 6.234 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.01541, allocations: 0 / 0.5309 GB, free: 6.234 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.42e-05/0.01543, allocations: 4 kB / 0.5309 GB, free: 6.23 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/0.01545, allocations: 4 kB / 0.5309 GB, free: 6.227 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002163/0.01566, allocations: 81.62 kB / 0.531 GB, free: 6.148 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.01671, allocations: 0.5825 MB / 0.5315 GB, free: 5.535 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.01691, allocations: 90.91 kB / 0.5316 GB, free: 5.434 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.01702, allocations: 51.66 kB / 0.5317 GB, free: 5.379 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.535e-05/0.01708, allocations: 25.48 kB / 0.5317 GB, free: 5.355 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001724/0.01725, allocations: 33.39 kB / 0.5317 GB, free: 5.312 MB / 458.7 MB Notification: Performance of pre-optimization done (n=13): time 1.703e-06/0.01725, allocations: 0 / 0.5317 GB, free: 5.312 MB / 458.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005408/0.01779, allocations: 222.2 kB / 0.5319 GB, free: 5.094 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002854/0.01808, allocations: 55.41 kB / 0.532 GB, free: 5.027 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003905/0.01847, allocations: 466.6 kB / 0.5324 GB, free: 4.559 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.749e-05/0.0185, allocations: 29.64 kB / 0.5325 GB, free: 4.523 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.01865, allocations: 256 kB / 0.5327 GB, free: 4.27 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.531e-05/0.01869, allocations: 43.62 kB / 0.5327 GB, free: 4.227 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.9e-05/0.01879, allocations: 59.34 kB / 0.5328 GB, free: 4.16 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.01895, allocations: 0.532 MB / 0.5333 GB, free: 3.617 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001648/0.01912, allocations: 98.55 kB / 0.5334 GB, free: 3.516 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001456/0.01926, allocations: 103.6 kB / 0.5335 GB, free: 3.41 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002827/0.01955, allocations: 172.6 kB / 0.5337 GB, free: 3.234 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.01955, allocations: 3.938 kB / 0.5337 GB, free: 3.23 MB / 458.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000475/0.02002, allocations: 328.4 kB / 0.534 GB, free: 2.895 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.504e-05/0.02007, allocations: 45.67 kB / 0.534 GB, free: 2.844 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.02008, allocations: 0.75 kB / 0.534 GB, free: 2.844 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.02009, allocations: 4.594 kB / 0.534 GB, free: 2.84 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002786/0.02037, allocations: 56.64 kB / 0.5341 GB, free: 2.785 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.02038, allocations: 0 / 0.5341 GB, free: 2.785 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001858/0.02056, allocations: 41.33 kB / 0.5341 GB, free: 2.746 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.812e-05/0.02059, allocations: 15.98 kB / 0.5342 GB, free: 2.73 MB / 458.7 MB 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.0001211/0.02071, allocations: 170.7 kB / 0.5343 GB, free: 2.555 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.484e-05/0.02079, allocations: 43.72 kB / 0.5344 GB, free: 2.512 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004301/0.02122, allocations: 202.2 kB / 0.5345 GB, free: 2.309 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.02122, allocations: 1.594 kB / 0.5345 GB, free: 2.309 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.02122, allocations: 0 / 0.5345 GB, free: 2.309 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.02123, allocations: 0 / 0.5345 GB, free: 2.309 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003185/0.02155, allocations: 284.3 kB / 0.5348 GB, free: 1.996 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.02155, allocations: 3.938 kB / 0.5348 GB, free: 1.992 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002138/0.02176, allocations: 49.08 kB / 0.5349 GB, free: 1.945 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.02177, allocations: 0.9688 kB / 0.5349 GB, free: 1.945 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.258e-05/0.02179, allocations: 7.984 kB / 0.5349 GB, free: 1.938 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.02179, allocations: 3.938 kB / 0.5349 GB, free: 1.934 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.638e-06/0.0218, allocations: 1.281 kB / 0.5349 GB, free: 1.934 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000432/0.02223, allocations: 323.6 kB / 0.5352 GB, free: 1.598 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.02234, allocations: 72.16 kB / 0.5353 GB, free: 1.527 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.926e-05/0.02238, allocations: 7.984 kB / 0.5353 GB, free: 1.52 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002147/0.02259, allocations: 21.39 kB / 0.5353 GB, free: 1.5 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.216e-05/0.02266, allocations: 15.97 kB / 0.5353 GB, free: 1.484 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.02267, allocations: 12.61 kB / 0.5353 GB, free: 1.473 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001835/0.02286, allocations: 295 kB / 0.5356 GB, free: 1.184 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02286, allocations: 0.625 kB / 0.5356 GB, free: 1.184 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003404/0.0232, allocations: 125.8 kB / 0.5357 GB, free: 1.062 MB / 458.7 MB 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.0002818/0.02348, allocations: 186.9 kB / 0.5359 GB, free: 0.8672 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003763/0.02385, allocations: 286.5 kB / 0.5362 GB, free: 0.5703 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.02386, allocations: 1.031 kB / 0.5362 GB, free: 0.5703 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.02396, allocations: 75.58 kB / 0.5362 GB, free: 0.4922 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.02429, allocations: 82.23 kB / 0.5363 GB, free: 428 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000973/0.02526, allocations: 0.6046 MB / 0.5369 GB, free: 15.79 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.639e-05/0.02533, allocations: 104.3 kB / 0.537 GB, free: 15.67 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002353/0.02556, allocations: 65.84 kB / 0.5371 GB, free: 15.62 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.389e-05/0.02566, allocations: 36.47 kB / 0.5371 GB, free: 15.59 MB / 474.7 MB Notification: Performance of SimCode: time 1.132e-06/0.02566, allocations: 0 / 0.5371 GB, free: 15.59 MB / 474.7 MB Notification: Performance of Templates: time 0.00794/0.0336, allocations: 6.285 MB / 0.5432 GB, free: 9.504 MB / 474.7 MB " [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: 3.7093561058863997]