Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.00089/0.00089, allocations: 76.45 kB / 19.91 MB, free: 16 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.0008426/0.0008426, allocations: 165.9 kB / 23.18 MB, free: 1.387 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.9067/0.9067, allocations: 177.2 MB / 203.6 MB, free: 5.766 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.7119/0.7119, allocations: 154.7 MB / 414.7 MB, free: 0.7695 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.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") [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.0009867/0.0009867, allocations: 63.89 kB / 0.6195 GB, free: 13.15 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.501/0.502, allocations: 102 MB / 0.7191 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002651/0.5046, allocations: 1.831 MB / 0.7209 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.003603/0.5082, allocations: 3.416 MB / 0.7242 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001606/0.5084, allocations: 5.094 kB / 0.7242 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0008685/0.5092, allocations: 160.5 kB / 0.7244 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0002076/0.5094, allocations: 73.47 kB / 0.7245 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001597/0.5096, allocations: 58.52 kB / 0.7245 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0004817/0.5101, allocations: 275.2 kB / 0.7248 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.5102, allocations: 20.64 kB / 0.7248 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001759/0.5104, allocations: 102.1 kB / 0.7249 GB, free: 19.78 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001352/0.5105, allocations: 72.64 kB / 0.725 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.5105, allocations: 7.438 kB / 0.725 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 9.547e-05/0.5106, allocations: 27.59 kB / 0.725 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 8.019e-05/0.5107, allocations: 55.03 kB / 0.725 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 7.397e-05/0.5108, allocations: 72.48 kB / 0.7251 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002863/0.5111, allocations: 212.7 kB / 0.7253 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.5111, allocations: 3.938 kB / 0.7253 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.144e-06/0.5111, allocations: 1.156 kB / 0.7253 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.678e-06/0.5111, allocations: 0 / 0.7253 GB, free: 19.59 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.0006934/0.5118, allocations: 471 kB / 0.7258 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.5118, allocations: 9.188 kB / 0.7258 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002672/0.5121, allocations: 59.8 kB / 0.7258 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004014/0.5125, allocations: 201.8 kB / 0.726 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.5125, allocations: 1.719 kB / 0.726 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.5125, allocations: 3.969 kB / 0.726 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002933/0.5128, allocations: 149 kB / 0.7262 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.5128, allocations: 0 / 0.7262 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.5128, allocations: 5.703 kB / 0.7262 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.912e-05/0.5129, allocations: 9.547 kB / 0.7262 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002789/0.5131, allocations: 133.5 kB / 0.7263 GB, free: 18.92 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005327/0.5137, allocations: 377.4 kB / 0.7267 GB, free: 18.65 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002815/0.514, allocations: 162 kB / 0.7268 GB, free: 18.58 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001642/0.5141, allocations: 91.08 kB / 0.7269 GB, free: 18.55 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.5142, allocations: 6.438 kB / 0.7269 GB, free: 18.55 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.5142, allocations: 32.44 kB / 0.727 GB, free: 18.51 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.5142, allocations: 0 / 0.727 GB, free: 18.51 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.0005846/0.5148, allocations: 283.8 kB / 0.7272 GB, free: 18.41 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.5148, allocations: 56.94 kB / 0.7273 GB, free: 18.35 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002109/0.515, allocations: 247.5 kB / 0.7275 GB, free: 18.21 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.515, allocations: 30.98 kB / 0.7275 GB, free: 18.17 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.401e-05/0.5151, allocations: 132.4 kB / 0.7277 GB, free: 18.05 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.002e-05/0.5151, allocations: 44.67 kB / 0.7277 GB, free: 18.02 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.234e-05/0.5152, allocations: 31.98 kB / 0.7277 GB, free: 18 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.643e-05/0.5152, allocations: 340.1 kB / 0.7281 GB, free: 17.67 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.5154, allocations: 65.97 kB / 0.7281 GB, free: 17.66 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.5155, allocations: 75.7 kB / 0.7282 GB, free: 17.64 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002762/0.5158, allocations: 155.2 kB / 0.7284 GB, free: 17.59 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.5158, allocations: 0 / 0.7284 GB, free: 17.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003362/0.5161, allocations: 215.2 kB / 0.7286 GB, free: 17.51 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.5162, allocations: 9.531 kB / 0.7286 GB, free: 17.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.5162, allocations: 4.547 kB / 0.7286 GB, free: 17.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.5162, allocations: 1.562 kB / 0.7286 GB, free: 17.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.5163, allocations: 33.27 kB / 0.7286 GB, free: 17.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.5163, allocations: 0.6094 kB / 0.7286 GB, free: 17.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.877e-05/0.5164, allocations: 21.58 kB / 0.7286 GB, free: 17.49 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.5164, allocations: 8.156 kB / 0.7286 GB, free: 17.49 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.695e-05/0.5165, allocations: 141.5 kB / 0.7288 GB, free: 17.36 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.803e-05/0.5166, allocations: 23.64 kB / 0.7288 GB, free: 17.35 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.215e-05/0.5166, allocations: 27.97 kB / 0.7288 GB, free: 17.32 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.5166, allocations: 1.375 kB / 0.7288 GB, free: 17.32 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.5166, allocations: 1.156 kB / 0.7288 GB, free: 17.32 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.5166, allocations: 5.109 kB / 0.7288 GB, free: 17.32 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001878/0.5168, allocations: 202.2 kB / 0.729 GB, free: 17.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.5168, allocations: 3.938 kB / 0.729 GB, free: 17.15 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.5169, allocations: 37.58 kB / 0.7291 GB, free: 17.15 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.5169, allocations: 1.031 kB / 0.7291 GB, free: 17.15 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.5169, allocations: 6.469 kB / 0.7291 GB, free: 17.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.5169, allocations: 6.047 kB / 0.7291 GB, free: 17.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.5169, allocations: 0 / 0.7291 GB, free: 17.14 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003734/0.5173, allocations: 310.6 kB / 0.7294 GB, free: 16.96 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.511e-05/0.5174, allocations: 40.23 kB / 0.7294 GB, free: 16.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/0.5174, allocations: 2.047 kB / 0.7294 GB, free: 16.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.038e-05/0.5175, allocations: 15.52 kB / 0.7294 GB, free: 16.93 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.539e-05/0.5176, allocations: 18.16 kB / 0.7294 GB, free: 16.92 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.5176, allocations: 4.188 kB / 0.7294 GB, free: 16.92 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001239/0.5177, allocations: 181.5 kB / 0.7296 GB, free: 16.82 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5177, allocations: 0 / 0.7296 GB, free: 16.82 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002126/0.5179, allocations: 37.88 kB / 0.7297 GB, free: 16.81 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.000136/0.518, allocations: 110.5 kB / 0.7298 GB, free: 16.71 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003688/0.5184, allocations: 162.3 kB / 0.7299 GB, free: 16.68 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5184, allocations: 0 / 0.7299 GB, free: 16.68 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.5186, allocations: 89.11 kB / 0.73 GB, free: 16.66 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.5189, allocations: 53.27 kB / 0.73 GB, free: 16.64 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007136/0.5196, allocations: 0.491 MB / 0.7305 GB, free: 16.34 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001197/0.5197, allocations: 131.9 kB / 0.7307 GB, free: 16.25 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.444e-05/0.5198, allocations: 26.45 kB / 0.7307 GB, free: 16.24 MB / 0.6355 GB Notification: Performance of SimCode: time 1.212e-06/0.5198, allocations: 0 / 0.7307 GB, free: 16.24 MB / 0.6355 GB Notification: Performance of Templates: time 0.005667/0.5255, allocations: 2.779 MB / 0.7334 GB, free: 15.99 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.273867338197306] Failed to read output from testmodel.py, exit status != 0: 0.531420174986124 0.540524731 0.02743175 Calling exit ...