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.0008381/0.0008381, allocations: 76.55 kB / 19.93 MB, free: 4.629 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.0008266/0.0008266, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.88/0.88, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6801/0.6801, allocations: 154.5 MB / 414.5 MB, free: 0.832 MB / 378.7 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 179] 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.764e-06/1.764e-06, allocations: 0 / 0.6193 GB, free: 13.24 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.588e-05/2.764e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.24 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002526/0.002554, allocations: 2.104 MB / 0.6213 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003988/0.006541, allocations: 3.911 MB / 0.6251 GB, free: 7.184 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.006663, allocations: 4 kB / 0.6252 GB, free: 7.18 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0007474/0.00741, allocations: 182.3 kB / 0.6253 GB, free: 7.004 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001155/0.007526, allocations: 83.22 kB / 0.6254 GB, free: 6.922 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004992/0.008025, allocations: 340.3 kB / 0.6257 GB, free: 6.59 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0005118/0.008537, allocations: 462.5 kB / 0.6262 GB, free: 6.137 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.008667, allocations: 44.89 kB / 0.6262 GB, free: 6.094 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001613/0.008829, allocations: 183.6 kB / 0.6264 GB, free: 5.914 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.008962, allocations: 131.6 kB / 0.6265 GB, free: 5.785 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.94e-05/0.008992, allocations: 23.94 kB / 0.6265 GB, free: 5.762 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003453/0.009337, allocations: 323.4 kB / 0.6268 GB, free: 5.445 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.009438, allocations: 127.6 kB / 0.627 GB, free: 5.32 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 8.615e-05/0.009524, allocations: 107.7 kB / 0.6271 GB, free: 5.215 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0005391/0.01006, allocations: 0.6425 MB / 0.6277 GB, free: 4.57 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.01007, allocations: 0 / 0.6277 GB, free: 4.57 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.754e-06/0.01007, allocations: 4 kB / 0.6277 GB, free: 4.566 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.01007, allocations: 0 / 0.6277 GB, free: 4.566 MB / 0.5886 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.0009319/0.01101, allocations: 0.7314 MB / 0.6284 GB, free: 3.797 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.01105, allocations: 17.47 kB / 0.6284 GB, free: 3.781 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009261/0.01197, allocations: 316.2 kB / 0.6287 GB, free: 3.473 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005584/0.01253, allocations: 355.9 kB / 0.6291 GB, free: 3.102 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.01255, allocations: 8.547 kB / 0.6291 GB, free: 3.094 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.925e-05/0.01258, allocations: 12.38 kB / 0.6291 GB, free: 3.082 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004166/0.01299, allocations: 264.7 kB / 0.6293 GB, free: 2.82 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.013, allocations: 4 kB / 0.6293 GB, free: 2.816 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.049e-05/0.01302, allocations: 7.984 kB / 0.6294 GB, free: 2.809 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.01303, allocations: 4 kB / 0.6294 GB, free: 2.805 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005428/0.01357, allocations: 343.6 kB / 0.6297 GB, free: 2.469 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008249/0.0144, allocations: 0.5976 MB / 0.6303 GB, free: 1.84 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003344/0.01473, allocations: 226.3 kB / 0.6305 GB, free: 1.609 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002689/0.015, allocations: 176.7 kB / 0.6307 GB, free: 1.434 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.548e-05/0.01505, allocations: 23.98 kB / 0.6307 GB, free: 1.41 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.01507, allocations: 30.56 kB / 0.6307 GB, free: 1.371 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=13): time 1.223e-06/0.01507, allocations: 0 / 0.6307 GB, free: 1.371 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13): time 0.0009606/0.01603, allocations: 0.5872 MB / 0.6313 GB, free: 0.7773 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.01606, allocations: 59.34 kB / 0.6313 GB, free: 0.707 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004407/0.0165, allocations: 457.7 kB / 0.6318 GB, free: 260 kB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.132e-05/0.01653, allocations: 25.7 kB / 0.6318 GB, free: 228 kB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 9.679e-05/0.01663, allocations: 196.4 kB / 0.632 GB, free: 28 kB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.634e-05/0.01667, allocations: 43.8 kB / 0.632 GB, free: 15.98 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.908e-05/0.01674, allocations: 49.69 kB / 0.6321 GB, free: 15.93 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.025e-05/0.01683, allocations: 354.8 kB / 0.6324 GB, free: 15.57 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003632/0.01719, allocations: 345.7 kB / 0.6327 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003481/0.01754, allocations: 346.9 kB / 0.6331 GB, free: 14.88 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006218/0.01816, allocations: 0.5359 MB / 0.6336 GB, free: 14.34 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.01817, allocations: 0 / 0.6336 GB, free: 14.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008157/0.01898, allocations: 0.7791 MB / 0.6344 GB, free: 13.54 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.499e-05/0.01902, allocations: 49.62 kB / 0.6344 GB, free: 13.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.01902, allocations: 0 / 0.6344 GB, free: 13.49 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.01903, allocations: 0 / 0.6344 GB, free: 13.49 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002196/0.01925, allocations: 71.91 kB / 0.6345 GB, free: 13.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.01926, allocations: 3.938 kB / 0.6345 GB, free: 13.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.01942, allocations: 51.8 kB / 0.6345 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.154e-05/0.01944, allocations: 15.98 kB / 0.6345 GB, free: 13.35 MB / 0.6042 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.0001201/0.01956, allocations: 166.7 kB / 0.6347 GB, free: 13.18 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.743e-05/0.0196, allocations: 35.77 kB / 0.6347 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006881/0.02029, allocations: 468 kB / 0.6352 GB, free: 12.68 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.02029, allocations: 4 kB / 0.6352 GB, free: 12.68 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.0203, allocations: 0 / 0.6352 GB, free: 12.68 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.0203, allocations: 4 kB / 0.6352 GB, free: 12.68 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002375/0.02054, allocations: 300.9 kB / 0.6355 GB, free: 12.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.02054, allocations: 0 / 0.6355 GB, free: 12.35 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001812/0.02072, allocations: 59.92 kB / 0.6355 GB, free: 12.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.02072, allocations: 3.938 kB / 0.6355 GB, free: 12.29 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.02074, allocations: 11.98 kB / 0.6355 GB, free: 12.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.02074, allocations: 0 / 0.6355 GB, free: 12.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.02074, allocations: 4 kB / 0.6356 GB, free: 12.27 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006218/0.02136, allocations: 0.5145 MB / 0.6361 GB, free: 11.74 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.494e-05/0.02145, allocations: 59.69 kB / 0.6361 GB, free: 11.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.041e-05/0.02148, allocations: 7.922 kB / 0.6361 GB, free: 11.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001632/0.02164, allocations: 39.95 kB / 0.6362 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.468e-05/0.0217, allocations: 15.97 kB / 0.6362 GB, free: 11.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.02171, allocations: 11.98 kB / 0.6362 GB, free: 11.61 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001922/0.0219, allocations: 311.1 kB / 0.6365 GB, free: 11.31 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6e-08/0.0219, allocations: 0 / 0.6365 GB, free: 11.31 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002878/0.02219, allocations: 123.8 kB / 0.6366 GB, free: 11.19 MB / 0.6042 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.0002732/0.02246, allocations: 187 kB / 0.6368 GB, free: 10.99 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007692/0.02323, allocations: 0.6395 MB / 0.6374 GB, free: 10.34 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.02324, allocations: 0 / 0.6374 GB, free: 10.34 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002845/0.02352, allocations: 191.8 kB / 0.6376 GB, free: 10.15 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003155/0.02384, allocations: 77.72 kB / 0.6377 GB, free: 10.07 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008266/0.02466, allocations: 0.7195 MB / 0.6384 GB, free: 9.32 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.02493, allocations: 195.5 kB / 0.6385 GB, free: 9.105 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.02505, allocations: 32.47 kB / 0.6386 GB, free: 9.074 MB / 0.6042 GB Notification: Performance of SimCode: time 4.7e-07/0.02505, allocations: 0 / 0.6386 GB, free: 9.074 MB / 0.6042 GB Notification: Performance of Templates: time 0.00537/0.03042, allocations: 5.905 MB / 0.6443 GB, free: 3.207 MB / 0.6042 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: 5.541501417756081] Failed to read output from testmodel.py, exit status != 0: 0.03656846471130848 0.044548971 0.032794532 Calling exit ...