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.00083/0.00083, allocations: 76.45 kB / 19.9 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.0009885/0.0009885, allocations: 169.8 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.9394/0.9394, 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.7194/0.7194, allocations: 154.7 MB / 414.7 MB, free: 0.7539 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.00102/0.00102, allocations: 71.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.4908/0.4918, allocations: 102 MB / 0.7191 GB, free: 23.64 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002476/0.4943, allocations: 1.827 MB / 0.7209 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.003012/0.4973, allocations: 3.408 MB / 0.7242 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.298e-05/0.4974, allocations: 6.219 kB / 0.7242 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0007041/0.4981, allocations: 161.7 kB / 0.7244 GB, free: 20 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001586/0.4982, allocations: 75.27 kB / 0.7245 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001064/0.4983, allocations: 55.67 kB / 0.7245 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0004097/0.4987, allocations: 280 kB / 0.7248 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.462e-05/0.4988, allocations: 15.77 kB / 0.7248 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.499, allocations: 102.9 kB / 0.7249 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.4991, allocations: 71.84 kB / 0.725 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.4991, allocations: 6.875 kB / 0.725 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.612e-05/0.4992, allocations: 27.39 kB / 0.725 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 7.333e-05/0.4993, allocations: 62.41 kB / 0.725 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.976e-05/0.4993, allocations: 66.22 kB / 0.7251 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002407/0.4996, allocations: 198.5 kB / 0.7253 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.4996, allocations: 4 kB / 0.7253 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.134e-06/0.4996, allocations: 0 / 0.7253 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.263e-06/0.4996, allocations: 1.25 kB / 0.7253 GB, free: 19.58 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.0005847/0.5002, allocations: 465.2 kB / 0.7257 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.5002, allocations: 10.94 kB / 0.7258 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002258/0.5004, allocations: 55.92 kB / 0.7258 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002792/0.5007, allocations: 209 kB / 0.726 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.5007, allocations: 1.688 kB / 0.726 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/0.5007, allocations: 8.406 kB / 0.726 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002553/0.501, allocations: 143.2 kB / 0.7262 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.501, allocations: 2.016 kB / 0.7262 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.501, allocations: 4 kB / 0.7262 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.736e-05/0.501, allocations: 18.02 kB / 0.7262 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002568/0.5013, allocations: 136.4 kB / 0.7263 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004427/0.5017, allocations: 373.2 kB / 0.7267 GB, free: 18.64 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002583/0.502, allocations: 157.3 kB / 0.7268 GB, free: 18.58 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/0.5021, allocations: 96.08 kB / 0.7269 GB, free: 18.55 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.5022, allocations: 2.375 kB / 0.7269 GB, free: 18.55 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.59e-05/0.5022, allocations: 32.03 kB / 0.7269 GB, free: 18.51 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 1.072e-06/0.5022, allocations: 1.25 kB / 0.7269 GB, free: 18.51 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.0005225/0.5027, allocations: 289.7 kB / 0.7272 GB, free: 18.41 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.386e-05/0.5027, allocations: 53.16 kB / 0.7273 GB, free: 18.34 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/0.5029, allocations: 243.7 kB / 0.7275 GB, free: 18.21 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.5029, allocations: 30.86 kB / 0.7275 GB, free: 18.17 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.715e-05/0.503, allocations: 136 kB / 0.7277 GB, free: 18.05 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.547e-05/0.503, allocations: 44.8 kB / 0.7277 GB, free: 18.02 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.306e-05/0.5031, allocations: 32.12 kB / 0.7277 GB, free: 17.99 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.147e-05/0.5031, allocations: 339.7 kB / 0.7281 GB, free: 17.66 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.5033, allocations: 71.31 kB / 0.7281 GB, free: 17.65 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.5034, allocations: 74.66 kB / 0.7282 GB, free: 17.63 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002583/0.5036, allocations: 156.4 kB / 0.7283 GB, free: 17.58 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.5036, allocations: 1.5 kB / 0.7283 GB, free: 17.58 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003221/0.504, allocations: 209.9 kB / 0.7285 GB, free: 17.5 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.504, allocations: 10.5 kB / 0.7286 GB, free: 17.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.504, allocations: 0.6094 kB / 0.7286 GB, free: 17.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.504, allocations: 0 / 0.7286 GB, free: 17.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.5041, allocations: 42.2 kB / 0.7286 GB, free: 17.49 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.5042, allocations: 0 / 0.7286 GB, free: 17.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.476e-05/0.5042, allocations: 17.23 kB / 0.7286 GB, free: 17.48 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.5042, allocations: 5.344 kB / 0.7286 GB, free: 17.48 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 7.252e-05/0.5043, allocations: 145.1 kB / 0.7288 GB, free: 17.35 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.513e-05/0.5043, allocations: 26.86 kB / 0.7288 GB, free: 17.34 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.75e-05/0.5044, allocations: 29.56 kB / 0.7288 GB, free: 17.31 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.5044, allocations: 1.125 kB / 0.7288 GB, free: 17.31 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.5044, allocations: 0 / 0.7288 GB, free: 17.31 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.5044, allocations: 2.859 kB / 0.7288 GB, free: 17.31 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001692/0.5046, allocations: 200.6 kB / 0.729 GB, free: 17.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.5046, allocations: 0.7031 kB / 0.729 GB, free: 17.15 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.5047, allocations: 40.59 kB / 0.729 GB, free: 17.14 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.5047, allocations: 1.984 kB / 0.729 GB, free: 17.14 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.5047, allocations: 2.359 kB / 0.729 GB, free: 17.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.5047, allocations: 1.156 kB / 0.7291 GB, free: 17.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.5047, allocations: 0.6562 kB / 0.7291 GB, free: 17.14 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000362/0.505, allocations: 312.9 kB / 0.7293 GB, free: 16.96 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.589e-05/0.5051, allocations: 40.88 kB / 0.7294 GB, free: 16.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.5051, allocations: 1.797 kB / 0.7294 GB, free: 16.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.923e-05/0.5052, allocations: 15.48 kB / 0.7294 GB, free: 16.93 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.711e-05/0.5053, allocations: 13.3 kB / 0.7294 GB, free: 16.93 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.5053, allocations: 9.125 kB / 0.7294 GB, free: 16.92 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001137/0.5054, allocations: 177.6 kB / 0.7296 GB, free: 16.82 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5054, allocations: 3.938 kB / 0.7296 GB, free: 16.82 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000193/0.5056, allocations: 42.02 kB / 0.7296 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.0001156/0.5057, allocations: 105.6 kB / 0.7297 GB, free: 16.71 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003217/0.506, allocations: 159.2 kB / 0.7299 GB, free: 16.68 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.506, allocations: 3.938 kB / 0.7299 GB, free: 16.68 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.5062, allocations: 83.47 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.0002819/0.5064, allocations: 60.3 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.000571/0.507, allocations: 468.1 kB / 0.7305 GB, free: 16.37 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.959e-05/0.5071, allocations: 136.4 kB / 0.7306 GB, free: 16.28 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001126/0.5072, allocations: 47.97 kB / 0.7307 GB, free: 16.28 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.952e-05/0.5073, allocations: 22.42 kB / 0.7307 GB, free: 16.27 MB / 0.6355 GB Notification: Performance of SimCode: time 4.71e-07/0.5073, allocations: 0 / 0.7307 GB, free: 16.27 MB / 0.6355 GB Notification: Performance of Templates: time 0.004422/0.5117, allocations: 2.355 MB / 0.733 GB, free: 16 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 cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.225444084964693] Failed to read output from testmodel.py, exit status != 0: 0.5173878889763728 0.525463026 0.024110728 Calling exit ...