Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.0009919/0.0009919, allocations: 72.95 kB / 20.72 MB, free: 3.77 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.001016/0.001016, allocations: 169 kB / 24.14 MB, free: 356 kB / 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.9415/0.9415, allocations: 177.2 MB / 204.6 MB, free: 4.691 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5842/0.5842, allocations: 115 MB / 376 MB, free: 7.277 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 428.7 MB, free: 2.77 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.348e-05/1.49e-05, allocations: 6.312 kB / 428.7 MB, free: 2.762 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002268/0.002283, allocations: 2.191 MB / 430.9 MB, free: 0.5547 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.004031/0.006314, allocations: 4.222 MB / 435.1 MB, free: 12.31 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.006424, allocations: 7.938 kB / 435.1 MB, free: 12.3 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006771/0.007101, allocations: 186.9 kB / 435.3 MB, free: 12.12 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000134/0.007235, allocations: 75.28 kB / 435.4 MB, free: 12.05 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000623/0.007858, allocations: 343 kB / 435.7 MB, free: 11.71 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005134/0.008372, allocations: 470.4 kB / 436.2 MB, free: 11.25 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.008478, allocations: 46.8 kB / 436.2 MB, free: 11.2 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001994/0.008678, allocations: 187.6 kB / 436.4 MB, free: 11.02 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/0.00881, allocations: 115.7 kB / 436.5 MB, free: 10.91 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.808e-05/0.008838, allocations: 20 kB / 436.6 MB, free: 10.89 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004203/0.009258, allocations: 335.3 kB / 436.9 MB, free: 10.56 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.009359, allocations: 123.6 kB / 437 MB, free: 10.44 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.918e-05/0.009448, allocations: 103.7 kB / 437.1 MB, free: 10.34 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000486/0.009934, allocations: 0.549 MB / 437.7 MB, free: 9.785 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.009936, allocations: 0 / 437.7 MB, free: 9.785 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.009937, allocations: 0 / 437.7 MB, free: 9.785 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.536e-06/0.00994, allocations: 3.938 kB / 437.7 MB, free: 9.781 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0007281/0.01067, allocations: 0.6754 MB / 438.3 MB, free: 9.074 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.91e-05/0.0107, allocations: 8.031 kB / 438.3 MB, free: 9.066 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006509/0.01135, allocations: 192.7 kB / 438.5 MB, free: 8.879 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003059/0.01165, allocations: 251.9 kB / 438.8 MB, free: 8.605 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.01167, allocations: 8.562 kB / 438.8 MB, free: 8.598 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.335e-05/0.01169, allocations: 15.94 kB / 438.8 MB, free: 8.582 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002564/0.01195, allocations: 180.9 kB / 439 MB, free: 8.395 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.01195, allocations: 0 / 439 MB, free: 8.395 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.01197, allocations: 7.938 kB / 439 MB, free: 8.387 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.01197, allocations: 4 kB / 439 MB, free: 8.383 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.335e-05/0.01207, allocations: 51.92 kB / 439 MB, free: 8.332 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005725/0.01264, allocations: 365.7 kB / 439.4 MB, free: 7.957 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/0.01275, allocations: 101.3 kB / 439.5 MB, free: 7.848 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.342e-05/0.01281, allocations: 44.84 kB / 439.5 MB, free: 7.801 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.62e-05/0.01284, allocations: 15.98 kB / 439.6 MB, free: 7.785 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.01286, allocations: 42.55 kB / 439.6 MB, free: 7.734 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.052e-06/0.01286, allocations: 0 / 439.6 MB, free: 7.734 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.000245/0.01311, allocations: 141.6 kB / 439.7 MB, free: 7.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.394e-05/0.01313, allocations: 55.39 kB / 439.8 MB, free: 7.523 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/0.01333, allocations: 367.2 kB / 440.1 MB, free: 7.148 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.01335, allocations: 29.7 kB / 440.2 MB, free: 7.113 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.794e-05/0.01341, allocations: 149.4 kB / 440.3 MB, free: 6.965 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.348e-05/0.01345, allocations: 43.64 kB / 440.4 MB, free: 6.922 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001902/0.01364, allocations: 49.66 kB / 440.4 MB, free: 6.867 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.428e-05/0.01372, allocations: 358.6 kB / 440.8 MB, free: 6.508 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.612e-05/0.01381, allocations: 84.75 kB / 440.8 MB, free: 6.418 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.303e-05/0.01388, allocations: 82.14 kB / 440.9 MB, free: 6.332 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.01403, allocations: 153.3 kB / 441.1 MB, free: 6.172 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.01403, allocations: 3.938 kB / 441.1 MB, free: 6.168 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002187/0.01425, allocations: 242.4 kB / 441.3 MB, free: 5.914 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/0.01428, allocations: 45.69 kB / 441.4 MB, free: 5.863 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.01428, allocations: 0 / 441.4 MB, free: 5.863 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.01429, allocations: 0 / 441.4 MB, free: 5.863 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.01446, allocations: 51.94 kB / 441.4 MB, free: 5.812 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.01446, allocations: 0 / 441.4 MB, free: 5.812 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.01458, allocations: 43.75 kB / 441.5 MB, free: 5.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.0146, allocations: 11.94 kB / 441.5 MB, free: 5.758 MB / 410.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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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 8.991e-05/0.01469, allocations: 128.6 kB / 441.6 MB, free: 5.621 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.95e-05/0.01472, allocations: 23.98 kB / 441.6 MB, free: 5.598 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002191/0.01494, allocations: 165.1 kB / 441.8 MB, free: 5.434 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.01495, allocations: 4 kB / 441.8 MB, free: 5.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.01495, allocations: 4 kB / 441.8 MB, free: 5.426 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.01495, allocations: 3.938 kB / 441.8 MB, free: 5.422 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001715/0.01512, allocations: 165.7 kB / 441.9 MB, free: 5.242 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.01512, allocations: 7.875 kB / 442 MB, free: 5.234 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001315/0.01526, allocations: 39.95 kB / 442 MB, free: 5.195 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.01526, allocations: 0 / 442 MB, free: 5.195 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.01527, allocations: 11.98 kB / 442 MB, free: 5.184 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-06/0.01527, allocations: 0 / 442 MB, free: 5.184 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.01528, allocations: 0 / 442 MB, free: 5.184 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002107/0.01549, allocations: 266.1 kB / 442.3 MB, free: 4.906 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.204e-05/0.01558, allocations: 51.58 kB / 442.3 MB, free: 4.855 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.219e-05/0.01561, allocations: 4 kB / 442.3 MB, free: 4.852 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.01573, allocations: 23.97 kB / 442.3 MB, free: 4.828 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/0.01577, allocations: 15.97 kB / 442.4 MB, free: 4.812 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.01578, allocations: 7.984 kB / 442.4 MB, free: 4.805 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.911e-05/0.01588, allocations: 156.7 kB / 442.5 MB, free: 4.652 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01588, allocations: 4 kB / 442.5 MB, free: 4.648 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002726/0.01615, allocations: 127.8 kB / 442.6 MB, free: 4.523 MB / 410.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 0.0002039/0.01636, allocations: 160.2 kB / 442.8 MB, free: 4.355 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002378/0.0166, allocations: 246.8 kB / 443 MB, free: 4.094 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.0166, allocations: 4 kB / 443 MB, free: 4.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.43e-05/0.01668, allocations: 56.77 kB / 443.1 MB, free: 4.031 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002335/0.01691, allocations: 81.45 kB / 443.2 MB, free: 3.957 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000801/0.01771, allocations: 0.6039 MB / 443.8 MB, free: 3.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.959e-05/0.01777, allocations: 112.2 kB / 443.9 MB, free: 3.191 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004288/0.0182, allocations: 45.94 kB / 443.9 MB, free: 3.145 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000179/0.01838, allocations: 111.3 kB / 444.1 MB, free: 3.035 MB / 410.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01838, allocations: 0 / 444.1 MB, free: 3.035 MB / 410.7 MB Notification: Performance of Templates: time 0.1558/0.1742, allocations: 5.986 MB / 450 MB, free: 26.38 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.318211541045457]