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.001032/0.001032, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001146/0.001146, allocations: 181 kB / 23.36 MB, free: 1.133 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.024/1.024, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.7634/0.7634, allocations: 154.6 MB / 414.8 MB, free: 0.5 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 1.593e-06/1.593e-06, allocations: 0.6562 kB / 480 MB, free: 6.941 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.32e-05/1.48e-05, allocations: 9.188 kB / 480 MB, free: 6.938 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002275/0.002289, allocations: 2.185 MB / 482.2 MB, free: 4.781 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00383/0.00612, allocations: 4.229 MB / 486.4 MB, free: 0.5703 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.512e-05/0.006215, allocations: 8.812 kB / 486.4 MB, free: 0.5625 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006104/0.006825, allocations: 176.6 kB / 486.6 MB, free: 400 kB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001233/0.006949, allocations: 85.66 kB / 486.7 MB, free: 316 kB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006444/0.007593, allocations: 342.8 kB / 487 MB, free: 15.97 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005633/0.008156, allocations: 463.9 kB / 487.5 MB, free: 15.52 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.008267, allocations: 39.72 kB / 487.5 MB, free: 15.48 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002054/0.008472, allocations: 195.5 kB / 487.7 MB, free: 15.29 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001412/0.008614, allocations: 130 kB / 487.8 MB, free: 15.16 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.797e-05/0.008642, allocations: 16 kB / 487.8 MB, free: 15.15 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004243/0.009066, allocations: 331.4 kB / 488.2 MB, free: 14.82 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.009174, allocations: 123.6 kB / 488.3 MB, free: 14.7 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 9.415e-05/0.009269, allocations: 105.4 kB / 488.4 MB, free: 14.6 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005531/0.009822, allocations: 0.5451 MB / 488.9 MB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.009824, allocations: 3.938 kB / 488.9 MB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.009825, allocations: 0 / 488.9 MB, free: 14.05 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.00983, allocations: 0 / 488.9 MB, free: 14.05 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.000812/0.01064, allocations: 0.674 MB / 489.6 MB, free: 13.35 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.01068, allocations: 8.031 kB / 489.6 MB, free: 13.34 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004635/0.01114, allocations: 140.9 kB / 489.8 MB, free: 13.21 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002708/0.01141, allocations: 244.8 kB / 490 MB, free: 12.95 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.01143, allocations: 17.27 kB / 490 MB, free: 12.93 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.97e-05/0.01145, allocations: 4.375 kB / 490 MB, free: 12.93 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002741/0.01172, allocations: 175.5 kB / 490.2 MB, free: 12.75 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.01173, allocations: 1.344 kB / 490.2 MB, free: 12.75 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.01174, allocations: 0 / 490.2 MB, free: 12.75 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.01175, allocations: 4 kB / 490.2 MB, free: 12.75 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.027e-05/0.01184, allocations: 44.91 kB / 490.2 MB, free: 12.7 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005971/0.01244, allocations: 369.6 kB / 490.6 MB, free: 12.33 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.01256, allocations: 102.1 kB / 490.7 MB, free: 12.22 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.362e-05/0.01262, allocations: 37.03 kB / 490.7 MB, free: 12.18 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.631e-05/0.01266, allocations: 32.23 kB / 490.8 MB, free: 12.16 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.01268, allocations: 30.56 kB / 490.8 MB, free: 12.12 MB / 458.7 MB Notification: Performance of pre-optimization done (n=13): time 1.102e-06/0.01268, allocations: 0 / 490.8 MB, free: 12.12 MB / 458.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002569/0.01294, allocations: 145.6 kB / 490.9 MB, free: 11.97 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/0.01297, allocations: 51.41 kB / 491 MB, free: 11.91 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002275/0.0132, allocations: 367.2 kB / 491.3 MB, free: 11.54 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.01322, allocations: 26.36 kB / 491.4 MB, free: 11.51 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.297e-05/0.01329, allocations: 154.6 kB / 491.5 MB, free: 11.36 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.732e-05/0.01333, allocations: 43.64 kB / 491.6 MB, free: 11.32 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.668e-05/0.0134, allocations: 49.66 kB / 491.6 MB, free: 11.26 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.01352, allocations: 354.7 kB / 492 MB, free: 10.91 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.393e-05/0.01361, allocations: 82.28 kB / 492 MB, free: 10.82 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.474e-05/0.01368, allocations: 78.06 kB / 492.1 MB, free: 10.74 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/0.01384, allocations: 158 kB / 492.3 MB, free: 10.57 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.01385, allocations: 0 / 492.3 MB, free: 10.57 MB / 458.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002225/0.01407, allocations: 237.6 kB / 492.5 MB, free: 10.33 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.032e-05/0.0141, allocations: 41.69 kB / 492.5 MB, free: 10.28 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.0141, allocations: 0 / 492.5 MB, free: 10.28 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.01412, allocations: 8 kB / 492.5 MB, free: 10.27 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.01427, allocations: 49 kB / 492.6 MB, free: 10.23 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.546e-06/0.01428, allocations: 3.938 kB / 492.6 MB, free: 10.22 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.01438, allocations: 37.23 kB / 492.6 MB, free: 10.19 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.0144, allocations: 11.98 kB / 492.6 MB, free: 10.18 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.263e-05/0.01448, allocations: 117.4 kB / 492.8 MB, free: 10.05 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.766e-05/0.01452, allocations: 27.91 kB / 492.8 MB, free: 10.02 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001881/0.01471, allocations: 151.4 kB / 492.9 MB, free: 9.867 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.01471, allocations: 3.938 kB / 492.9 MB, free: 9.863 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.01471, allocations: 0.9062 kB / 492.9 MB, free: 9.863 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.01471, allocations: 4 kB / 492.9 MB, free: 9.859 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001617/0.01487, allocations: 166.5 kB / 493.1 MB, free: 9.68 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.01488, allocations: 0 / 493.1 MB, free: 9.68 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.01499, allocations: 45.88 kB / 493.2 MB, free: 9.637 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.01499, allocations: 0 / 493.2 MB, free: 9.637 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.015, allocations: 7.938 kB / 493.2 MB, free: 9.629 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.015, allocations: 3.938 kB / 493.2 MB, free: 9.625 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.015, allocations: 0.9062 kB / 493.2 MB, free: 9.625 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001793/0.01518, allocations: 260 kB / 493.4 MB, free: 9.355 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.664e-05/0.01525, allocations: 51.64 kB / 493.5 MB, free: 9.305 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.898e-05/0.01528, allocations: 3.938 kB / 493.5 MB, free: 9.301 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.01538, allocations: 23.97 kB / 493.5 MB, free: 9.277 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.611e-05/0.01543, allocations: 22.34 kB / 493.5 MB, free: 9.258 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.818e-06/0.01544, allocations: 7.984 kB / 493.5 MB, free: 9.25 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001018/0.01554, allocations: 156.7 kB / 493.7 MB, free: 9.094 MB / 458.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01554, allocations: 0 / 493.7 MB, free: 9.094 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002611/0.0158, allocations: 131.8 kB / 493.8 MB, free: 8.965 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.000211/0.01601, allocations: 172.5 kB / 494 MB, free: 8.793 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000232/0.01625, allocations: 237 kB / 494.2 MB, free: 8.543 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.01625, allocations: 4 kB / 494.2 MB, free: 8.539 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 6.652e-05/0.01632, allocations: 57.5 kB / 494.3 MB, free: 8.48 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.01655, allocations: 68.88 kB / 494.3 MB, free: 8.418 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008025/0.01735, allocations: 0.6062 MB / 494.9 MB, free: 7.785 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.981e-05/0.01741, allocations: 104.3 kB / 495 MB, free: 7.664 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000117/0.01753, allocations: 36.16 kB / 495.1 MB, free: 7.645 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001575/0.01769, allocations: 107.3 kB / 495.2 MB, free: 7.539 MB / 458.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01769, allocations: 0 / 495.2 MB, free: 7.539 MB / 458.7 MB Notification: Performance of Templates: time 0.007239/0.02493, allocations: 5.911 MB / 0.4893 GB, free: 2.027 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.740170396864414]