Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009535/0.0009535, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.0009823/0.0009823, allocations: 181 kB / 23.36 MB, free: 1.133 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.9577/0.9577, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108: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/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7641/0.7641, allocations: 154.6 MB / 414.8 MB, free: 0.5117 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/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 4.0.0/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_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 480 MB, free: 6.898 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.15e-05/1.262e-05, allocations: 5.859 kB / 480 MB, free: 6.895 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002601/0.002614, allocations: 1.967 MB / 482 MB, free: 4.957 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003679/0.006293, allocations: 3.735 MB / 485.7 MB, free: 1.246 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.025e-05/0.006383, allocations: 5.562 kB / 485.8 MB, free: 1.242 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006123/0.006996, allocations: 190 kB / 485.9 MB, free: 1.059 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000152/0.007148, allocations: 80.77 kB / 486 MB, free: 0.9805 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.871e-05/0.007246, allocations: 57.09 kB / 486.1 MB, free: 0.9258 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003348/0.007581, allocations: 284.8 kB / 486.4 MB, free: 0.6484 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.882e-05/0.00765, allocations: 22.44 kB / 486.4 MB, free: 0.625 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.007755, allocations: 104.4 kB / 486.5 MB, free: 0.5234 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.688e-05/0.007842, allocations: 60.44 kB / 486.5 MB, free: 476 kB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.007859, allocations: 8.938 kB / 486.5 MB, free: 468 kB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.763e-05/0.007936, allocations: 43.78 kB / 486.6 MB, free: 424 kB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 5.05e-05/0.007987, allocations: 53.53 kB / 486.6 MB, free: 372 kB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.4e-05/0.008031, allocations: 47.86 kB / 486.7 MB, free: 324 kB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001725/0.008203, allocations: 163.3 kB / 486.8 MB, free: 160 kB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.724e-06/0.008205, allocations: 0 / 486.8 MB, free: 160 kB / 442.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.008207, allocations: 5.219 kB / 486.9 MB, free: 156 kB / 442.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.00821, allocations: 0 / 486.9 MB, free: 156 kB / 442.7 MB 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.0004741/0.008685, allocations: 424.3 kB / 487.3 MB, free: 15.71 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.944e-05/0.008714, allocations: 12.02 kB / 487.3 MB, free: 15.7 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001795/0.008893, allocations: 51.52 kB / 487.3 MB, free: 15.66 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.009061, allocations: 205.7 kB / 487.5 MB, free: 15.43 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.035e-06/0.009069, allocations: 4.375 kB / 487.5 MB, free: 15.43 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.009079, allocations: 4.375 kB / 487.5 MB, free: 15.43 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.009223, allocations: 98.48 kB / 487.6 MB, free: 15.32 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.009231, allocations: 5.75 kB / 487.6 MB, free: 15.32 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.009242, allocations: 8.109 kB / 487.6 MB, free: 15.31 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.484e-05/0.009267, allocations: 15.91 kB / 487.7 MB, free: 15.29 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.312e-05/0.00932, allocations: 23.92 kB / 487.7 MB, free: 15.27 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002782/0.009598, allocations: 243.2 kB / 487.9 MB, free: 15.02 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.892e-05/0.009687, allocations: 73.25 kB / 488 MB, free: 14.94 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.334e-05/0.00973, allocations: 36.78 kB / 488 MB, free: 14.9 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.009744, allocations: 4 kB / 488 MB, free: 14.89 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.775e-05/0.009761, allocations: 38.5 kB / 488.1 MB, free: 14.85 MB / 458.7 MB Notification: Performance of pre-optimization done (n=13): time 9.02e-07/0.009762, allocations: 0.625 kB / 488.1 MB, free: 14.85 MB / 458.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001636/0.009926, allocations: 98.16 kB / 488.2 MB, free: 14.75 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.276e-05/0.009949, allocations: 51.41 kB / 488.2 MB, free: 14.69 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.01007, allocations: 235 kB / 488.4 MB, free: 14.45 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.01008, allocations: 29.7 kB / 488.5 MB, free: 14.41 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.892e-05/0.01012, allocations: 112.7 kB / 488.6 MB, free: 14.3 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.963e-05/0.01016, allocations: 44.62 kB / 488.6 MB, free: 14.26 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.425e-05/0.01021, allocations: 33.69 kB / 488.7 MB, free: 14.22 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.364e-05/0.01031, allocations: 334.8 kB / 489 MB, free: 13.88 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.511e-05/0.01034, allocations: 13.03 kB / 489 MB, free: 13.87 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.674e-05/0.01037, allocations: 15.98 kB / 489 MB, free: 13.86 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.294e-05/0.01044, allocations: 45.03 kB / 489.1 MB, free: 13.81 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.01044, allocations: 0 / 489.1 MB, free: 13.81 MB / 458.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 9.894e-05/0.01054, allocations: 89.75 kB / 489.2 MB, free: 13.72 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.558e-06/0.01055, allocations: 4 kB / 489.2 MB, free: 13.71 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.01056, allocations: 0 / 489.2 MB, free: 13.71 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.947e-06/0.01056, allocations: 1.547 kB / 489.2 MB, free: 13.71 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.01068, allocations: 39.84 kB / 489.2 MB, free: 13.68 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.514e-06/0.01068, allocations: 0.5938 kB / 489.2 MB, free: 13.68 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.38e-05/0.01074, allocations: 17.31 kB / 489.2 MB, free: 13.66 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.01074, allocations: 4 kB / 489.2 MB, free: 13.66 MB / 458.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 (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 6.224e-05/0.01081, allocations: 112.7 kB / 489.3 MB, free: 13.54 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/0.01083, allocations: 28.84 kB / 489.4 MB, free: 13.51 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.552e-05/0.01087, allocations: 25.81 kB / 489.4 MB, free: 13.48 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.01087, allocations: 0.6875 kB / 489.4 MB, free: 13.48 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.01087, allocations: 3.984 kB / 489.4 MB, free: 13.48 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.01088, allocations: 3.812 kB / 489.4 MB, free: 13.48 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001352/0.01101, allocations: 125.8 kB / 489.5 MB, free: 13.34 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.01101, allocations: 3.984 kB / 489.5 MB, free: 13.33 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.291e-05/0.0111, allocations: 35.91 kB / 489.5 MB, free: 13.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.0111, allocations: 0 / 489.5 MB, free: 13.3 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.01111, allocations: 4 kB / 489.6 MB, free: 13.29 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.01111, allocations: 4.719 kB / 489.6 MB, free: 13.29 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.01111, allocations: 4 kB / 489.6 MB, free: 13.29 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.01124, allocations: 176.1 kB / 489.7 MB, free: 13.1 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.052e-05/0.01128, allocations: 36.44 kB / 489.8 MB, free: 13.06 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.0113, allocations: 9.875 kB / 489.8 MB, free: 13.05 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.616e-05/0.01137, allocations: 7.938 kB / 489.8 MB, free: 13.05 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.981e-05/0.01141, allocations: 15.97 kB / 489.8 MB, free: 13.03 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.75e-06/0.01141, allocations: 0 / 489.8 MB, free: 13.03 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.778e-05/0.01147, allocations: 88.58 kB / 489.9 MB, free: 12.94 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01147, allocations: 0.6875 kB / 489.9 MB, free: 12.94 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001492/0.01162, allocations: 43.95 kB / 489.9 MB, free: 12.9 MB / 458.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 9.107e-05/0.01171, allocations: 83.08 kB / 490 MB, free: 12.81 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000107/0.01182, allocations: 63.62 kB / 490.1 MB, free: 12.75 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.01182, allocations: 4 kB / 490.1 MB, free: 12.75 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.051e-05/0.01187, allocations: 40.83 kB / 490.1 MB, free: 12.7 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.01208, allocations: 52 kB / 490.2 MB, free: 12.65 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006378/0.01272, allocations: 421.6 kB / 490.6 MB, free: 12.21 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001513/0.01287, allocations: 87.77 kB / 490.7 MB, free: 12.11 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.903e-05/0.01294, allocations: 20.72 kB / 490.7 MB, free: 12.09 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.01307, allocations: 99.27 kB / 490.8 MB, free: 12 MB / 458.7 MB Notification: Performance of SimCode: time 6.12e-07/0.01307, allocations: 1.094 kB / 490.8 MB, free: 12 MB / 458.7 MB Notification: Performance of Templates: time 0.004028/0.01709, allocations: 2.733 MB / 493.5 MB, free: 9.484 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.48844315065071]