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.0008778/0.0008778, 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.0008754/0.0008754, 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.9379/0.9379, allocations: 177.2 MB / 203.6 MB, free: 5.773 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.7592/0.7592, allocations: 154.7 MB / 414.7 MB, free: 0.7734 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.001342/0.001342, allocations: 67.84 kB / 0.6195 GB, free: 13.16 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.5063/0.5077, allocations: 102 MB / 0.7191 GB, free: 23.63 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002634/0.5103, allocations: 1.826 MB / 0.7209 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.003389/0.5137, allocations: 3.407 MB / 0.7242 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.5138, allocations: 5.094 kB / 0.7242 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0008492/0.5147, allocations: 165.5 kB / 0.7244 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0002285/0.5149, allocations: 73.75 kB / 0.7244 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001698/0.5151, allocations: 56.41 kB / 0.7245 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0004805/0.5156, allocations: 276.8 kB / 0.7248 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.5157, allocations: 17.05 kB / 0.7248 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001494/0.5158, allocations: 105.8 kB / 0.7249 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.516, allocations: 71.53 kB / 0.725 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.516, allocations: 7.688 kB / 0.725 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 8.76e-05/0.5161, allocations: 28.08 kB / 0.725 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 7.54e-05/0.5161, allocations: 54.97 kB / 0.725 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.632e-05/0.5162, allocations: 72.5 kB / 0.7251 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002559/0.5165, allocations: 198.9 kB / 0.7253 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.5165, allocations: 3.938 kB / 0.7253 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.144e-06/0.5165, allocations: 0 / 0.7253 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.5165, allocations: 1.219 kB / 0.7253 GB, free: 19.57 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.0006382/0.5171, allocations: 470.9 kB / 0.7258 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.5172, allocations: 9.406 kB / 0.7258 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002434/0.5174, allocations: 60.06 kB / 0.7258 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003455/0.5177, allocations: 200.3 kB / 0.726 GB, free: 19 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.5178, allocations: 3.094 kB / 0.726 GB, free: 19 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.5178, allocations: 8.172 kB / 0.726 GB, free: 19 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002689/0.5181, allocations: 149.4 kB / 0.7262 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.5181, allocations: 0 / 0.7262 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.5181, allocations: 4 kB / 0.7262 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.863e-05/0.5181, allocations: 14.22 kB / 0.7262 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000274/0.5184, allocations: 132.4 kB / 0.7263 GB, free: 18.9 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005053/0.5189, allocations: 377 kB / 0.7267 GB, free: 18.63 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002842/0.5192, allocations: 158.2 kB / 0.7268 GB, free: 18.56 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001717/0.5193, allocations: 91.47 kB / 0.7269 GB, free: 18.54 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.5194, allocations: 5.625 kB / 0.7269 GB, free: 18.53 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.846e-05/0.5194, allocations: 32.83 kB / 0.7269 GB, free: 18.49 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 1.954e-06/0.5194, allocations: 0 / 0.7269 GB, free: 18.49 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.0005649/0.5199, allocations: 286.6 kB / 0.7272 GB, free: 18.39 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.52, allocations: 57.36 kB / 0.7273 GB, free: 18.33 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002093/0.5202, allocations: 247.8 kB / 0.7275 GB, free: 18.19 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.5202, allocations: 30.83 kB / 0.7275 GB, free: 18.15 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.892e-05/0.5203, allocations: 132.2 kB / 0.7277 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.815e-05/0.5203, allocations: 49.05 kB / 0.7277 GB, free: 18 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.137e-05/0.5203, allocations: 27.62 kB / 0.7277 GB, free: 17.98 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.055e-05/0.5204, allocations: 340.4 kB / 0.7281 GB, free: 17.65 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.5206, allocations: 66.12 kB / 0.7281 GB, free: 17.64 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.5207, allocations: 75.55 kB / 0.7282 GB, free: 17.62 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002832/0.521, allocations: 152.5 kB / 0.7283 GB, free: 17.57 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.521, allocations: 4.797 kB / 0.7283 GB, free: 17.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003609/0.5213, allocations: 214.5 kB / 0.7285 GB, free: 17.48 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.5214, allocations: 9.844 kB / 0.7286 GB, free: 17.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.5214, allocations: 3.938 kB / 0.7286 GB, free: 17.48 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.5214, allocations: 1.219 kB / 0.7286 GB, free: 17.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.5215, allocations: 33.61 kB / 0.7286 GB, free: 17.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.5216, allocations: 1.469 kB / 0.7286 GB, free: 17.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.621e-05/0.5216, allocations: 21.55 kB / 0.7286 GB, free: 17.47 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.5217, allocations: 7.891 kB / 0.7286 GB, free: 17.46 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 0.0001029/0.5218, allocations: 141.7 kB / 0.7288 GB, free: 17.34 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.212e-05/0.5218, allocations: 22.28 kB / 0.7288 GB, free: 17.32 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.633e-05/0.5218, allocations: 29.08 kB / 0.7288 GB, free: 17.3 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/0.5218, allocations: 2.719 kB / 0.7288 GB, free: 17.3 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.5218, allocations: 0 / 0.7288 GB, free: 17.3 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.5219, allocations: 4.594 kB / 0.7288 GB, free: 17.3 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002025/0.5221, allocations: 197.2 kB / 0.729 GB, free: 17.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.5221, allocations: 5.844 kB / 0.729 GB, free: 17.13 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.5222, allocations: 37.42 kB / 0.729 GB, free: 17.13 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.5222, allocations: 0 / 0.729 GB, free: 17.13 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.5222, allocations: 7.672 kB / 0.7291 GB, free: 17.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.5222, allocations: 3.984 kB / 0.7291 GB, free: 17.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.5222, allocations: 1.969 kB / 0.7291 GB, free: 17.12 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003675/0.5226, allocations: 312.9 kB / 0.7294 GB, free: 16.94 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.702e-05/0.5226, allocations: 40.5 kB / 0.7294 GB, free: 16.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/0.5226, allocations: 1.641 kB / 0.7294 GB, free: 16.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.673e-05/0.5227, allocations: 16.78 kB / 0.7294 GB, free: 16.91 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.964e-05/0.5228, allocations: 16.75 kB / 0.7294 GB, free: 16.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.5228, allocations: 4.875 kB / 0.7294 GB, free: 16.9 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001153/0.5229, allocations: 182 kB / 0.7296 GB, free: 16.8 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.5229, allocations: 0 / 0.7296 GB, free: 16.8 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000207/0.5231, allocations: 37.14 kB / 0.7296 GB, free: 16.79 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.0001361/0.5233, allocations: 110.6 kB / 0.7297 GB, free: 16.7 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003462/0.5236, allocations: 163.1 kB / 0.7299 GB, free: 16.66 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5236, allocations: 0 / 0.7299 GB, free: 16.66 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001505/0.5237, allocations: 86.31 kB / 0.73 GB, free: 16.64 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003181/0.5241, allocations: 52.33 kB / 0.73 GB, free: 16.62 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007197/0.5248, allocations: 476.5 kB / 0.7305 GB, free: 16.34 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001143/0.5249, allocations: 133 kB / 0.7306 GB, free: 16.26 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001248/0.525, allocations: 50.5 kB / 0.7307 GB, free: 16.25 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.591e-05/0.5251, allocations: 20 kB / 0.7307 GB, free: 16.24 MB / 0.6355 GB Notification: Performance of SimCode: time 6.81e-07/0.5251, allocations: 0 / 0.7307 GB, free: 16.24 MB / 0.6355 GB Notification: Performance of Templates: time 0.005071/0.5301, allocations: 2.352 MB / 0.733 GB, free: 15.97 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.335952184977941] Failed to read output from testmodel.py, exit status != 0: 0.538392057060264 0.551251508 0.031944224 Calling exit ...