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.0007068/0.0007068, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009076/0.001614, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007087/0.0007087, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009222/0.001631, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.01/1.01, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09923/1.109, allocations: 53.65 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.7729/0.7729, allocations: 155.3 MB / 399.3 MB, free: 15.91 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2938/1.067, allocations: 49.13 MB / 448.4 MB, free: 5.98 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.704e-06/1.704e-06, allocations: 0 / 449.7 MB, free: 4.695 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.726e-05/1.897e-05, allocations: 4.281 kB / 449.7 MB, free: 4.691 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003376/0.003395, allocations: 2.232 MB / 451.9 MB, free: 2.492 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.005587/0.008983, allocations: 4.247 MB / 456.2 MB, free: 14.27 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001309/0.009114, allocations: 4.844 kB / 456.2 MB, free: 14.26 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006826/0.009796, allocations: 181.8 kB / 456.4 MB, free: 14.09 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001611/0.009957, allocations: 85.5 kB / 456.4 MB, free: 14 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008481/0.01081, allocations: 310.4 kB / 456.7 MB, free: 13.7 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.000632/0.01144, allocations: 456.4 kB / 457.2 MB, free: 13.26 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.01156, allocations: 46.8 kB / 457.2 MB, free: 13.21 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003075/0.01187, allocations: 228 kB / 457.5 MB, free: 12.99 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001792/0.01205, allocations: 123.6 kB / 457.6 MB, free: 12.87 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.883e-05/0.01209, allocations: 21.44 kB / 457.6 MB, free: 12.85 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005529/0.01264, allocations: 355.4 kB / 457.9 MB, free: 12.5 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.01275, allocations: 103.7 kB / 458 MB, free: 12.4 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.01286, allocations: 88.59 kB / 458.1 MB, free: 12.31 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00059/0.01345, allocations: 470.4 kB / 458.6 MB, free: 11.85 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.387e-05/0.01346, allocations: 0.7812 kB / 458.6 MB, free: 11.85 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.01347, allocations: 0 / 458.6 MB, free: 11.85 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.874e-05/0.01348, allocations: 0.875 kB / 458.6 MB, free: 11.85 MB / 442.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.001066/0.01455, allocations: 0.7605 MB / 459.4 MB, free: 11.06 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.01458, allocations: 16.59 kB / 459.4 MB, free: 11.05 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009522/0.01553, allocations: 267.5 kB / 459.6 MB, free: 10.77 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003197/0.01585, allocations: 260.9 kB / 459.9 MB, free: 10.5 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.01587, allocations: 8.562 kB / 459.9 MB, free: 10.49 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.833e-05/0.0159, allocations: 13.36 kB / 459.9 MB, free: 10.48 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006134/0.01651, allocations: 179.7 kB / 460.1 MB, free: 10.29 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.01652, allocations: 4 kB / 460.1 MB, free: 10.29 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/0.01654, allocations: 4.5 kB / 460.1 MB, free: 10.29 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.01655, allocations: 1.625 kB / 460.1 MB, free: 10.29 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001433/0.01669, allocations: 52.72 kB / 460.1 MB, free: 10.23 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007949/0.01748, allocations: 352.5 kB / 460.5 MB, free: 9.875 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001618/0.01765, allocations: 112.9 kB / 460.6 MB, free: 9.758 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.44e-05/0.01772, allocations: 38.94 kB / 460.6 MB, free: 9.719 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.613e-05/0.01778, allocations: 23.94 kB / 460.7 MB, free: 9.695 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.0178, allocations: 34.55 kB / 460.7 MB, free: 9.652 MB / 442.7 MB Notification: Performance of pre-optimization done (n=13): time 1.703e-06/0.0178, allocations: 0 / 460.7 MB, free: 9.652 MB / 442.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003372/0.01814, allocations: 146.3 kB / 460.8 MB, free: 9.504 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.01817, allocations: 56.38 kB / 460.9 MB, free: 9.438 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002997/0.01847, allocations: 371.2 kB / 461.3 MB, free: 9.062 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/0.01849, allocations: 25.7 kB / 461.3 MB, free: 9.031 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.524e-05/0.01858, allocations: 146.4 kB / 461.4 MB, free: 8.887 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.813e-05/0.01863, allocations: 47.58 kB / 461.5 MB, free: 8.84 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.27e-05/0.01872, allocations: 55.86 kB / 461.5 MB, free: 8.781 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.01884, allocations: 354.7 kB / 461.9 MB, free: 8.426 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.01896, allocations: 80.75 kB / 462 MB, free: 8.34 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.01908, allocations: 94.05 kB / 462 MB, free: 8.242 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002349/0.01931, allocations: 169.5 kB / 462.2 MB, free: 8.074 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.01931, allocations: 0 / 462.2 MB, free: 8.074 MB / 442.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003421/0.01966, allocations: 255.7 kB / 462.5 MB, free: 7.809 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.004e-05/0.01971, allocations: 41.67 kB / 462.5 MB, free: 7.762 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.01971, allocations: 0 / 462.5 MB, free: 7.762 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.01972, allocations: 8.812 kB / 462.5 MB, free: 7.754 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003176/0.02004, allocations: 69.27 kB / 462.6 MB, free: 7.688 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.02005, allocations: 0 / 462.6 MB, free: 7.688 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001785/0.02023, allocations: 32.62 kB / 462.6 MB, free: 7.656 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.837e-05/0.02025, allocations: 11.98 kB / 462.6 MB, free: 7.645 MB / 442.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.0001069/0.02036, allocations: 113.8 kB / 462.7 MB, free: 7.523 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.667e-05/0.02042, allocations: 27.91 kB / 462.8 MB, free: 7.496 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003308/0.02075, allocations: 185.3 kB / 462.9 MB, free: 7.316 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.02075, allocations: 0 / 462.9 MB, free: 7.316 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.02075, allocations: 0 / 462.9 MB, free: 7.316 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.02076, allocations: 0 / 462.9 MB, free: 7.316 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002475/0.02101, allocations: 166.7 kB / 463.1 MB, free: 7.137 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.02101, allocations: 3.984 kB / 463.1 MB, free: 7.133 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002502/0.02126, allocations: 56.47 kB / 463.2 MB, free: 7.078 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.4e-05/0.02135, allocations: 46.97 kB / 463.2 MB, free: 7.035 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.02136, allocations: 7.938 kB / 463.2 MB, free: 7.027 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.02138, allocations: 4 kB / 463.2 MB, free: 7.023 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.02138, allocations: 3.984 kB / 463.2 MB, free: 7.02 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.02138, allocations: 0 / 463.2 MB, free: 7.02 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002786/0.02166, allocations: 266.1 kB / 463.5 MB, free: 6.746 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.444e-05/0.0217, allocations: 8.672 kB / 463.5 MB, free: 6.738 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001813/0.02189, allocations: 20.48 kB / 463.5 MB, free: 6.719 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/0.02195, allocations: 25.03 kB / 463.5 MB, free: 6.695 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.02197, allocations: 3.984 kB / 463.5 MB, free: 6.691 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001589/0.02213, allocations: 154.1 kB / 463.7 MB, free: 6.543 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02213, allocations: 0 / 463.7 MB, free: 6.543 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003895/0.02252, allocations: 131.8 kB / 463.8 MB, free: 6.414 MB / 442.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.0003179/0.02283, allocations: 168.9 kB / 464 MB, free: 6.242 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004631/0.0233, allocations: 244.7 kB / 464.2 MB, free: 5.984 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.85e-05/0.02332, allocations: 11.94 kB / 464.2 MB, free: 5.973 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001706/0.02349, allocations: 57.83 kB / 464.3 MB, free: 5.914 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.02379, allocations: 101.1 kB / 464.4 MB, free: 5.82 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003798/0.02759, allocations: 0.6256 MB / 465 MB, free: 5.164 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.724e-05/0.02764, allocations: 104.3 kB / 465.1 MB, free: 5.043 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001564/0.0278, allocations: 53.48 kB / 465.2 MB, free: 5.012 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002076/0.02801, allocations: 107.3 kB / 465.3 MB, free: 4.906 MB / 442.7 MB Notification: Performance of SimCode: time 9.21e-07/0.02801, allocations: 0 / 465.3 MB, free: 4.906 MB / 442.7 MB Notification: Performance of Templates: time 0.007842/0.03585, allocations: 6.151 MB / 471.4 MB, free: 15.19 MB / 458.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.501712080091238]