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.001086/0.001086, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.001887/0.001887, allocations: 173 kB / 23.36 MB, free: 1.129 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.031/1.031, allocations: 177.1 MB / 203.8 MB, free: 5.488 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-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 0.794/0.794, allocations: 154.6 MB / 414.8 MB, free: 0.5117 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: Performance of FrontEnd - loaded program: time 2.946e-06/2.946e-06, allocations: 4 kB / 480 MB, free: 6.852 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.402e-05/2.696e-05, allocations: 2.969 kB / 480 MB, free: 6.848 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003134/0.003161, allocations: 2.221 MB / 482.3 MB, free: 4.66 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004476/0.007637, allocations: 4.226 MB / 486.5 MB, free: 464 kB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001474/0.007784, allocations: 7.938 kB / 486.5 MB, free: 456 kB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007359/0.00852, allocations: 179.8 kB / 486.7 MB, free: 280 kB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001615/0.008682, allocations: 85 kB / 486.8 MB, free: 196 kB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006151/0.009297, allocations: 310.4 kB / 487.1 MB, free: 15.89 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005448/0.009842, allocations: 468.2 kB / 487.5 MB, free: 15.43 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.00995, allocations: 46.73 kB / 487.6 MB, free: 15.38 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002012/0.01015, allocations: 192.1 kB / 487.7 MB, free: 15.2 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001414/0.01029, allocations: 128.7 kB / 487.9 MB, free: 15.07 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 3.407e-05/0.01033, allocations: 20.53 kB / 487.9 MB, free: 15.05 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004785/0.01081, allocations: 360.3 kB / 488.2 MB, free: 14.7 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 9.873e-05/0.0109, allocations: 111.7 kB / 488.4 MB, free: 14.59 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 9.64e-05/0.011, allocations: 108.8 kB / 488.5 MB, free: 14.48 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000558/0.01156, allocations: 0.549 MB / 489 MB, free: 13.93 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.01156, allocations: 0 / 489 MB, free: 13.93 MB / 458.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.01156, allocations: 2.125 kB / 489 MB, free: 13.93 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.01157, allocations: 0 / 489 MB, free: 13.93 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.0008837/0.01245, allocations: 0.6806 MB / 489.7 MB, free: 13.22 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.01248, allocations: 8.031 kB / 489.7 MB, free: 13.21 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005135/0.013, allocations: 132.8 kB / 489.8 MB, free: 13.09 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003304/0.01333, allocations: 261 kB / 490.1 MB, free: 12.82 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.01334, allocations: 8.562 kB / 490.1 MB, free: 12.81 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.214e-05/0.01336, allocations: 13.19 kB / 490.1 MB, free: 12.8 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002657/0.01363, allocations: 163.3 kB / 490.3 MB, free: 12.63 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.01364, allocations: 3.984 kB / 490.3 MB, free: 12.62 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.01365, allocations: 8.625 kB / 490.3 MB, free: 12.62 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.01366, allocations: 0 / 490.3 MB, free: 12.62 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.6e-05/0.01375, allocations: 54.14 kB / 490.3 MB, free: 12.57 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005726/0.01432, allocations: 351.8 kB / 490.7 MB, free: 12.21 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.01444, allocations: 107.5 kB / 490.8 MB, free: 12.09 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.977e-05/0.01449, allocations: 33.05 kB / 490.8 MB, free: 12.06 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.366e-05/0.01454, allocations: 30.92 kB / 490.8 MB, free: 12.03 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/0.01455, allocations: 31.19 kB / 490.9 MB, free: 11.99 MB / 458.7 MB Notification: Performance of pre-optimization done (n=13): time 1.152e-06/0.01456, allocations: 0 / 490.9 MB, free: 11.99 MB / 458.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002415/0.0148, allocations: 146.5 kB / 491 MB, free: 11.85 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.392e-05/0.01482, allocations: 59.39 kB / 491.1 MB, free: 11.78 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002166/0.01504, allocations: 371.2 kB / 491.4 MB, free: 11.41 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.01506, allocations: 27.61 kB / 491.5 MB, free: 11.38 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.316e-05/0.01512, allocations: 145.4 kB / 491.6 MB, free: 11.23 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.01516, allocations: 47.56 kB / 491.7 MB, free: 11.19 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.711e-05/0.01522, allocations: 45.66 kB / 491.7 MB, free: 11.14 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002141/0.01544, allocations: 358.7 kB / 492 MB, free: 10.78 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.062e-05/0.01553, allocations: 82.14 kB / 492.1 MB, free: 10.69 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.043e-05/0.0156, allocations: 78.06 kB / 492.2 MB, free: 10.61 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.01574, allocations: 146 kB / 492.3 MB, free: 10.46 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.01574, allocations: 0.8438 kB / 492.3 MB, free: 10.46 MB / 458.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002192/0.01596, allocations: 248 kB / 492.6 MB, free: 10.2 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.355e-05/0.016, allocations: 41.69 kB / 492.6 MB, free: 10.15 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.016, allocations: 1.25 kB / 492.6 MB, free: 10.15 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.01601, allocations: 0 / 492.6 MB, free: 10.15 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001889/0.0162, allocations: 56.81 kB / 492.7 MB, free: 10.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.0162, allocations: 3.938 kB / 492.7 MB, free: 10.09 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.01632, allocations: 41.66 kB / 492.7 MB, free: 10.05 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.01633, allocations: 0 / 492.7 MB, free: 10.05 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 8.214e-05/0.01641, allocations: 120.6 kB / 492.8 MB, free: 9.926 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.021e-05/0.01645, allocations: 32.97 kB / 492.9 MB, free: 9.895 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002086/0.01666, allocations: 151 kB / 493 MB, free: 9.738 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.696e-06/0.01666, allocations: 0 / 493 MB, free: 9.738 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.01667, allocations: 0 / 493 MB, free: 9.738 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.01667, allocations: 4.75 kB / 493 MB, free: 9.734 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001703/0.01684, allocations: 165.7 kB / 493.2 MB, free: 9.555 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.01684, allocations: 0.5312 kB / 493.2 MB, free: 9.555 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001332/0.01697, allocations: 52.75 kB / 493.2 MB, free: 9.504 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.01698, allocations: 1.469 kB / 493.2 MB, free: 9.504 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.01699, allocations: 11.92 kB / 493.3 MB, free: 9.492 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.01699, allocations: 0 / 493.3 MB, free: 9.492 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.01699, allocations: 4 kB / 493.3 MB, free: 9.488 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000193/0.01719, allocations: 259.1 kB / 493.5 MB, free: 9.219 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.075e-05/0.01725, allocations: 40.67 kB / 493.6 MB, free: 9.18 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.817e-05/0.01728, allocations: 11.94 kB / 493.6 MB, free: 9.168 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.01739, allocations: 21.22 kB / 493.6 MB, free: 9.148 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.168e-05/0.01744, allocations: 23.97 kB / 493.6 MB, free: 9.125 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.01745, allocations: 3.984 kB / 493.6 MB, free: 9.121 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001044/0.01755, allocations: 165.5 kB / 493.8 MB, free: 8.957 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01755, allocations: 0 / 493.8 MB, free: 8.957 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002951/0.01785, allocations: 133.2 kB / 493.9 MB, free: 8.828 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.0002506/0.0181, allocations: 168.2 kB / 494.1 MB, free: 8.656 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002485/0.01835, allocations: 231.7 kB / 494.3 MB, free: 8.41 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.01835, allocations: 4 kB / 494.3 MB, free: 8.406 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 7.014e-05/0.01842, allocations: 57.7 kB / 494.4 MB, free: 8.348 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/0.01869, allocations: 72 kB / 494.4 MB, free: 8.285 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008908/0.01958, allocations: 0.5969 MB / 495 MB, free: 7.66 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.955e-05/0.01964, allocations: 104.3 kB / 495.1 MB, free: 7.539 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001369/0.01978, allocations: 48.11 kB / 495.2 MB, free: 7.508 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001805/0.01996, allocations: 103.3 kB / 495.3 MB, free: 7.406 MB / 458.7 MB Notification: Performance of SimCode: time 9.22e-07/0.01996, allocations: 0.9375 kB / 495.3 MB, free: 7.406 MB / 458.7 MB Notification: Performance of Templates: time 0.008252/0.02821, allocations: 5.92 MB / 0.4895 GB, free: 1.883 MB / 458.7 MB " [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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7623489783145487]