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.001933/0.001933, allocations: 79.97 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001856/0.001856, allocations: 165.8 kB / 22.46 MB, free: 5.355 MB / 14.72 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.533/1.533, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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-531:190: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-531:198: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 1.22/1.22, allocations: 154.5 MB / 413.7 MB, free: 5.289 MB / 382.1 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 178] 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.773e-06/1.773e-06, allocations: 0 / 0.6185 GB, free: 4.656 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.227e-05/3.404e-05, allocations: 6 kB / 0.6185 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003677/0.003712, allocations: 2.09 MB / 0.6206 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005774/0.009486, allocations: 3.94 MB / 0.6244 GB, free: 14.6 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001348/0.00962, allocations: 3.938 kB / 0.6244 GB, free: 14.59 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009067/0.01053, allocations: 182.5 kB / 0.6246 GB, free: 14.42 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001851/0.01071, allocations: 91.14 kB / 0.6247 GB, free: 14.33 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008384/0.01155, allocations: 339 kB / 0.625 GB, free: 14 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007519/0.0123, allocations: 458.5 kB / 0.6254 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.01243, allocations: 44.89 kB / 0.6255 GB, free: 13.5 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000264/0.01269, allocations: 179.6 kB / 0.6256 GB, free: 13.33 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002072/0.0129, allocations: 131.6 kB / 0.6258 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.026e-05/0.01295, allocations: 20 kB / 0.6258 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005906/0.01354, allocations: 327.4 kB / 0.6261 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001488/0.01369, allocations: 123.6 kB / 0.6262 GB, free: 12.74 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001642/0.01385, allocations: 107.7 kB / 0.6263 GB, free: 12.63 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008615/0.01471, allocations: 0.6425 MB / 0.6269 GB, free: 11.99 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.01472, allocations: 0 / 0.6269 GB, free: 11.99 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.222e-06/0.01472, allocations: 0 / 0.6269 GB, free: 11.99 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.01473, allocations: 3.938 kB / 0.627 GB, free: 11.98 MB / 0.545 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.001661/0.01639, allocations: 0.7431 MB / 0.6277 GB, free: 11.2 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.01643, allocations: 13.47 kB / 0.6277 GB, free: 11.19 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002109/0.01854, allocations: 308.3 kB / 0.628 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/0.01961, allocations: 348 kB / 0.6283 GB, free: 10.53 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.01963, allocations: 8.562 kB / 0.6283 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.882e-05/0.01967, allocations: 12.38 kB / 0.6283 GB, free: 10.51 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000795/0.02046, allocations: 273.7 kB / 0.6286 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.02047, allocations: 0 / 0.6286 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.728e-05/0.0205, allocations: 4 kB / 0.6286 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.415e-06/0.02051, allocations: 4 kB / 0.6286 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/0.02164, allocations: 339.7 kB / 0.6289 GB, free: 9.895 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001533/0.02318, allocations: 0.6054 MB / 0.6295 GB, free: 9.258 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006445/0.02382, allocations: 222.4 kB / 0.6297 GB, free: 9.031 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005885/0.02441, allocations: 184.7 kB / 0.6299 GB, free: 8.848 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.151e-05/0.02447, allocations: 19.98 kB / 0.6299 GB, free: 8.828 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.679e-05/0.02451, allocations: 30.56 kB / 0.63 GB, free: 8.789 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.02451, allocations: 0 / 0.63 GB, free: 8.789 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.001968/0.02648, allocations: 0.591 MB / 0.6305 GB, free: 8.191 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.147e-05/0.02653, allocations: 55.41 kB / 0.6306 GB, free: 8.125 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005307/0.02706, allocations: 449.8 kB / 0.631 GB, free: 7.684 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4e-05/0.0271, allocations: 25.7 kB / 0.631 GB, free: 7.652 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001948/0.0273, allocations: 196.4 kB / 0.6312 GB, free: 7.457 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.029e-05/0.02736, allocations: 43.64 kB / 0.6313 GB, free: 7.414 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001355/0.02749, allocations: 53.67 kB / 0.6313 GB, free: 7.355 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001937/0.02769, allocations: 350.8 kB / 0.6317 GB, free: 7.004 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007713/0.02846, allocations: 349.7 kB / 0.632 GB, free: 6.656 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007321/0.02919, allocations: 343.8 kB / 0.6323 GB, free: 6.316 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001341/0.03053, allocations: 0.5365 MB / 0.6328 GB, free: 5.773 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.03053, allocations: 0 / 0.6328 GB, free: 5.773 MB / 0.545 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001718/0.03225, allocations: 0.783 MB / 0.6336 GB, free: 4.973 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.356e-05/0.0323, allocations: 45.69 kB / 0.6336 GB, free: 4.922 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.03231, allocations: 7.984 kB / 0.6337 GB, free: 4.914 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.03233, allocations: 0 / 0.6337 GB, free: 4.914 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005229/0.03285, allocations: 63.92 kB / 0.6337 GB, free: 4.852 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.03286, allocations: 3.938 kB / 0.6337 GB, free: 4.848 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004492/0.03331, allocations: 55.83 kB / 0.6338 GB, free: 4.793 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.744e-05/0.03335, allocations: 11.98 kB / 0.6338 GB, free: 4.781 MB / 0.545 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.0002221/0.03357, allocations: 158.7 kB / 0.6339 GB, free: 4.617 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.817e-05/0.03365, allocations: 39.72 kB / 0.634 GB, free: 4.578 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00151/0.03516, allocations: 472.2 kB / 0.6344 GB, free: 4.105 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.03516, allocations: 4 kB / 0.6344 GB, free: 4.102 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.03517, allocations: 7.875 kB / 0.6344 GB, free: 4.094 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.03517, allocations: 0 / 0.6344 GB, free: 4.094 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004268/0.0356, allocations: 304.7 kB / 0.6347 GB, free: 3.766 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.0356, allocations: 0 / 0.6347 GB, free: 3.766 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004802/0.03608, allocations: 63.91 kB / 0.6348 GB, free: 3.703 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.03608, allocations: 0 / 0.6348 GB, free: 3.703 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.108e-05/0.03611, allocations: 16 kB / 0.6348 GB, free: 3.688 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.03612, allocations: 0 / 0.6348 GB, free: 3.688 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.03612, allocations: 0 / 0.6348 GB, free: 3.688 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001375/0.03749, allocations: 0.5184 MB / 0.6353 GB, free: 3.152 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.03764, allocations: 63.67 kB / 0.6354 GB, free: 3.09 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.706e-05/0.03769, allocations: 0 / 0.6354 GB, free: 3.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004032/0.0381, allocations: 43.95 kB / 0.6354 GB, free: 3.047 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.0382, allocations: 19.97 kB / 0.6354 GB, free: 3.027 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.666e-05/0.03823, allocations: 7.984 kB / 0.6354 GB, free: 3.02 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003584/0.03859, allocations: 311.1 kB / 0.6357 GB, free: 2.719 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.03859, allocations: 0 / 0.6357 GB, free: 2.719 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005545/0.03914, allocations: 123.8 kB / 0.6359 GB, free: 2.598 MB / 0.545 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.0003986/0.03954, allocations: 187 kB / 0.636 GB, free: 2.406 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001668/0.04121, allocations: 0.6412 MB / 0.6367 GB, free: 1.746 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.04121, allocations: 0 / 0.6367 GB, free: 1.746 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006152/0.04182, allocations: 187.8 kB / 0.6368 GB, free: 1.562 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004709/0.0423, allocations: 61.81 kB / 0.6369 GB, free: 1.504 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.04366, allocations: 0.6828 MB / 0.6376 GB, free: 0.793 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002061/0.04386, allocations: 191.5 kB / 0.6377 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002805/0.04414, allocations: 69.91 kB / 0.6378 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/0.04429, allocations: 32.47 kB / 0.6378 GB, free: 496 kB / 0.545 GB Notification: Performance of SimCode: time 6.61e-07/0.04429, allocations: 4 kB / 0.6378 GB, free: 492 kB / 0.545 GB Notification: Performance of Templates: time 0.01175/0.05604, allocations: 5.788 MB / 0.6435 GB, free: 10.8 MB / 0.5606 GB " [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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.029828313738108] Failed to read output from testmodel.py, exit status != 0: 0.06563093885779381 0.079845231 0.062113232000000004 Calling exit ...