Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime") translateModel(IBPSA.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 104 kB / 15.98 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 195 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7725/0.7725, allocations: 122.9 MB / 413.6 MB, free: 8 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 59.91 kB / 0.4906 GB, free: 7.812 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4065/0.4079, allocations: 77.92 MB / 0.5667 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.ModelTime): time 0.00196/0.41, allocations: 0.6461 MB / 0.5674 GB, free: 32.26 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 3.872e-05/0.41, allocations: 0 / 0.5674 GB, free: 32.26 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.603e-05/0.41, allocations: 3 kB / 0.5674 GB, free: 32.26 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.957e-05/0.4101, allocations: 0.5625 kB / 0.5674 GB, free: 32.26 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.935e-06/0.4101, allocations: 0 / 0.5674 GB, free: 32.26 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.283e-05/0.4101, allocations: 1.188 kB / 0.5674 GB, free: 32.26 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.151e-05/0.4102, allocations: 1.188 kB / 0.5674 GB, free: 32.26 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.892e-05/0.4103, allocations: 6.875 kB / 0.5674 GB, free: 32.26 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.311e-05/0.4103, allocations: 0 / 0.5674 GB, free: 32.26 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.884e-05/0.4103, allocations: 1.906 kB / 0.5674 GB, free: 32.26 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.002e-05/0.4103, allocations: 0 / 0.5674 GB, free: 32.26 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.978e-06/0.4103, allocations: 0.5938 kB / 0.5674 GB, free: 32.26 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.558e-05/0.4103, allocations: 5.844 kB / 0.5674 GB, free: 32.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.995e-05/0.4104, allocations: 0 / 0.5674 GB, free: 32.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 5.749e-05/0.4104, allocations: 6.766 kB / 0.5674 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.4104, allocations: 0.6094 kB / 0.5674 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4104, allocations: 0 / 0.5674 GB, free: 32.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.168e-06/0.4105, allocations: 0 / 0.5674 GB, free: 32.25 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002509/0.4107, allocations: 312.9 kB / 0.5677 GB, free: 31.9 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.616e-05/0.4108, allocations: 9.969 kB / 0.5677 GB, free: 31.9 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.841e-05/0.4108, allocations: 0.9375 kB / 0.5677 GB, free: 31.9 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.05e-05/0.4109, allocations: 162.7 kB / 0.5678 GB, free: 31.71 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.308e-06/0.4109, allocations: 4.312 kB / 0.5678 GB, free: 31.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.4109, allocations: 5.953 kB / 0.5679 GB, free: 31.7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.559e-05/0.411, allocations: 33.56 kB / 0.5679 GB, free: 31.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.411, allocations: 192 / 0.5679 GB, free: 31.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.4111, allocations: 8.672 kB / 0.5679 GB, free: 31.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.299e-06/0.4111, allocations: 1.969 kB / 0.5679 GB, free: 31.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.877e-05/0.4111, allocations: 1.125 kB / 0.5679 GB, free: 31.66 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001183/0.4112, allocations: 145.8 kB / 0.568 GB, free: 31.47 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.232e-05/0.4113, allocations: 22.02 kB / 0.5681 GB, free: 31.44 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.637e-05/0.4113, allocations: 11.72 kB / 0.5681 GB, free: 31.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.212e-06/0.4113, allocations: 1.281 kB / 0.5681 GB, free: 31.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.717e-05/0.4113, allocations: 32.22 kB / 0.5681 GB, free: 31.39 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.4113, allocations: 1.188 kB / 0.5681 GB, free: 31.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001314/0.4115, allocations: 36.22 kB / 0.5681 GB, free: 31.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/0.4115, allocations: 52.59 kB / 0.5682 GB, free: 31.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.638e-05/0.4115, allocations: 90.8 kB / 0.5683 GB, free: 31.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.596e-06/0.4115, allocations: 27.14 kB / 0.5683 GB, free: 31.16 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.886e-05/0.4116, allocations: 81.52 kB / 0.5684 GB, free: 31.08 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.101e-05/0.4116, allocations: 7.906 kB / 0.5684 GB, free: 31.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.359e-05/0.4116, allocations: 13.53 kB / 0.5684 GB, free: 31.06 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.924e-05/0.4117, allocations: 312.9 kB / 0.5687 GB, free: 30.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.045e-05/0.4117, allocations: 4.969 kB / 0.5687 GB, free: 30.74 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.286e-06/0.4117, allocations: 1.75 kB / 0.5687 GB, free: 30.74 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.65e-05/0.4118, allocations: 9.266 kB / 0.5687 GB, free: 30.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.4118, allocations: 0 / 0.5687 GB, free: 30.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.412e-05/0.4118, allocations: 37.08 kB / 0.5687 GB, free: 30.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.4118, allocations: 5.531 kB / 0.5687 GB, free: 30.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.4119, allocations: 0 / 0.5687 GB, free: 30.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.4119, allocations: 10.33 kB / 0.5688 GB, free: 30.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.672e-05/0.4119, allocations: 1 kB / 0.5688 GB, free: 30.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.412, allocations: 2 kB / 0.5688 GB, free: 30.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.228e-05/0.412, allocations: 0.5156 kB / 0.5688 GB, free: 30.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.412, allocations: 5.812 kB / 0.5688 GB, free: 30.69 MB / 446.1 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 (1): * Single equations (assignments): 1 * 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 5.576e-05/0.412, allocations: 108.4 kB / 0.5689 GB, free: 30.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.693e-06/0.4121, allocations: 2.062 kB / 0.5689 GB, free: 30.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.668e-05/0.4121, allocations: 8.938 kB / 0.5689 GB, free: 30.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.4121, allocations: 0 / 0.5689 GB, free: 30.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.4121, allocations: 1.969 kB / 0.5689 GB, free: 30.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.4121, allocations: 0 / 0.5689 GB, free: 30.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.2e-05/0.4122, allocations: 148.2 kB / 0.569 GB, free: 30.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.4122, allocations: 1.75 kB / 0.569 GB, free: 30.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.918e-06/0.4122, allocations: 4.75 kB / 0.569 GB, free: 30.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-06/0.4122, allocations: 0 / 0.569 GB, free: 30.38 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.4122, allocations: 9.156 kB / 0.569 GB, free: 30.37 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.4122, allocations: 0 / 0.569 GB, free: 30.37 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4122, allocations: 0 / 0.569 GB, free: 30.37 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.507e-05/0.4123, allocations: 60.47 kB / 0.5691 GB, free: 30.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.882e-05/0.4123, allocations: 77.91 kB / 0.5692 GB, free: 30.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.4124, allocations: 5.094 kB / 0.5692 GB, free: 30.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.873e-06/0.4124, allocations: 0 / 0.5692 GB, free: 30.21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.916e-05/0.4124, allocations: 6.812 kB / 0.5692 GB, free: 30.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.4124, allocations: 4 kB / 0.5692 GB, free: 30.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.887e-05/0.4124, allocations: 76.84 kB / 0.5693 GB, free: 30.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4124, allocations: 0.5312 kB / 0.5693 GB, free: 30.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002066/0.4126, allocations: 0.7031 kB / 0.5693 GB, free: 30.12 MB / 446.1 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 (1): * Single equations (assignments): 1 * 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 8.299e-05/0.4127, allocations: 97.47 kB / 0.5694 GB, free: 30.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.017e-05/0.4128, allocations: 4.109 kB / 0.5694 GB, free: 30.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.4128, allocations: 1.719 kB / 0.5694 GB, free: 30.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.452e-06/0.4128, allocations: 2.031 kB / 0.5694 GB, free: 30.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001431/0.413, allocations: 1.031 kB / 0.5694 GB, free: 30.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002053/0.4132, allocations: 73.03 kB / 0.5694 GB, free: 29.95 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001441/0.4133, allocations: 0.6725 MB / 0.5701 GB, free: 29.25 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.555e-05/0.4134, allocations: 4.594 kB / 0.5701 GB, free: 29.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.898e-05/0.4134, allocations: 8.594 kB / 0.5701 GB, free: 29.24 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4134, allocations: 4.938 kB / 0.5701 GB, free: 29.24 MB / 446.1 MB Notification: Performance of Templates: time 0.002156/0.4156, allocations: 168.2 kB / 0.5703 GB, free: 29.2 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.sim & ./IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe 2>&1)