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.0008696/0.0008696, allocations: 80.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.0008609/0.0008609, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.9379/0.9379, allocations: 177.2 MB / 203.6 MB, free: 5.746 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.737/0.737, allocations: 154.7 MB / 414.7 MB, free: 0.7305 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.001342/0.001342, allocations: 71.89 kB / 0.6195 GB, free: 13.13 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.4628/0.4642, allocations: 102 MB / 0.7191 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002624/0.4668, allocations: 1.845 MB / 0.7209 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.003168/0.47, allocations: 3.461 MB / 0.7243 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.4701, allocations: 2.344 kB / 0.7243 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.000736/0.4708, allocations: 176 kB / 0.7245 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.000184/0.471, allocations: 82.3 kB / 0.7245 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001318/0.4711, allocations: 54.5 kB / 0.7246 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0004106/0.4715, allocations: 276.7 kB / 0.7249 GB, free: 19.78 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.074e-05/0.4716, allocations: 20.69 kB / 0.7249 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.4718, allocations: 113.7 kB / 0.725 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.4719, allocations: 76.48 kB / 0.7251 GB, free: 19.69 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.158e-05/0.4719, allocations: 11.69 kB / 0.7251 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 8.202e-05/0.472, allocations: 29.17 kB / 0.7251 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 6.311e-05/0.4721, allocations: 59.12 kB / 0.7251 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 7.128e-05/0.4721, allocations: 74.03 kB / 0.7252 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002449/0.4724, allocations: 202.8 kB / 0.7254 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.4724, allocations: 0 / 0.7254 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.044e-06/0.4724, allocations: 5.156 kB / 0.7254 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.4724, 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.0005913/0.473, allocations: 472.8 kB / 0.7259 GB, free: 19.15 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.473, allocations: 9.5 kB / 0.7259 GB, free: 19.15 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002317/0.4733, allocations: 64.89 kB / 0.7259 GB, free: 19.13 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003005/0.4736, allocations: 208.4 kB / 0.7261 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.4736, allocations: 2.625 kB / 0.7261 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.523e-05/0.4736, allocations: 3.688 kB / 0.7261 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002389/0.4738, allocations: 144.3 kB / 0.7263 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.4738, allocations: 3.938 kB / 0.7263 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.4738, allocations: 0 / 0.7263 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.378e-05/0.4739, allocations: 19.03 kB / 0.7263 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002615/0.4741, allocations: 140.9 kB / 0.7264 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004634/0.4746, allocations: 388.8 kB / 0.7268 GB, free: 18.57 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000261/0.4749, allocations: 166.4 kB / 0.727 GB, free: 18.5 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001544/0.475, allocations: 98.27 kB / 0.7271 GB, free: 18.47 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.475, allocations: 1.375 kB / 0.7271 GB, free: 18.47 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.475, allocations: 37.84 kB / 0.7271 GB, free: 18.43 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.475, allocations: 0 / 0.7271 GB, free: 18.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.0005215/0.4756, allocations: 297.8 kB / 0.7274 GB, free: 18.32 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.471e-05/0.4756, allocations: 54.3 kB / 0.7274 GB, free: 18.26 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/0.4758, allocations: 255.2 kB / 0.7277 GB, free: 18.12 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.4758, allocations: 25.7 kB / 0.7277 GB, free: 18.09 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.415e-05/0.4758, allocations: 137 kB / 0.7278 GB, free: 17.96 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.518e-05/0.4759, allocations: 49.36 kB / 0.7279 GB, free: 17.93 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.801e-05/0.4759, allocations: 32.03 kB / 0.7279 GB, free: 17.9 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.168e-05/0.476, allocations: 337.1 kB / 0.7282 GB, free: 17.58 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.4761, allocations: 72.3 kB / 0.7283 GB, free: 17.56 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.4762, allocations: 80.83 kB / 0.7284 GB, free: 17.54 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002761/0.4765, allocations: 168.8 kB / 0.7285 GB, free: 17.49 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4765, allocations: 0 / 0.7285 GB, free: 17.49 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000346/0.4769, allocations: 220.1 kB / 0.7287 GB, free: 17.4 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.4769, allocations: 5.75 kB / 0.7288 GB, free: 17.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.4769, allocations: 7.922 kB / 0.7288 GB, free: 17.39 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.4769, allocations: 1.062 kB / 0.7288 GB, free: 17.39 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001544/0.4771, allocations: 37.94 kB / 0.7288 GB, free: 17.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.4771, allocations: 1.219 kB / 0.7288 GB, free: 17.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.459e-05/0.4771, allocations: 25.23 kB / 0.7288 GB, free: 17.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.4772, allocations: 3.547 kB / 0.7288 GB, free: 17.38 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.299e-05/0.4772, allocations: 146.2 kB / 0.729 GB, free: 17.25 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.052e-05/0.4773, allocations: 27.56 kB / 0.729 GB, free: 17.23 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.068e-05/0.4773, allocations: 28.25 kB / 0.729 GB, free: 17.21 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.4773, allocations: 2.312 kB / 0.729 GB, free: 17.21 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.4773, allocations: 0.6094 kB / 0.729 GB, free: 17.21 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.4773, allocations: 1.859 kB / 0.729 GB, free: 17.21 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/0.4775, allocations: 205.5 kB / 0.7292 GB, free: 17.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.4775, allocations: 0 / 0.7292 GB, free: 17.05 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.4776, allocations: 38.09 kB / 0.7293 GB, free: 17.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.4776, allocations: 4 kB / 0.7293 GB, free: 17.04 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.4776, allocations: 3.516 kB / 0.7293 GB, free: 17.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.4776, allocations: 1.469 kB / 0.7293 GB, free: 17.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4776, allocations: 0 / 0.7293 GB, free: 17.04 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003705/0.478, allocations: 330.2 kB / 0.7296 GB, free: 16.85 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.052e-05/0.4781, allocations: 37.31 kB / 0.7296 GB, free: 16.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.4781, allocations: 9.625 kB / 0.7296 GB, free: 16.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.911e-05/0.4782, allocations: 12.59 kB / 0.7296 GB, free: 16.82 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.097e-05/0.4782, allocations: 12.95 kB / 0.7297 GB, free: 16.82 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.088e-06/0.4782, allocations: 4.984 kB / 0.7297 GB, free: 16.82 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001203/0.4783, allocations: 183.7 kB / 0.7298 GB, free: 16.71 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4783, allocations: 0 / 0.7298 GB, free: 16.71 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001876/0.4785, allocations: 38.53 kB / 0.7299 GB, free: 16.71 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.0001179/0.4787, allocations: 110.4 kB / 0.73 GB, free: 16.61 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003363/0.479, allocations: 168 kB / 0.7301 GB, free: 16.57 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.479, allocations: 0 / 0.7301 GB, free: 16.57 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001411/0.4791, allocations: 93 kB / 0.7302 GB, free: 16.55 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003155/0.4794, allocations: 62.06 kB / 0.7303 GB, free: 16.52 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006856/0.4801, allocations: 493.2 kB / 0.7308 GB, free: 16.24 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001173/0.4803, allocations: 133.5 kB / 0.7309 GB, free: 16.16 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001297/0.4804, allocations: 56.38 kB / 0.7309 GB, free: 16.15 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.524e-05/0.4804, allocations: 24.19 kB / 0.731 GB, free: 16.14 MB / 0.6355 GB Notification: Performance of SimCode: time 4.51e-07/0.4804, allocations: 0 / 0.731 GB, free: 16.14 MB / 0.6355 GB Notification: Performance of Templates: time 0.004899/0.4853, allocations: 2.628 MB / 0.7335 GB, free: 15.83 MB / 0.6355 GB " [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=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.282388665014878] Failed to read output from testmodel.py, exit status != 0: 0.492309013963677 0.5042919650000001 0.029242224 Calling exit ...