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.001006/0.001006, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001108/0.001108, allocations: 173.4 kB / 23.36 MB, free: 1.133 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.9442/0.9442, allocations: 177.1 MB / 203.8 MB, free: 5.488 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-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 0.7372/0.7372, allocations: 154.6 MB / 414.8 MB, free: 0.5078 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.082e-06/1.082e-06, allocations: 0 / 480 MB, free: 6.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.341e-05/1.449e-05, allocations: 2.859 kB / 480 MB, free: 6.906 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002221/0.002236, allocations: 1.894 MB / 481.9 MB, free: 5.035 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003282/0.005518, allocations: 3.694 MB / 485.6 MB, free: 1.363 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.842e-05/0.005596, allocations: 4.562 kB / 485.6 MB, free: 1.359 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005829/0.006179, allocations: 161.7 kB / 485.8 MB, free: 1.203 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001487/0.006328, allocations: 80.97 kB / 485.8 MB, free: 1.125 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001064/0.006434, allocations: 52.77 kB / 485.9 MB, free: 1.074 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003315/0.006766, allocations: 277.4 kB / 486.2 MB, free: 0.8047 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.529e-05/0.006841, allocations: 26.42 kB / 486.2 MB, free: 0.7773 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.006949, allocations: 96.91 kB / 486.3 MB, free: 0.6836 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.234e-05/0.007041, allocations: 63.75 kB / 486.3 MB, free: 0.6211 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.007057, allocations: 5.188 kB / 486.3 MB, free: 0.6172 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.913e-05/0.007126, allocations: 31.97 kB / 486.4 MB, free: 0.5859 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 5.426e-05/0.00718, allocations: 55.78 kB / 486.4 MB, free: 0.5312 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.432e-05/0.007225, allocations: 47.86 kB / 486.5 MB, free: 496 kB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001697/0.007394, allocations: 168.2 kB / 486.6 MB, free: 328 kB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.007396, allocations: 0 / 486.6 MB, free: 328 kB / 442.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.007397, allocations: 1.25 kB / 486.6 MB, free: 328 kB / 442.7 MB Notification: Performance of Transformations before backend: time 3.266e-06/0.0074, allocations: 0 / 486.6 MB, free: 328 kB / 442.7 MB 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.0004711/0.007871, allocations: 420.5 kB / 487.1 MB, free: 15.89 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.007903, allocations: 12.03 kB / 487.1 MB, free: 15.88 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001855/0.008088, allocations: 46.3 kB / 487.1 MB, free: 15.83 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.008255, allocations: 190.6 kB / 487.3 MB, free: 15.62 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.008265, allocations: 4.375 kB / 487.3 MB, free: 15.62 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.008278, allocations: 5.156 kB / 487.3 MB, free: 15.61 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.008424, allocations: 102.4 kB / 487.4 MB, free: 15.5 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-06/0.00843, allocations: 0.6875 kB / 487.4 MB, free: 15.5 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.00844, allocations: 4.125 kB / 487.4 MB, free: 15.5 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.682e-05/0.008467, allocations: 17.08 kB / 487.4 MB, free: 15.48 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.211e-05/0.008519, allocations: 31.83 kB / 487.5 MB, free: 15.45 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002988/0.008818, allocations: 250.7 kB / 487.7 MB, free: 15.19 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.81e-05/0.008906, allocations: 75.64 kB / 487.8 MB, free: 15.11 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.597e-05/0.008952, allocations: 32.84 kB / 487.8 MB, free: 15.08 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.234e-05/0.008964, allocations: 0.5312 kB / 487.8 MB, free: 15.08 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/0.008982, allocations: 39.5 kB / 487.9 MB, free: 15.03 MB / 458.7 MB Notification: Performance of pre-optimization done (n=13): time 1.342e-06/0.008983, allocations: 0 / 487.9 MB, free: 15.03 MB / 458.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001626/0.009146, allocations: 97.38 kB / 487.9 MB, free: 14.93 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/0.009174, allocations: 59.39 kB / 488 MB, free: 14.86 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.009285, allocations: 222.5 kB / 488.2 MB, free: 14.64 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.009298, allocations: 25.7 kB / 488.2 MB, free: 14.61 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.92e-05/0.009338, allocations: 116.5 kB / 488.4 MB, free: 14.49 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.767e-05/0.009365, allocations: 35.66 kB / 488.4 MB, free: 14.46 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.704e-05/0.009402, allocations: 30.41 kB / 488.4 MB, free: 14.42 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.181e-05/0.009484, allocations: 338.8 kB / 488.8 MB, free: 14.08 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.56e-05/0.00951, allocations: 18.33 kB / 488.8 MB, free: 14.07 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.337e-05/0.009533, allocations: 8.25 kB / 488.8 MB, free: 14.06 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.28e-05/0.009596, allocations: 51.64 kB / 488.8 MB, free: 14 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.009598, allocations: 0 / 488.8 MB, free: 14 MB / 458.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 9.657e-05/0.009694, allocations: 83.22 kB / 488.9 MB, free: 13.92 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.826e-06/0.009703, allocations: 4 kB / 488.9 MB, free: 13.91 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.009706, allocations: 4 kB / 488.9 MB, free: 13.91 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.604e-06/0.009714, allocations: 0 / 488.9 MB, free: 13.91 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.009815, allocations: 29.59 kB / 489 MB, free: 13.88 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.214e-06/0.009817, allocations: 0 / 489 MB, free: 13.88 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.287e-05/0.00987, allocations: 15.89 kB / 489 MB, free: 13.87 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-06/0.009878, allocations: 7.984 kB / 489 MB, free: 13.86 MB / 458.7 MB 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 6.225e-05/0.00994, allocations: 121.4 kB / 489.1 MB, free: 13.73 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/0.009965, allocations: 20.39 kB / 489.1 MB, free: 13.71 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.136e-05/0.009996, allocations: 29.77 kB / 489.1 MB, free: 13.68 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.009998, allocations: 0.875 kB / 489.1 MB, free: 13.68 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.009999, allocations: 0 / 489.1 MB, free: 13.68 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.01, allocations: 0.6562 kB / 489.1 MB, free: 13.68 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001223/0.01012, allocations: 121.8 kB / 489.3 MB, free: 13.54 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.01013, allocations: 1.469 kB / 489.3 MB, free: 13.54 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.77e-05/0.01019, allocations: 27.98 kB / 489.3 MB, free: 13.52 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.51e-07/0.01019, allocations: 3.938 kB / 489.3 MB, free: 13.51 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.126e-06/0.0102, allocations: 5.391 kB / 489.3 MB, free: 13.51 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.0102, allocations: 7.938 kB / 489.3 MB, free: 13.5 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.0102, allocations: 0 / 489.3 MB, free: 13.5 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001217/0.01033, allocations: 186.8 kB / 489.5 MB, free: 13.3 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.631e-05/0.01036, allocations: 28.72 kB / 489.5 MB, free: 13.28 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.658e-05/0.0104, allocations: 8 kB / 489.5 MB, free: 13.27 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.222e-05/0.01046, allocations: 17.98 kB / 489.5 MB, free: 13.25 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.295e-05/0.01049, allocations: 11.98 kB / 489.6 MB, free: 13.24 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.0105, allocations: 3.984 kB / 489.6 MB, free: 13.24 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.92e-05/0.01055, allocations: 74.78 kB / 489.6 MB, free: 13.16 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01055, allocations: 0 / 489.6 MB, free: 13.16 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001482/0.0107, allocations: 41.11 kB / 489.7 MB, free: 13.12 MB / 458.7 MB 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 9.171e-05/0.01079, allocations: 85.09 kB / 489.8 MB, free: 13.03 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001014/0.01089, allocations: 60.75 kB / 489.8 MB, free: 12.97 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.01089, allocations: 0.6562 kB / 489.8 MB, free: 12.97 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.059e-05/0.01093, allocations: 37.5 kB / 489.9 MB, free: 12.93 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001929/0.01113, allocations: 54.73 kB / 489.9 MB, free: 12.88 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005859/0.01171, allocations: 406.8 kB / 490.3 MB, free: 12.45 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.662e-05/0.01176, allocations: 87.81 kB / 490.4 MB, free: 12.35 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 7.306e-05/0.01183, allocations: 21.48 kB / 490.4 MB, free: 12.34 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.01193, allocations: 84.81 kB / 490.5 MB, free: 12.25 MB / 458.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01194, allocations: 0 / 490.5 MB, free: 12.25 MB / 458.7 MB Notification: Performance of Templates: time 0.003783/0.01572, allocations: 2.457 MB / 492.9 MB, free: 10 MB / 458.7 MB " [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: 3.431311511900276]