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.000792/0.000792, allocations: 76.45 kB / 19.9 MB, free: 12 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.0008346/0.0008346, 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.9686/0.9686, allocations: 177.2 MB / 203.6 MB, free: 5.754 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.741/0.741, allocations: 154.7 MB / 414.7 MB, free: 0.7383 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.001566/0.001566, allocations: 63.91 kB / 0.6195 GB, free: 13.12 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.52/0.5216, allocations: 102 MB / 0.7191 GB, free: 23.64 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002463/0.524, allocations: 1.844 MB / 0.7209 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.003239/0.5273, allocations: 3.459 MB / 0.7243 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001311/0.5274, allocations: 5.156 kB / 0.7243 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0007738/0.5282, allocations: 177.2 kB / 0.7245 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001912/0.5284, allocations: 82.06 kB / 0.7245 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001391/0.5285, allocations: 49.97 kB / 0.7246 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0004282/0.5289, allocations: 280.4 kB / 0.7249 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.529, allocations: 16.97 kB / 0.7249 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001352/0.5292, allocations: 109 kB / 0.725 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.5293, allocations: 82.19 kB / 0.7251 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.5293, allocations: 7.688 kB / 0.7251 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 8.128e-05/0.5294, allocations: 31.94 kB / 0.7251 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 7.439e-05/0.5295, allocations: 58.16 kB / 0.7251 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.982e-05/0.5295, allocations: 71.03 kB / 0.7252 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002513/0.5298, allocations: 206.8 kB / 0.7254 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.5298, allocations: 0.9844 kB / 0.7254 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.084e-06/0.5298, allocations: 1.094 kB / 0.7254 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.5298, allocations: 0 / 0.7254 GB, free: 19.52 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.0006363/0.5304, allocations: 476.9 kB / 0.7259 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.5305, allocations: 12.94 kB / 0.7259 GB, free: 19.13 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002492/0.5307, allocations: 61.89 kB / 0.7259 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003432/0.5311, allocations: 203.7 kB / 0.7261 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.5311, allocations: 5.516 kB / 0.7261 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.5311, allocations: 11.55 kB / 0.7262 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002784/0.5314, allocations: 145 kB / 0.7263 GB, free: 18.87 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.5314, allocations: 0 / 0.7263 GB, free: 18.87 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.5314, allocations: 5.188 kB / 0.7263 GB, free: 18.87 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.371e-05/0.5314, allocations: 9.594 kB / 0.7263 GB, free: 18.87 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002839/0.5317, allocations: 141.9 kB / 0.7264 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004976/0.5322, allocations: 392.4 kB / 0.7268 GB, free: 18.56 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002838/0.5325, allocations: 157.9 kB / 0.727 GB, free: 18.5 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001695/0.5327, allocations: 102.6 kB / 0.7271 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.5327, allocations: 1.281 kB / 0.7271 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.697e-05/0.5327, allocations: 33.84 kB / 0.7271 GB, free: 18.42 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 1.263e-06/0.5327, allocations: 0 / 0.7271 GB, free: 18.42 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.0005801/0.5333, allocations: 305.6 kB / 0.7274 GB, free: 18.31 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/0.5333, allocations: 53.25 kB / 0.7274 GB, free: 18.25 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001946/0.5335, allocations: 254.3 kB / 0.7277 GB, free: 18.11 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.5335, allocations: 26.58 kB / 0.7277 GB, free: 18.07 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.664e-05/0.5336, allocations: 137.1 kB / 0.7278 GB, free: 17.95 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.36e-05/0.5336, allocations: 44.58 kB / 0.7279 GB, free: 17.92 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-05/0.5337, allocations: 33.03 kB / 0.7279 GB, free: 17.89 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.803e-05/0.5337, allocations: 336.3 kB / 0.7282 GB, free: 17.57 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.5339, allocations: 81.09 kB / 0.7283 GB, free: 17.55 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.534, allocations: 77.7 kB / 0.7284 GB, free: 17.53 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002681/0.5342, allocations: 168.5 kB / 0.7285 GB, free: 17.47 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.5343, allocations: 1.094 kB / 0.7285 GB, free: 17.47 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000323/0.5346, allocations: 215.6 kB / 0.7287 GB, free: 17.39 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.5346, allocations: 7.406 kB / 0.7288 GB, free: 17.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.5346, allocations: 4.984 kB / 0.7288 GB, free: 17.39 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.5346, allocations: 1.125 kB / 0.7288 GB, free: 17.39 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.5348, allocations: 41.05 kB / 0.7288 GB, free: 17.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.5348, allocations: 1.031 kB / 0.7288 GB, free: 17.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.349e-05/0.5349, allocations: 21.48 kB / 0.7288 GB, free: 17.37 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.5349, allocations: 8.797 kB / 0.7288 GB, free: 17.37 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.078e-05/0.535, allocations: 145.6 kB / 0.729 GB, free: 17.23 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.002e-05/0.535, allocations: 27.06 kB / 0.729 GB, free: 17.22 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.792e-05/0.535, allocations: 29.14 kB / 0.729 GB, free: 17.2 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.535, allocations: 1.375 kB / 0.729 GB, free: 17.2 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.535, allocations: 0 / 0.729 GB, free: 17.2 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.535, allocations: 6.172 kB / 0.729 GB, free: 17.2 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001804/0.5352, allocations: 202.1 kB / 0.7292 GB, free: 17.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.5352, allocations: 0 / 0.7292 GB, free: 17.04 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.5353, allocations: 33.28 kB / 0.7293 GB, free: 17.04 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.5353, allocations: 2 kB / 0.7293 GB, free: 17.04 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.5353, allocations: 6.688 kB / 0.7293 GB, free: 17.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.5353, allocations: 0 / 0.7293 GB, free: 17.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.5353, allocations: 1.812 kB / 0.7293 GB, free: 17.04 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003493/0.5357, allocations: 334.4 kB / 0.7296 GB, free: 16.84 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.636e-05/0.5357, allocations: 37.53 kB / 0.7296 GB, free: 16.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.024e-05/0.5358, allocations: 4.703 kB / 0.7296 GB, free: 16.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.073e-05/0.5359, allocations: 12.53 kB / 0.7296 GB, free: 16.81 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.649e-05/0.5359, allocations: 12.95 kB / 0.7296 GB, free: 16.81 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.869e-06/0.5359, allocations: 5.141 kB / 0.7297 GB, free: 16.81 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001145/0.536, allocations: 190.8 kB / 0.7298 GB, free: 16.7 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.536, allocations: 0 / 0.7298 GB, free: 16.7 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001999/0.5362, allocations: 38.88 kB / 0.7299 GB, free: 16.7 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.0001322/0.5364, allocations: 106.2 kB / 0.73 GB, free: 16.6 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000341/0.5367, allocations: 167.2 kB / 0.7301 GB, free: 16.56 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.5367, allocations: 5.031 kB / 0.7301 GB, free: 16.56 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.5369, allocations: 88.88 kB / 0.7302 GB, free: 16.54 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000309/0.5372, allocations: 69.73 kB / 0.7303 GB, free: 16.5 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006546/0.5378, allocations: 485.8 kB / 0.7308 GB, free: 16.22 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.5379, allocations: 137.7 kB / 0.7309 GB, free: 16.14 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001166/0.5381, allocations: 48.12 kB / 0.7309 GB, free: 16.14 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.895e-05/0.5381, allocations: 20.44 kB / 0.7309 GB, free: 16.13 MB / 0.6355 GB Notification: Performance of SimCode: time 7.82e-07/0.5381, allocations: 0 / 0.7309 GB, free: 16.13 MB / 0.6355 GB Notification: Performance of Templates: time 0.005156/0.5433, allocations: 2.633 MB / 0.7335 GB, free: 15.82 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.394341264967807] Failed to read output from testmodel.py, exit status != 0: 0.5521823009476066 0.5677136150000001 0.034717387 Calling exit ...