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.002188/0.002188, allocations: 85.48 kB / 19.44 MB, free: 340 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.002745/0.002745, allocations: 173.2 kB / 22.76 MB, free: 1.656 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 1.628/1.628, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 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-545:108: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-545:116: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.352/1.352, allocations: 154.6 MB / 414.2 MB, free: 0.6328 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 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 1.522e-06/1.522e-06, allocations: 0.6562 kB / 0.5196 GB, free: 2.527 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.829e-05/2.982e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.523 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003502/0.003531, allocations: 1.881 MB / 0.5215 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.005736/0.009268, allocations: 3.673 MB / 0.525 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.009383, allocations: 1.875 kB / 0.525 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008447/0.01023, allocations: 156.9 kB / 0.5252 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.00024/0.01047, allocations: 86.59 kB / 0.5253 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001416/0.01061, allocations: 47.92 kB / 0.5253 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0005811/0.01119, allocations: 285.8 kB / 0.5256 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.0113, allocations: 25.78 kB / 0.5256 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001748/0.01148, allocations: 91.78 kB / 0.5257 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.01162, allocations: 59.81 kB / 0.5258 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.182e-05/0.01165, allocations: 11.98 kB / 0.5258 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001165/0.01177, allocations: 27.92 kB / 0.5258 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 9.325e-05/0.01186, allocations: 59.78 kB / 0.5259 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 8.642e-05/0.01195, allocations: 53.34 kB / 0.5259 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003084/0.01226, allocations: 187.3 kB / 0.5261 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.01226, allocations: 0 / 0.5261 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.132e-06/0.01226, allocations: 4.438 kB / 0.5261 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.01227, allocations: 4 kB / 0.5261 GB, free: 11.9 MB / 0.4948 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.000973/0.01324, allocations: 0.5584 MB / 0.5266 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.01328, allocations: 9.156 kB / 0.5267 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003741/0.01365, allocations: 57.3 kB / 0.5267 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003913/0.01404, allocations: 202.3 kB / 0.5269 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.01406, allocations: 4.375 kB / 0.5269 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.01408, allocations: 8.359 kB / 0.5269 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002775/0.01436, allocations: 98.11 kB / 0.527 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.01437, allocations: 4.125 kB / 0.527 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/0.01438, allocations: 10.56 kB / 0.527 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.852e-05/0.01441, allocations: 4 kB / 0.527 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003129/0.01473, allocations: 83.94 kB / 0.5271 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007643/0.01549, allocations: 405.7 kB / 0.5275 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003367/0.01583, allocations: 122.9 kB / 0.5276 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001907/0.01602, allocations: 64.94 kB / 0.5277 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.01604, allocations: 4 kB / 0.5277 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.811e-05/0.01608, allocations: 37.39 kB / 0.5277 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=13): time 1.213e-06/0.01608, allocations: 0.9375 kB / 0.5277 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13): time 0.0006728/0.01675, allocations: 193 kB / 0.5279 GB, free: 9.945 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/0.01681, allocations: 55.34 kB / 0.5279 GB, free: 9.879 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003335/0.01714, allocations: 317.6 kB / 0.5283 GB, free: 9.559 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.01717, allocations: 33.7 kB / 0.5283 GB, free: 9.52 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.01732, allocations: 190.8 kB / 0.5285 GB, free: 9.328 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.291e-05/0.01739, allocations: 52.17 kB / 0.5285 GB, free: 9.277 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.454e-05/0.01746, allocations: 35.36 kB / 0.5285 GB, free: 9.234 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005352/0.018, allocations: 0.5165 MB / 0.5291 GB, free: 8.707 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.01815, allocations: 41.34 kB / 0.5291 GB, free: 8.668 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.01829, allocations: 31.98 kB / 0.5291 GB, free: 8.637 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003137/0.0186, allocations: 96.73 kB / 0.5292 GB, free: 8.539 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.0186, allocations: 4.719 kB / 0.5292 GB, free: 8.535 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004163/0.01902, allocations: 162.1 kB / 0.5294 GB, free: 8.375 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.01903, allocations: 5.875 kB / 0.5294 GB, free: 8.371 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.01904, allocations: 4 kB / 0.5294 GB, free: 8.367 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.01906, allocations: 4.938 kB / 0.5294 GB, free: 8.363 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000211/0.01927, allocations: 28.88 kB / 0.5294 GB, free: 8.336 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.01927, allocations: 0 / 0.5294 GB, free: 8.336 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.0194, allocations: 8.812 kB / 0.5294 GB, free: 8.328 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.035e-05/0.01942, allocations: 3.984 kB / 0.5294 GB, free: 8.324 MB / 0.4948 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.000164/0.01958, allocations: 171 kB / 0.5296 GB, free: 8.148 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.408e-05/0.01964, allocations: 35.75 kB / 0.5296 GB, free: 8.113 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.183e-05/0.01972, allocations: 25.77 kB / 0.5296 GB, free: 8.09 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.01972, allocations: 4 kB / 0.5297 GB, free: 8.086 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.01973, allocations: 3.938 kB / 0.5297 GB, free: 8.082 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.01973, allocations: 0 / 0.5297 GB, free: 8.082 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003041/0.02003, allocations: 215.2 kB / 0.5299 GB, free: 7.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.02003, allocations: 0 / 0.5299 GB, free: 7.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001854/0.02022, allocations: 35.91 kB / 0.5299 GB, free: 7.805 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.02022, allocations: 0 / 0.5299 GB, free: 7.805 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.02023, allocations: 0 / 0.5299 GB, free: 7.805 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.02024, allocations: 0 / 0.5299 GB, free: 7.805 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.725e-06/0.02024, allocations: 7.969 kB / 0.5299 GB, free: 7.797 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005301/0.02077, allocations: 313.8 kB / 0.5302 GB, free: 7.473 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.863e-05/0.02087, allocations: 39.73 kB / 0.5302 GB, free: 7.434 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.537e-05/0.02091, allocations: 3.984 kB / 0.5302 GB, free: 7.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.02106, allocations: 9.469 kB / 0.5303 GB, free: 7.422 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.087e-05/0.02112, allocations: 11.97 kB / 0.5303 GB, free: 7.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.02113, allocations: 4 kB / 0.5303 GB, free: 7.406 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002061/0.02134, allocations: 217.1 kB / 0.5305 GB, free: 7.191 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.1e-08/0.02134, allocations: 0.5625 kB / 0.5305 GB, free: 7.191 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002821/0.02162, allocations: 43.94 kB / 0.5305 GB, free: 7.148 MB / 0.4948 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.0001939/0.02181, allocations: 100.7 kB / 0.5306 GB, free: 7.043 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003989/0.02221, allocations: 118.6 kB / 0.5307 GB, free: 6.926 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.02221, allocations: 0 / 0.5307 GB, free: 6.926 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002018/0.02242, allocations: 73.2 kB / 0.5308 GB, free: 6.852 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004092/0.02282, allocations: 51.98 kB / 0.5308 GB, free: 6.805 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000845/0.02367, allocations: 410.1 kB / 0.5312 GB, free: 6.375 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000148/0.02382, allocations: 129.8 kB / 0.5314 GB, free: 6.234 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001625/0.02398, allocations: 47.67 kB / 0.5314 GB, free: 6.191 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.281e-05/0.02404, allocations: 16.5 kB / 0.5314 GB, free: 6.176 MB / 0.4948 GB Notification: Performance of SimCode: time 6.31e-07/0.02404, allocations: 0 / 0.5314 GB, free: 6.176 MB / 0.4948 GB Notification: Performance of Templates: time 0.006558/0.0306, allocations: 2.352 MB / 0.5337 GB, free: 3.988 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.0871642789570615]