Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.001465/0.001465, allocations: 78.72 kB / 19.18 MB, free: 2.523 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.001695/0.001695, allocations: 166.9 kB / 22.46 MB, free: 5.371 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.448/1.448, allocations: 177.2 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.187/1.187, allocations: 154.6 MB / 413.7 MB, free: 5.281 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.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.21e-06/5.21e-06, allocations: 3.984 kB / 0.6185 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.308e-05/3.829e-05, allocations: 7.188 kB / 0.6185 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003559/0.003597, allocations: 1.982 MB / 0.6205 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005807/0.009404, allocations: 3.907 MB / 0.6243 GB, free: 14.71 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001687/0.009573, allocations: 3.938 kB / 0.6243 GB, free: 14.71 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009928/0.01057, allocations: 187 kB / 0.6245 GB, free: 14.53 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001609/0.01073, allocations: 67.36 kB / 0.6245 GB, free: 14.46 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000921/0.01165, allocations: 307.1 kB / 0.6248 GB, free: 14.16 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007541/0.0124, allocations: 410.6 kB / 0.6252 GB, free: 13.76 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.01254, allocations: 44.53 kB / 0.6253 GB, free: 13.71 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002275/0.01277, allocations: 147.7 kB / 0.6254 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001946/0.01296, allocations: 103.7 kB / 0.6255 GB, free: 13.47 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.476e-05/0.01301, allocations: 16 kB / 0.6255 GB, free: 13.45 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000603/0.01361, allocations: 307.5 kB / 0.6258 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000148/0.01376, allocations: 111.6 kB / 0.6259 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001332/0.01389, allocations: 95.7 kB / 0.626 GB, free: 12.95 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007944/0.01469, allocations: 0.5802 MB / 0.6266 GB, free: 12.37 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.01469, allocations: 0 / 0.6266 GB, free: 12.37 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.733e-06/0.01469, allocations: 0 / 0.6266 GB, free: 12.37 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.163e-05/0.01471, allocations: 0 / 0.6266 GB, free: 12.37 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001413/0.01612, allocations: 0.6886 MB / 0.6272 GB, free: 11.64 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.01616, allocations: 13.47 kB / 0.6273 GB, free: 11.63 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/0.01726, allocations: 156.5 kB / 0.6274 GB, free: 11.48 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007616/0.01803, allocations: 299.9 kB / 0.6277 GB, free: 11.16 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.01804, allocations: 4.375 kB / 0.6277 GB, free: 11.16 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.297e-05/0.01807, allocations: 8.375 kB / 0.6277 GB, free: 11.15 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006159/0.01869, allocations: 217.9 kB / 0.6279 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.0187, allocations: 192 / 0.6279 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.64e-05/0.01872, allocations: 12.06 kB / 0.6279 GB, free: 10.92 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.01873, allocations: 4 kB / 0.6279 GB, free: 10.91 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008096/0.01954, allocations: 259.8 kB / 0.6282 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001129/0.02067, allocations: 0.5117 MB / 0.6287 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005115/0.02118, allocations: 178.5 kB / 0.6288 GB, free: 9.934 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004254/0.02161, allocations: 132.8 kB / 0.629 GB, free: 9.801 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.064e-05/0.02167, allocations: 23.98 kB / 0.629 GB, free: 9.777 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.0217, allocations: 34.56 kB / 0.629 GB, free: 9.734 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.463e-06/0.0217, allocations: 0 / 0.629 GB, free: 9.734 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.001457/0.02316, allocations: 469.4 kB / 0.6295 GB, free: 9.27 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.0232, allocations: 55.41 kB / 0.6295 GB, free: 9.203 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005045/0.02371, allocations: 417.9 kB / 0.6299 GB, free: 8.797 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.826e-05/0.02374, allocations: 33.7 kB / 0.63 GB, free: 8.758 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000169/0.02391, allocations: 184 kB / 0.6301 GB, free: 8.574 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.874e-05/0.02396, allocations: 39.64 kB / 0.6302 GB, free: 8.535 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.02407, allocations: 41.69 kB / 0.6302 GB, free: 8.488 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001962/0.02426, allocations: 354.7 kB / 0.6305 GB, free: 8.133 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004951/0.02476, allocations: 213.6 kB / 0.6308 GB, free: 7.918 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005088/0.02527, allocations: 221.6 kB / 0.631 GB, free: 7.695 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009446/0.02621, allocations: 375.5 kB / 0.6313 GB, free: 7.32 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.02622, allocations: 0 / 0.6313 GB, free: 7.32 MB / 0.545 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001163/0.02738, allocations: 0.53 MB / 0.6318 GB, free: 6.773 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.052e-05/0.02744, allocations: 48.03 kB / 0.6319 GB, free: 6.723 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.02744, allocations: 0 / 0.6319 GB, free: 6.723 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.02746, allocations: 0 / 0.6319 GB, free: 6.723 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003857/0.02785, allocations: 51.92 kB / 0.6319 GB, free: 6.672 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.02786, allocations: 7.938 kB / 0.6319 GB, free: 6.664 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003124/0.02817, allocations: 35.84 kB / 0.632 GB, free: 6.629 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.876e-05/0.0282, allocations: 4 kB / 0.632 GB, free: 6.625 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 (12): * Single equations (assignments): 11 * 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.0001992/0.0284, allocations: 162.7 kB / 0.6321 GB, free: 6.457 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.703e-05/0.02847, allocations: 39.75 kB / 0.6322 GB, free: 6.418 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001124/0.0296, allocations: 372.6 kB / 0.6325 GB, free: 6.047 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.0296, allocations: 0 / 0.6325 GB, free: 6.047 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.02961, allocations: 8 kB / 0.6325 GB, free: 6.039 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.02961, allocations: 0 / 0.6325 GB, free: 6.039 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003877/0.03, allocations: 268.9 kB / 0.6328 GB, free: 5.746 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.03, allocations: 0 / 0.6328 GB, free: 5.746 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000346/0.03034, allocations: 47.94 kB / 0.6328 GB, free: 5.699 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.03035, allocations: 0 / 0.6328 GB, free: 5.699 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.03037, allocations: 7.922 kB / 0.6328 GB, free: 5.691 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.348e-06/0.03038, allocations: 11.94 kB / 0.6329 GB, free: 5.68 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.03038, allocations: 0 / 0.6329 GB, free: 5.68 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.03139, allocations: 439 kB / 0.6333 GB, free: 5.234 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.03152, allocations: 55.67 kB / 0.6333 GB, free: 5.18 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.125e-05/0.03157, allocations: 3.984 kB / 0.6333 GB, free: 5.176 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003057/0.03187, allocations: 27.97 kB / 0.6334 GB, free: 5.148 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.394e-05/0.03196, allocations: 19.97 kB / 0.6334 GB, free: 5.129 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/0.03198, allocations: 4 kB / 0.6334 GB, free: 5.125 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003388/0.03232, allocations: 299.1 kB / 0.6337 GB, free: 4.832 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.03232, allocations: 0 / 0.6337 GB, free: 4.832 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000522/0.03284, allocations: 115.8 kB / 0.6338 GB, free: 4.719 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 (11): * Single equations (assignments): 11 * 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.0003994/0.03324, allocations: 186.9 kB / 0.634 GB, free: 4.527 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001121/0.03436, allocations: 480.8 kB / 0.6344 GB, free: 4.039 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.03436, allocations: 0 / 0.6344 GB, free: 4.039 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004556/0.03482, allocations: 147.8 kB / 0.6346 GB, free: 3.895 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004935/0.03531, allocations: 59.47 kB / 0.6346 GB, free: 3.84 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.03656, allocations: 0.6181 MB / 0.6352 GB, free: 3.191 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002045/0.03676, allocations: 187.2 kB / 0.6354 GB, free: 2.992 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002324/0.03699, allocations: 53.92 kB / 0.6354 GB, free: 2.938 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.03711, allocations: 40.41 kB / 0.6355 GB, free: 2.895 MB / 0.545 GB Notification: Performance of SimCode: time 7.71e-07/0.03711, allocations: 3.938 kB / 0.6355 GB, free: 2.891 MB / 0.545 GB Notification: Performance of Templates: time 0.01111/0.04822, allocations: 5.186 MB / 0.6406 GB, free: 13.8 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.7960729487240314] Failed to read output from testmodel.py, exit status != 0: 0.05769635736942291 0.075248389 0.056745615000000006 Calling exit ...