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.001899/0.001899, allocations: 85.48 kB / 19.44 MB, free: 348 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.00208/0.00208, allocations: 177.2 kB / 22.76 MB, free: 1.664 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.637/1.637, allocations: 177.1 MB / 203.1 MB, free: 5.625 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.351/1.351, allocations: 154.6 MB / 414.1 MB, free: 0.668 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.463e-06/1.463e-06, allocations: 0 / 0.5196 GB, free: 2.543 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.663e-05/2.809e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.539 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003803/0.003831, allocations: 2.173 MB / 0.5217 GB, free: 384 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.006385/0.01022, allocations: 4.196 MB / 0.5258 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001461/0.01036, allocations: 4 kB / 0.5258 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008648/0.01123, allocations: 182 kB / 0.526 GB, free: 12 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002074/0.01143, allocations: 84.75 kB / 0.5261 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008689/0.0123, allocations: 334.2 kB / 0.5264 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0008137/0.01312, allocations: 466.6 kB / 0.5269 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.01325, allocations: 36.91 kB / 0.5269 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002942/0.01354, allocations: 183.6 kB / 0.5271 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002292/0.01377, allocations: 131.6 kB / 0.5272 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.495e-05/0.01382, allocations: 20 kB / 0.5272 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006507/0.01447, allocations: 329.7 kB / 0.5275 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001568/0.01463, allocations: 123.6 kB / 0.5276 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001607/0.01479, allocations: 107.7 kB / 0.5277 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0009251/0.01572, allocations: 0.6348 MB / 0.5284 GB, free: 9.582 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.01572, allocations: 0 / 0.5284 GB, free: 9.582 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.72e-07/0.01572, allocations: 0 / 0.5284 GB, free: 9.582 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.193e-06/0.01573, allocations: 0.7812 kB / 0.5284 GB, free: 9.582 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.001575/0.0173, allocations: 0.8334 MB / 0.5292 GB, free: 8.707 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.01734, allocations: 11.97 kB / 0.5292 GB, free: 8.695 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001241/0.01859, allocations: 201.1 kB / 0.5294 GB, free: 8.508 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008108/0.0194, allocations: 329 kB / 0.5297 GB, free: 8.168 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.01942, allocations: 8.562 kB / 0.5297 GB, free: 8.16 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.55e-05/0.01945, allocations: 13.25 kB / 0.5297 GB, free: 8.148 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005352/0.01999, allocations: 183.9 kB / 0.5299 GB, free: 7.965 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.02, allocations: 4 kB / 0.5299 GB, free: 7.961 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.605e-05/0.02002, allocations: 4 kB / 0.5299 GB, free: 7.957 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.02003, allocations: 0 / 0.5299 GB, free: 7.957 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007019/0.02073, allocations: 214.5 kB / 0.5301 GB, free: 7.75 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001428/0.02216, allocations: 0.6134 MB / 0.5307 GB, free: 7.105 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004236/0.02258, allocations: 134.9 kB / 0.5308 GB, free: 6.961 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003628/0.02294, allocations: 118 kB / 0.5309 GB, free: 6.844 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.705e-05/0.02301, allocations: 20 kB / 0.531 GB, free: 6.824 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.02304, allocations: 33.39 kB / 0.531 GB, free: 6.781 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.02305, allocations: 1.094 kB / 0.531 GB, free: 6.781 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13): time 0.001311/0.02436, allocations: 394.6 kB / 0.5314 GB, free: 6.395 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/0.02441, allocations: 56.75 kB / 0.5314 GB, free: 6.328 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006063/0.02501, allocations: 0.5026 MB / 0.5319 GB, free: 5.812 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.572e-05/0.02505, allocations: 29.7 kB / 0.532 GB, free: 5.777 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002434/0.02529, allocations: 267.1 kB / 0.5322 GB, free: 5.508 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.064e-05/0.02535, allocations: 44.23 kB / 0.5322 GB, free: 5.465 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001348/0.02549, allocations: 64.56 kB / 0.5323 GB, free: 5.395 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000315/0.0258, allocations: 0.543 MB / 0.5328 GB, free: 4.84 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004247/0.02623, allocations: 154.8 kB / 0.533 GB, free: 4.684 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004269/0.02665, allocations: 163.4 kB / 0.5331 GB, free: 4.52 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007958/0.02745, allocations: 297.5 kB / 0.5334 GB, free: 4.223 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.02745, allocations: 4.625 kB / 0.5334 GB, free: 4.219 MB / 0.4948 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001058/0.02851, allocations: 454.3 kB / 0.5339 GB, free: 3.762 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.685e-05/0.02857, allocations: 41.69 kB / 0.5339 GB, free: 3.715 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.02857, allocations: 4 kB / 0.5339 GB, free: 3.711 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.02859, allocations: 0.6875 kB / 0.5339 GB, free: 3.711 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003727/0.02896, allocations: 52.88 kB / 0.534 GB, free: 3.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.02897, allocations: 1.125 kB / 0.534 GB, free: 3.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002967/0.02927, allocations: 43.75 kB / 0.534 GB, free: 3.617 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.057e-05/0.0293, allocations: 10.5 kB / 0.534 GB, free: 3.609 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.0001813/0.02948, allocations: 176.5 kB / 0.5342 GB, free: 3.426 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.249e-05/0.02957, allocations: 47.75 kB / 0.5342 GB, free: 3.379 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009308/0.0305, allocations: 300.3 kB / 0.5345 GB, free: 3.086 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.03051, allocations: 4 kB / 0.5345 GB, free: 3.082 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.03051, allocations: 0 / 0.5345 GB, free: 3.082 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.03052, allocations: 4.484 kB / 0.5345 GB, free: 3.078 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004465/0.03096, allocations: 305.1 kB / 0.5348 GB, free: 2.746 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.03096, allocations: 0 / 0.5348 GB, free: 2.746 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003221/0.03129, allocations: 48.7 kB / 0.5349 GB, free: 2.699 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.03129, allocations: 2.25 kB / 0.5349 GB, free: 2.699 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.421e-05/0.03131, allocations: 3.984 kB / 0.5349 GB, free: 2.695 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/0.03132, allocations: 4 kB / 0.5349 GB, free: 2.691 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.03132, allocations: 0 / 0.5349 GB, free: 2.691 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009434/0.03226, allocations: 445.2 kB / 0.5353 GB, free: 2.238 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000161/0.03243, allocations: 64.7 kB / 0.5354 GB, free: 2.176 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.371e-05/0.03248, allocations: 4 kB / 0.5354 GB, free: 2.172 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002677/0.03275, allocations: 20.84 kB / 0.5354 GB, free: 2.152 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.675e-05/0.03283, allocations: 27.91 kB / 0.5354 GB, free: 2.125 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.039e-05/0.03285, allocations: 6.219 kB / 0.5354 GB, free: 2.121 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003726/0.03323, allocations: 323 kB / 0.5357 GB, free: 1.805 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.03323, allocations: 0 / 0.5357 GB, free: 1.805 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00051/0.03374, allocations: 131.7 kB / 0.5358 GB, free: 1.676 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.0004027/0.03414, allocations: 191.7 kB / 0.536 GB, free: 1.484 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001008/0.03515, allocations: 403.9 kB / 0.5364 GB, free: 1.07 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.03515, allocations: 0 / 0.5364 GB, free: 1.07 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003984/0.03555, allocations: 131.8 kB / 0.5365 GB, free: 0.9414 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005064/0.03606, allocations: 75.91 kB / 0.5366 GB, free: 0.8672 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.03737, allocations: 0.6312 MB / 0.5372 GB, free: 212 kB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002136/0.03758, allocations: 186.3 kB / 0.5374 GB, free: 12 kB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002616/0.03784, allocations: 61.58 kB / 0.5375 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.03797, allocations: 32.47 kB / 0.5375 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of SimCode: time 6.91e-07/0.03797, allocations: 0 / 0.5375 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of Templates: time 0.01229/0.05025, allocations: 5.691 MB / 0.5431 GB, free: 10.42 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=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.345534697989933]