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.0009993/0.0009993, allocations: 76.45 kB / 19.91 MB, free: 20 kB / 13.93 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.001119/0.001119, allocations: 169.9 kB / 23.18 MB, free: 1.379 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.9344/0.9344, allocations: 177.2 MB / 203.6 MB, free: 5.762 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-531:686: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-531:694: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.7301/0.7301, allocations: 154.7 MB / 414.7 MB, free: 0.7227 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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001015/0.001015, allocations: 71.89 kB / 0.6195 GB, free: 13.1 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4746/0.4756, allocations: 102 MB / 0.7191 GB, free: 23.61 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002575/0.4782, allocations: 1.848 MB / 0.7209 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.003372/0.4816, allocations: 3.458 MB / 0.7243 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001671/0.4817, allocations: 1.438 kB / 0.7243 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.000999/0.4827, allocations: 180.5 kB / 0.7245 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0002355/0.483, allocations: 86.8 kB / 0.7245 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001539/0.4831, allocations: 49.23 kB / 0.7246 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0004551/0.4836, allocations: 282 kB / 0.7249 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.4837, allocations: 15.91 kB / 0.7249 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001439/0.4838, allocations: 108.9 kB / 0.725 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.484, allocations: 85.45 kB / 0.7251 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.484, allocations: 7.688 kB / 0.7251 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 8.968e-05/0.4841, allocations: 28.75 kB / 0.7251 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 7.845e-05/0.4841, allocations: 58.31 kB / 0.7251 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.406e-05/0.4842, allocations: 75.72 kB / 0.7252 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000269/0.4845, allocations: 220.2 kB / 0.7254 GB, free: 19.47 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.4845, allocations: 0 / 0.7254 GB, free: 19.47 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4845, allocations: 1.219 kB / 0.7254 GB, free: 19.47 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.4845, allocations: 0 / 0.7254 GB, free: 19.47 MB / 0.6355 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.0006822/0.4852, allocations: 472.3 kB / 0.7259 GB, free: 19.1 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.863e-05/0.4852, allocations: 10.3 kB / 0.7259 GB, free: 19.1 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002864/0.4855, allocations: 64.75 kB / 0.726 GB, free: 19.08 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004065/0.4859, allocations: 203.6 kB / 0.7261 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.4859, allocations: 11.55 kB / 0.7262 GB, free: 18.9 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.486, allocations: 3.984 kB / 0.7262 GB, free: 18.9 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003266/0.4863, allocations: 146.2 kB / 0.7263 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.4863, allocations: 4 kB / 0.7263 GB, free: 18.83 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.4863, allocations: 0 / 0.7263 GB, free: 18.83 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.379e-05/0.4863, allocations: 15.28 kB / 0.7263 GB, free: 18.83 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003058/0.4867, allocations: 136.8 kB / 0.7264 GB, free: 18.8 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006332/0.4873, allocations: 395.4 kB / 0.7268 GB, free: 18.52 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003159/0.4876, allocations: 158.7 kB / 0.727 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001873/0.4878, allocations: 95.08 kB / 0.7271 GB, free: 18.43 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.4878, allocations: 5.469 kB / 0.7271 GB, free: 18.43 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.4878, allocations: 32.61 kB / 0.7271 GB, free: 18.39 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 1.874e-06/0.4878, allocations: 4 kB / 0.7271 GB, free: 18.38 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.0006242/0.4885, allocations: 299.1 kB / 0.7274 GB, free: 18.28 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/0.4885, allocations: 52.59 kB / 0.7274 GB, free: 18.21 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000214/0.4887, allocations: 254.9 kB / 0.7277 GB, free: 18.07 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.4887, allocations: 31.2 kB / 0.7277 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.798e-05/0.4888, allocations: 133.7 kB / 0.7278 GB, free: 17.92 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.065e-05/0.4888, allocations: 48.58 kB / 0.7279 GB, free: 17.88 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.795e-05/0.4889, allocations: 31.02 kB / 0.7279 GB, free: 17.86 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.224e-05/0.4889, allocations: 337.2 kB / 0.7282 GB, free: 17.53 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001499/0.4891, allocations: 72.86 kB / 0.7283 GB, free: 17.52 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.4892, allocations: 78.33 kB / 0.7284 GB, free: 17.5 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002877/0.4895, allocations: 170 kB / 0.7285 GB, free: 17.44 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.4895, allocations: 0 / 0.7285 GB, free: 17.44 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003489/0.4899, allocations: 220.9 kB / 0.7288 GB, free: 17.36 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.4899, allocations: 5.25 kB / 0.7288 GB, free: 17.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.4899, allocations: 0 / 0.7288 GB, free: 17.36 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.4899, allocations: 6.578 kB / 0.7288 GB, free: 17.35 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.4901, allocations: 35.33 kB / 0.7288 GB, free: 17.35 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.4901, allocations: 1.719 kB / 0.7288 GB, free: 17.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.297e-05/0.4902, allocations: 22.12 kB / 0.7288 GB, free: 17.34 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.4902, allocations: 11.5 kB / 0.7288 GB, free: 17.33 MB / 0.6355 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 8.64e-05/0.4903, allocations: 138 kB / 0.729 GB, free: 17.21 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.217e-05/0.4903, allocations: 26.77 kB / 0.729 GB, free: 17.19 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.376e-05/0.4903, allocations: 33.42 kB / 0.729 GB, free: 17.17 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.4903, allocations: 8.984 kB / 0.729 GB, free: 17.16 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.4903, allocations: 1.984 kB / 0.729 GB, free: 17.16 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.4903, allocations: 0.6562 kB / 0.729 GB, free: 17.16 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001977/0.4905, allocations: 202.4 kB / 0.7292 GB, free: 17 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.4905, allocations: 0 / 0.7292 GB, free: 17 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001205/0.4907, allocations: 36.78 kB / 0.7293 GB, free: 17 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.4907, allocations: 2.062 kB / 0.7293 GB, free: 17 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.4907, allocations: 2.969 kB / 0.7293 GB, free: 17 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.4907, allocations: 0 / 0.7293 GB, free: 17 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.4907, allocations: 5.156 kB / 0.7293 GB, free: 17 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003903/0.4911, allocations: 334.9 kB / 0.7296 GB, free: 16.8 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.922e-05/0.4911, allocations: 37.64 kB / 0.7296 GB, free: 16.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.185e-05/0.4912, allocations: 1.672 kB / 0.7296 GB, free: 16.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.664e-05/0.4913, allocations: 16.56 kB / 0.7296 GB, free: 16.77 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.884e-05/0.4913, allocations: 9.5 kB / 0.7297 GB, free: 16.77 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.4913, allocations: 7.609 kB / 0.7297 GB, free: 16.77 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001325/0.4915, allocations: 184.1 kB / 0.7298 GB, free: 16.67 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4915, allocations: 0 / 0.7298 GB, free: 16.67 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002045/0.4917, allocations: 39.03 kB / 0.7299 GB, free: 16.66 MB / 0.6355 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.0001341/0.4918, allocations: 113.1 kB / 0.73 GB, free: 16.56 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003519/0.4922, allocations: 164.2 kB / 0.7301 GB, free: 16.53 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4922, allocations: 0 / 0.7301 GB, free: 16.53 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.4923, allocations: 97.95 kB / 0.7302 GB, free: 16.5 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/0.4926, allocations: 59.5 kB / 0.7303 GB, free: 16.47 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007262/0.4934, allocations: 0.5112 MB / 0.7308 GB, free: 16.15 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001151/0.4935, allocations: 134.5 kB / 0.7309 GB, free: 16.08 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.488e-05/0.4936, allocations: 25.56 kB / 0.7309 GB, free: 16.07 MB / 0.6355 GB Notification: Performance of SimCode: time 1.082e-06/0.4936, allocations: 1.406 kB / 0.7309 GB, free: 16.07 MB / 0.6355 GB Notification: Performance of Templates: time 0.005064/0.4986, allocations: 2.945 MB / 0.7338 GB, free: 15.81 MB / 0.6355 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.875476151006296] Failed to read output from testmodel.py, exit status != 0: 0.5056473910808563 0.5150855959999999 0.02853628799999994 Calling exit ...