Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.00145/0.00145, allocations: 80.38 kB / 19.18 MB, free: 2.516 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.00172/0.00172, allocations: 166.5 kB / 22.46 MB, free: 5.375 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.505/1.505, allocations: 177.1 MB / 202.8 MB, free: 9.172 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.215/1.215, allocations: 154.6 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.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.6185 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.76e-05/2.937e-05, allocations: 6.047 kB / 0.6185 GB, free: 4.648 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003229/0.003258, allocations: 1.853 MB / 0.6203 GB, free: 2.793 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004906/0.008164, allocations: 3.456 MB / 0.6237 GB, free: 15.31 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.008279, allocations: 0 / 0.6237 GB, free: 15.31 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009303/0.009209, allocations: 187 kB / 0.6239 GB, free: 15.13 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003066/0.009516, allocations: 87.39 kB / 0.624 GB, free: 15.04 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001573/0.009673, allocations: 59.84 kB / 0.624 GB, free: 14.98 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000535/0.01021, allocations: 283 kB / 0.6243 GB, free: 14.71 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.151e-05/0.0103, allocations: 17.8 kB / 0.6243 GB, free: 14.69 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001697/0.01047, allocations: 107.7 kB / 0.6244 GB, free: 14.59 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000156/0.01063, allocations: 71.8 kB / 0.6245 GB, free: 14.52 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.797e-05/0.01065, allocations: 8 kB / 0.6245 GB, free: 14.51 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.363e-05/0.01075, allocations: 23.94 kB / 0.6245 GB, free: 14.48 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.399e-05/0.01083, allocations: 63.75 kB / 0.6246 GB, free: 14.42 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.052e-05/0.01091, allocations: 51.86 kB / 0.6246 GB, free: 14.37 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002974/0.01121, allocations: 199.2 kB / 0.6248 GB, free: 14.18 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.01121, allocations: 0 / 0.6248 GB, free: 14.18 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.032e-06/0.01121, allocations: 0 / 0.6248 GB, free: 14.18 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.01122, allocations: 4 kB / 0.6248 GB, free: 14.17 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009102/0.01213, allocations: 476.8 kB / 0.6253 GB, free: 13.68 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.01217, allocations: 13.47 kB / 0.6253 GB, free: 13.66 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000908/0.01307, allocations: 120.6 kB / 0.6254 GB, free: 13.55 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000508/0.01358, allocations: 205.9 kB / 0.6256 GB, free: 13.32 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.01359, allocations: 4.312 kB / 0.6256 GB, free: 13.32 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/0.01362, allocations: 8.375 kB / 0.6256 GB, free: 13.31 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004095/0.01403, allocations: 154.1 kB / 0.6258 GB, free: 13.15 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.01404, allocations: 192 / 0.6258 GB, free: 13.15 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.138e-05/0.01407, allocations: 12.12 kB / 0.6258 GB, free: 13.14 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.942e-05/0.0141, allocations: 11.98 kB / 0.6258 GB, free: 13.13 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004928/0.01459, allocations: 155.9 kB / 0.6259 GB, free: 12.98 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009071/0.0155, allocations: 388.2 kB / 0.6263 GB, free: 12.57 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004983/0.016, allocations: 189 kB / 0.6265 GB, free: 12.38 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000293/0.01629, allocations: 104.8 kB / 0.6266 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.01631, allocations: 0 / 0.6266 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/0.01634, allocations: 38.55 kB / 0.6266 GB, free: 12.22 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.122e-06/0.01635, allocations: 4 kB / 0.6266 GB, free: 12.22 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0009921/0.01734, allocations: 325.5 kB / 0.6269 GB, free: 11.89 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.411e-05/0.01739, allocations: 51.41 kB / 0.627 GB, free: 11.83 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002816/0.01767, allocations: 256.2 kB / 0.6272 GB, free: 11.57 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.0177, allocations: 29.7 kB / 0.6272 GB, free: 11.54 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.01786, allocations: 136.1 kB / 0.6274 GB, free: 11.4 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.218e-05/0.01792, allocations: 51.53 kB / 0.6274 GB, free: 11.35 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.544e-05/0.018, allocations: 29.7 kB / 0.6275 GB, free: 11.32 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001844/0.01818, allocations: 334.8 kB / 0.6278 GB, free: 10.98 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002668/0.01845, allocations: 83.92 kB / 0.6279 GB, free: 10.9 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002612/0.01871, allocations: 83.94 kB / 0.6279 GB, free: 10.82 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005402/0.01925, allocations: 182.7 kB / 0.6281 GB, free: 10.64 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.01925, allocations: 0 / 0.6281 GB, free: 10.64 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006331/0.01989, allocations: 245.3 kB / 0.6283 GB, free: 10.39 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.0199, allocations: 4 kB / 0.6283 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.01991, allocations: 4 kB / 0.6283 GB, free: 10.38 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.01992, allocations: 0 / 0.6283 GB, free: 10.38 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003133/0.02024, allocations: 35.95 kB / 0.6284 GB, free: 10.35 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.02024, allocations: 0 / 0.6284 GB, free: 10.35 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/0.02044, allocations: 11.98 kB / 0.6284 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.294e-05/0.02047, allocations: 15.98 kB / 0.6284 GB, free: 10.32 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 (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 prepare postOptimizeDAE: time 0.0001476/0.02062, allocations: 142.7 kB / 0.6285 GB, free: 10.17 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.764e-05/0.02067, allocations: 27.75 kB / 0.6286 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.324e-05/0.02075, allocations: 33.8 kB / 0.6286 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.02075, allocations: 4 kB / 0.6286 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.02075, allocations: 0 / 0.6286 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.02076, allocations: 0 / 0.6286 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002949/0.02105, allocations: 205.2 kB / 0.6288 GB, free: 9.875 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.02105, allocations: 4 kB / 0.6288 GB, free: 9.871 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002756/0.02133, allocations: 39.91 kB / 0.6288 GB, free: 9.832 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.02133, allocations: 0 / 0.6288 GB, free: 9.832 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.744e-05/0.02136, allocations: 11.98 kB / 0.6289 GB, free: 9.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/0.02137, allocations: 7.984 kB / 0.6289 GB, free: 9.812 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.02137, allocations: 0 / 0.6289 GB, free: 9.812 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007112/0.02208, allocations: 341.8 kB / 0.6292 GB, free: 9.465 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.02218, allocations: 43.77 kB / 0.6292 GB, free: 9.422 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.1e-05/0.02222, allocations: 4 kB / 0.6292 GB, free: 9.418 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000233/0.02246, allocations: 11.98 kB / 0.6292 GB, free: 9.406 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.656e-05/0.02252, allocations: 11.98 kB / 0.6293 GB, free: 9.395 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.978e-05/0.02254, allocations: 7.984 kB / 0.6293 GB, free: 9.387 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001946/0.02274, allocations: 183.1 kB / 0.6294 GB, free: 9.207 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.02274, allocations: 0 / 0.6294 GB, free: 9.207 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002765/0.02301, allocations: 36 kB / 0.6295 GB, free: 9.172 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.0001584/0.02317, allocations: 111.1 kB / 0.6296 GB, free: 9.051 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006272/0.0238, allocations: 179.8 kB / 0.6298 GB, free: 8.875 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.748e-06/0.02381, allocations: 4 kB / 0.6298 GB, free: 8.871 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002907/0.0241, allocations: 103.8 kB / 0.6299 GB, free: 8.77 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004558/0.02455, allocations: 50.97 kB / 0.6299 GB, free: 8.719 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009445/0.0255, allocations: 457.8 kB / 0.6303 GB, free: 8.25 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001429/0.02564, allocations: 132.1 kB / 0.6305 GB, free: 8.098 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002175/0.02586, allocations: 65.44 kB / 0.6305 GB, free: 8.035 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.747e-05/0.02594, allocations: 24.48 kB / 0.6306 GB, free: 8.012 MB / 0.545 GB Notification: Performance of SimCode: time 5.31e-07/0.02594, allocations: 0 / 0.6306 GB, free: 8.012 MB / 0.545 GB Notification: Performance of Templates: time 0.006808/0.03275, allocations: 2.712 MB / 0.6332 GB, free: 5.391 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.837137196213007] Failed to read output from testmodel.py, exit status != 0: 0.04210037365555763 0.072318885 0.055504577000000006 Calling exit ...