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.001299/0.001299, allocations: 82.56 kB / 19.18 MB, free: 2.363 MB / 14.72 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.001388/0.001388, allocations: 170.5 kB / 22.45 MB, free: 4.992 MB / 14.72 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 1.397/1.397, allocations: 177.2 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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 1.194/1.194, allocations: 154.7 MB / 413.9 MB, free: 5.188 MB / 382.1 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 178] 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: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 0.6187 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.078e-05/3.308e-05, allocations: 4.531 kB / 0.6187 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003313/0.003346, allocations: 1.827 MB / 0.6205 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004912/0.008258, allocations: 3.406 MB / 0.6239 GB, free: 15.31 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.00836, allocations: 7.938 kB / 0.6239 GB, free: 15.3 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007802/0.00914, allocations: 159.2 kB / 0.624 GB, free: 15.14 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002158/0.009356, allocations: 83.45 kB / 0.6241 GB, free: 15.06 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001378/0.009494, allocations: 55.8 kB / 0.6241 GB, free: 15.01 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005247/0.01002, allocations: 267.1 kB / 0.6244 GB, free: 14.75 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.01012, allocations: 17.8 kB / 0.6244 GB, free: 14.73 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001649/0.01029, allocations: 103.7 kB / 0.6245 GB, free: 14.63 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001676/0.01045, allocations: 59.86 kB / 0.6246 GB, free: 14.57 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.947e-05/0.01048, allocations: 8 kB / 0.6246 GB, free: 14.56 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.736e-05/0.01058, allocations: 31.86 kB / 0.6246 GB, free: 14.53 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.275e-05/0.01066, allocations: 55.81 kB / 0.6247 GB, free: 14.48 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.339e-05/0.01075, allocations: 55.8 kB / 0.6247 GB, free: 14.42 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002888/0.01104, allocations: 187.3 kB / 0.6249 GB, free: 14.24 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.01104, allocations: 4 kB / 0.6249 GB, free: 14.23 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.022e-06/0.01104, allocations: 0 / 0.6249 GB, free: 14.23 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.213e-05/0.01105, allocations: 0 / 0.6249 GB, free: 14.23 MB / 0.545 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.0008977/0.01195, allocations: 476.8 kB / 0.6254 GB, free: 13.74 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.01199, allocations: 11.97 kB / 0.6254 GB, free: 13.73 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003749/0.01236, allocations: 60.75 kB / 0.6254 GB, free: 13.67 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00042/0.01278, allocations: 204.8 kB / 0.6256 GB, free: 13.44 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.031e-06/0.01279, allocations: 384 / 0.6256 GB, free: 13.44 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.01281, allocations: 8.312 kB / 0.6256 GB, free: 13.43 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003549/0.01317, allocations: 134.1 kB / 0.6258 GB, free: 13.3 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.01318, allocations: 192 / 0.6258 GB, free: 13.3 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.997e-05/0.0132, allocations: 8.125 kB / 0.6258 GB, free: 13.29 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.9e-05/0.01323, allocations: 15.92 kB / 0.6258 GB, free: 13.27 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004337/0.01366, allocations: 135.9 kB / 0.6259 GB, free: 13.14 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007129/0.01437, allocations: 368.3 kB / 0.6263 GB, free: 12.75 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004205/0.01479, allocations: 162.3 kB / 0.6264 GB, free: 12.58 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002948/0.01509, allocations: 92.78 kB / 0.6265 GB, free: 12.49 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.01511, allocations: 0 / 0.6265 GB, free: 12.49 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/0.01514, allocations: 34.56 kB / 0.6265 GB, free: 12.45 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.352e-06/0.01514, allocations: 4 kB / 0.6265 GB, free: 12.44 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0008565/0.016, allocations: 280.5 kB / 0.6268 GB, free: 12.16 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/0.01605, allocations: 59.39 kB / 0.6269 GB, free: 12.09 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000255/0.01631, allocations: 245.9 kB / 0.6271 GB, free: 11.85 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.01633, allocations: 25.7 kB / 0.6271 GB, free: 11.82 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.01643, allocations: 136.1 kB / 0.6273 GB, free: 11.68 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.233e-05/0.01648, allocations: 47.53 kB / 0.6273 GB, free: 11.63 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.876e-05/0.01655, allocations: 33.64 kB / 0.6273 GB, free: 11.59 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001719/0.01673, allocations: 338.8 kB / 0.6277 GB, free: 11.25 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002226/0.01695, allocations: 67.94 kB / 0.6277 GB, free: 11.19 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002167/0.01716, allocations: 67.94 kB / 0.6278 GB, free: 11.12 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004394/0.0176, allocations: 167.7 kB / 0.6279 GB, free: 10.96 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.01761, allocations: 0 / 0.6279 GB, free: 10.96 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005498/0.01816, allocations: 221.4 kB / 0.6282 GB, free: 10.73 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.01817, allocations: 4 kB / 0.6282 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.01818, allocations: 0 / 0.6282 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.01819, allocations: 0 / 0.6282 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002456/0.01844, allocations: 35.91 kB / 0.6282 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.01845, allocations: 0 / 0.6282 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001497/0.0186, allocations: 15.98 kB / 0.6282 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/0.01861, allocations: 7.984 kB / 0.6282 GB, free: 10.67 MB / 0.545 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.0001363/0.01875, allocations: 142.8 kB / 0.6284 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.952e-05/0.0188, allocations: 23.8 kB / 0.6284 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.783e-05/0.01887, allocations: 29.77 kB / 0.6284 GB, free: 10.47 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.01887, allocations: 4 kB / 0.6284 GB, free: 10.47 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.01887, allocations: 0 / 0.6284 GB, free: 10.47 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.01888, allocations: 0 / 0.6284 GB, free: 10.47 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002895/0.01917, allocations: 201.1 kB / 0.6286 GB, free: 10.24 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.01917, allocations: 0 / 0.6286 GB, free: 10.24 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002202/0.01939, allocations: 43.83 kB / 0.6286 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.01939, allocations: 4 kB / 0.6286 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.01941, allocations: 7.938 kB / 0.6287 GB, free: 10.19 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.01941, allocations: 8 kB / 0.6287 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01941, allocations: 0 / 0.6287 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006218/0.02003, allocations: 299.3 kB / 0.6289 GB, free: 9.871 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.455e-05/0.02011, allocations: 39.77 kB / 0.629 GB, free: 9.832 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.315e-05/0.02014, allocations: 12 kB / 0.629 GB, free: 9.82 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001714/0.02031, allocations: 7.984 kB / 0.629 GB, free: 9.812 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.851e-05/0.02037, allocations: 15.98 kB / 0.629 GB, free: 9.797 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.02038, allocations: 7.984 kB / 0.629 GB, free: 9.789 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001758/0.02056, allocations: 181.1 kB / 0.6292 GB, free: 9.609 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.02056, allocations: 0 / 0.6292 GB, free: 9.609 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002817/0.02084, allocations: 47.89 kB / 0.6292 GB, free: 9.562 MB / 0.545 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.0001847/0.02103, allocations: 99.25 kB / 0.6293 GB, free: 9.457 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005111/0.02154, allocations: 163.8 kB / 0.6295 GB, free: 9.297 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.02154, allocations: 0 / 0.6295 GB, free: 9.297 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002409/0.02178, allocations: 91.11 kB / 0.6296 GB, free: 9.211 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004383/0.02222, allocations: 46.66 kB / 0.6296 GB, free: 9.168 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008597/0.02308, allocations: 431.2 kB / 0.63 GB, free: 8.715 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000145/0.02322, allocations: 139.9 kB / 0.6302 GB, free: 8.559 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001567/0.02338, allocations: 45.45 kB / 0.6302 GB, free: 8.516 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.913e-05/0.02344, allocations: 28.48 kB / 0.6302 GB, free: 8.488 MB / 0.545 GB Notification: Performance of SimCode: time 4.31e-07/0.02344, allocations: 4 kB / 0.6302 GB, free: 8.484 MB / 0.545 GB Notification: Performance of Templates: time 0.00635/0.02979, allocations: 2.356 MB / 0.6325 GB, free: 6.215 MB / 0.545 GB " [Timeout remaining time 660] 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: 5.7179515697062016] Failed to read output from testmodel.py, exit status != 0: 0.03855541720986366 0.053190366 0.039006142 Calling exit ...