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.0008301/0.0008301, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007553/0.0007553, allocations: 174.3 kB / 23.21 MB, free: 1.352 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.8832/0.8832, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.7172/0.7172, allocations: 154.6 MB / 414.5 MB, free: 0.8242 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: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.6193 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.356e-05/2.505e-05, allocations: 5.016 kB / 0.6193 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002193/0.002218, allocations: 1.833 MB / 0.6211 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002827/0.005045, allocations: 3.398 MB / 0.6244 GB, free: 7.922 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.508e-05/0.00513, allocations: 4 kB / 0.6244 GB, free: 7.918 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0006633/0.005794, allocations: 163.2 kB / 0.6246 GB, free: 7.758 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001566/0.00595, allocations: 83.41 kB / 0.6247 GB, free: 7.676 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 9.512e-05/0.006045, allocations: 51.92 kB / 0.6247 GB, free: 7.625 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003631/0.006408, allocations: 271 kB / 0.625 GB, free: 7.359 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.245e-05/0.006501, allocations: 21.73 kB / 0.625 GB, free: 7.34 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.006604, allocations: 103.8 kB / 0.6251 GB, free: 7.238 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.006713, allocations: 67.73 kB / 0.6252 GB, free: 7.172 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.006731, allocations: 8 kB / 0.6252 GB, free: 7.164 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.001e-05/0.006801, allocations: 27.92 kB / 0.6252 GB, free: 7.137 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.482e-05/0.006856, allocations: 55.83 kB / 0.6253 GB, free: 7.082 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.747e-05/0.006903, allocations: 59.78 kB / 0.6253 GB, free: 7.023 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001927/0.007096, allocations: 183.3 kB / 0.6255 GB, free: 6.844 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.007098, allocations: 0 / 0.6255 GB, free: 6.844 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.052e-06/0.007099, allocations: 0 / 0.6255 GB, free: 6.844 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.007103, allocations: 4 kB / 0.6255 GB, free: 6.84 MB / 0.5886 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.0005761/0.007679, allocations: 468.8 kB / 0.6259 GB, free: 6.352 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.007714, allocations: 8.031 kB / 0.6259 GB, free: 6.344 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002027/0.007917, allocations: 60.69 kB / 0.626 GB, free: 6.285 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002636/0.00818, allocations: 204.8 kB / 0.6262 GB, free: 6.062 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.008192, allocations: 8.375 kB / 0.6262 GB, free: 6.055 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.008205, allocations: 4.375 kB / 0.6262 GB, free: 6.051 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002227/0.008428, allocations: 136.3 kB / 0.6263 GB, free: 5.914 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.008436, allocations: 192 / 0.6263 GB, free: 5.914 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.00845, allocations: 8.109 kB / 0.6263 GB, free: 5.906 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.296e-05/0.008473, allocations: 15.92 kB / 0.6264 GB, free: 5.891 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002238/0.008697, allocations: 139.8 kB / 0.6265 GB, free: 5.754 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004118/0.009109, allocations: 364.3 kB / 0.6268 GB, free: 5.367 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002324/0.009341, allocations: 170.3 kB / 0.627 GB, free: 5.191 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/0.009476, allocations: 92.78 kB / 0.6271 GB, free: 5.098 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.009492, allocations: 0 / 0.6271 GB, free: 5.098 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.00951, allocations: 34.56 kB / 0.6271 GB, free: 5.055 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=13): time 7.72e-07/0.009511, allocations: 0 / 0.6271 GB, free: 5.055 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13): time 0.0004592/0.00997, allocations: 284.5 kB / 0.6274 GB, free: 4.773 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/0.009998, allocations: 55.41 kB / 0.6275 GB, free: 4.707 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.01014, allocations: 241.9 kB / 0.6277 GB, free: 4.461 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.01016, allocations: 33.64 kB / 0.6277 GB, free: 4.422 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002067/0.01036, allocations: 140.1 kB / 0.6278 GB, free: 4.281 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.739e-05/0.0104, allocations: 51.52 kB / 0.6279 GB, free: 4.23 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.186e-05/0.01044, allocations: 37.95 kB / 0.6279 GB, free: 4.188 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.876e-05/0.01052, allocations: 334.8 kB / 0.6283 GB, free: 3.852 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.01064, allocations: 79.88 kB / 0.6283 GB, free: 3.773 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.01074, allocations: 71.94 kB / 0.6284 GB, free: 3.703 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000224/0.01096, allocations: 156.7 kB / 0.6285 GB, free: 3.547 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.01097, allocations: 0 / 0.6285 GB, free: 3.547 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002737/0.01124, allocations: 209.4 kB / 0.6287 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.01125, allocations: 11.98 kB / 0.6288 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.01126, allocations: 0 / 0.6288 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.01127, allocations: 0 / 0.6288 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.01139, allocations: 35.91 kB / 0.6288 GB, free: 3.289 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.0114, allocations: 4 kB / 0.6288 GB, free: 3.285 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.311e-05/0.01146, allocations: 11.98 kB / 0.6288 GB, free: 3.273 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.01147, allocations: 3.984 kB / 0.6288 GB, free: 3.27 MB / 0.5886 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.872e-05/0.01155, allocations: 138.8 kB / 0.6289 GB, free: 3.125 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.645e-05/0.01157, allocations: 35.75 kB / 0.629 GB, free: 3.09 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.344e-05/0.01161, allocations: 25.77 kB / 0.629 GB, free: 3.062 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.01161, allocations: 4 kB / 0.629 GB, free: 3.059 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.01161, allocations: 0 / 0.629 GB, free: 3.059 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.01162, allocations: 0 / 0.629 GB, free: 3.059 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001489/0.01176, allocations: 201.2 kB / 0.6292 GB, free: 2.832 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.01177, allocations: 0 / 0.6292 GB, free: 2.832 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.745e-05/0.01185, allocations: 43.83 kB / 0.6292 GB, free: 2.789 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.01185, allocations: 0 / 0.6292 GB, free: 2.789 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.01187, allocations: 8 kB / 0.6292 GB, free: 2.781 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.01187, allocations: 4 kB / 0.6293 GB, free: 2.777 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.01187, allocations: 0 / 0.6293 GB, free: 2.777 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000299/0.01217, allocations: 310.3 kB / 0.6295 GB, free: 2.461 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.634e-05/0.01221, allocations: 43.72 kB / 0.6296 GB, free: 2.418 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.01223, allocations: 0 / 0.6296 GB, free: 2.418 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.288e-05/0.01231, allocations: 19.98 kB / 0.6296 GB, free: 2.398 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.07e-05/0.01235, allocations: 7.984 kB / 0.6296 GB, free: 2.391 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.01236, allocations: 7.984 kB / 0.6296 GB, free: 2.383 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 9.274e-05/0.01246, allocations: 181.2 kB / 0.6298 GB, free: 2.207 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.01246, allocations: 3.938 kB / 0.6298 GB, free: 2.203 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001738/0.01263, allocations: 39.94 kB / 0.6298 GB, free: 2.164 MB / 0.5886 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.0001082/0.01274, allocations: 95.25 kB / 0.6299 GB, free: 2.062 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002737/0.01301, allocations: 171.8 kB / 0.6301 GB, free: 1.895 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.01301, allocations: 3.938 kB / 0.6301 GB, free: 1.891 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001182/0.01313, allocations: 87.86 kB / 0.6302 GB, free: 1.805 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.0134, allocations: 48.47 kB / 0.6302 GB, free: 1.758 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005274/0.01392, allocations: 456.8 kB / 0.6307 GB, free: 1.277 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.141e-05/0.01401, allocations: 140.1 kB / 0.6308 GB, free: 1.121 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.126e-05/0.01406, allocations: 20.48 kB / 0.6308 GB, free: 1.102 MB / 0.5886 GB Notification: Performance of SimCode: time 2.6e-07/0.01406, allocations: 0 / 0.6308 GB, free: 1.102 MB / 0.5886 GB Notification: Performance of Templates: time 0.003081/0.01714, allocations: 2.797 MB / 0.6335 GB, free: 14.34 MB / 0.6042 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.270511539652944] Failed to read output from testmodel.py, exit status != 0: 0.022372374311089516 0.030061795000000002 0.021332394 Calling exit ...