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.001356/0.001356, allocations: 101.1 kB / 16.64 MB, free: 6.82 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.00136/0.00136, allocations: 185.9 kB / 17.56 MB, free: 5.938 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.397/1.397, allocations: 222.9 MB / 241.2 MB, free: 15.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7892/0.7892, allocations: 125.4 MB / 416.7 MB, free: 13.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 71.88 kB / 0.4943 GB, free: 4.844 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3451, allocations: 78.56 MB / 0.571 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.ModelTime): time 0.001728/0.3468, allocations: 0.6531 MB / 0.5716 GB, free: 31.1 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 3.185e-05/0.3469, allocations: 4.656 kB / 0.5716 GB, free: 31.1 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.535e-05/0.3469, allocations: 1.031 kB / 0.5716 GB, free: 31.1 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.728e-05/0.3469, allocations: 1.312 kB / 0.5716 GB, free: 31.1 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.089e-06/0.3469, allocations: 0 / 0.5716 GB, free: 31.1 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.811e-05/0.347, allocations: 1.188 kB / 0.5716 GB, free: 31.1 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.494e-05/0.347, allocations: 1.75 kB / 0.5716 GB, free: 31.1 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.816e-05/0.3471, allocations: 2.484 kB / 0.5716 GB, free: 31.1 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.413e-05/0.3471, allocations: 3.984 kB / 0.5717 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.807e-05/0.3471, allocations: 2.562 kB / 0.5717 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.3472, allocations: 0 / 0.5717 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.848e-06/0.3472, allocations: 1.281 kB / 0.5717 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.083e-05/0.3472, allocations: 0 / 0.5717 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.901e-05/0.3472, allocations: 1.234 kB / 0.5717 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 4.021e-05/0.3472, allocations: 0.9688 kB / 0.5717 GB, free: 31.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3473, allocations: 9.859 kB / 0.5717 GB, free: 31.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3473, allocations: 0 / 0.5717 GB, free: 31.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.3473, allocations: 1.125 kB / 0.5717 GB, free: 31.09 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.0002099/0.3475, allocations: 316.5 kB / 0.572 GB, free: 30.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.3475, allocations: 10.86 kB / 0.572 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.172e-05/0.3476, allocations: 1.531 kB / 0.572 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.261e-05/0.3476, allocations: 161.5 kB / 0.5721 GB, free: 30.54 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.3476, allocations: 2.156 kB / 0.5721 GB, free: 30.54 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.3477, allocations: 2.406 kB / 0.5721 GB, free: 30.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.415e-05/0.3477, allocations: 29.64 kB / 0.5722 GB, free: 30.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.3478, allocations: 192 / 0.5722 GB, free: 30.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.3478, allocations: 3.938 kB / 0.5722 GB, free: 30.5 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.3478, allocations: 1.125 kB / 0.5722 GB, free: 30.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.627e-05/0.3478, allocations: 2.344 kB / 0.5722 GB, free: 30.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.453e-05/0.3479, allocations: 150.3 kB / 0.5723 GB, free: 30.31 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.289e-05/0.3479, allocations: 20.64 kB / 0.5723 GB, free: 30.28 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.963e-05/0.348, allocations: 9.234 kB / 0.5723 GB, free: 30.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.348, allocations: 0 / 0.5723 GB, free: 30.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.844e-05/0.348, allocations: 39.77 kB / 0.5724 GB, free: 30.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 7.82e-07/0.348, allocations: 0 / 0.5724 GB, free: 30.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001028/0.3481, allocations: 35.27 kB / 0.5724 GB, free: 30.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.195e-05/0.3481, allocations: 56.5 kB / 0.5725 GB, free: 30.13 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.531e-05/0.3482, allocations: 89.86 kB / 0.5726 GB, free: 30.03 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.62e-06/0.3482, allocations: 26.73 kB / 0.5726 GB, free: 30 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.042e-05/0.3482, allocations: 81.17 kB / 0.5727 GB, free: 29.92 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.756e-05/0.3482, allocations: 4.906 kB / 0.5727 GB, free: 29.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.24e-05/0.3482, allocations: 15.45 kB / 0.5727 GB, free: 29.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.669e-05/0.3483, allocations: 316.6 kB / 0.573 GB, free: 29.58 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.955e-06/0.3483, allocations: 0.75 kB / 0.573 GB, free: 29.58 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.789e-06/0.3483, allocations: 1.438 kB / 0.573 GB, free: 29.58 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.666e-05/0.3484, allocations: 9.547 kB / 0.573 GB, free: 29.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3484, allocations: 0 / 0.573 GB, free: 29.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.878e-05/0.3484, allocations: 31.45 kB / 0.573 GB, free: 29.54 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.3484, allocations: 9.656 kB / 0.573 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.3484, allocations: 0 / 0.573 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.3484, allocations: 5.562 kB / 0.573 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.868e-05/0.3485, allocations: 9.109 kB / 0.573 GB, free: 29.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3485, allocations: 1.188 kB / 0.573 GB, free: 29.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.466e-06/0.3485, allocations: 0.9688 kB / 0.573 GB, free: 29.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.958e-06/0.3485, allocations: 0 / 0.573 GB, free: 29.53 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 4.213e-05/0.3486, allocations: 112.5 kB / 0.5732 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.16e-06/0.3486, allocations: 1 kB / 0.5732 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.5e-05/0.3486, allocations: 9.266 kB / 0.5732 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.3486, allocations: 1.281 kB / 0.5732 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.3486, allocations: 4 kB / 0.5732 GB, free: 29.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-06/0.3486, allocations: 5.25 kB / 0.5732 GB, free: 29.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.306e-05/0.3487, allocations: 147 kB / 0.5733 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.3487, allocations: 0 / 0.5733 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.977e-06/0.3487, allocations: 1.062 kB / 0.5733 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.3487, allocations: 1.719 kB / 0.5733 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.3487, allocations: 3.938 kB / 0.5733 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3487, allocations: 3.469 kB / 0.5733 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3487, allocations: 0 / 0.5733 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.532e-05/0.3488, allocations: 61.19 kB / 0.5734 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.663e-05/0.3488, allocations: 79.73 kB / 0.5735 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.3488, allocations: 7.281 kB / 0.5735 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.184e-06/0.3488, allocations: 3.984 kB / 0.5735 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.498e-06/0.3488, allocations: 0 / 0.5735 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-06/0.3488, allocations: 2.594 kB / 0.5735 GB, free: 29.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.328e-05/0.3489, allocations: 75.28 kB / 0.5735 GB, free: 28.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3489, allocations: 0 / 0.5735 GB, free: 28.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001833/0.3491, allocations: 1.25 kB / 0.5735 GB, free: 28.96 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 7.951e-05/0.3492, allocations: 98.31 kB / 0.5736 GB, free: 28.87 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.791e-05/0.3492, allocations: 8.531 kB / 0.5736 GB, free: 28.87 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.3492, allocations: 0 / 0.5736 GB, free: 28.87 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.302e-06/0.3492, allocations: 1.875 kB / 0.5736 GB, free: 28.87 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001301/0.3494, allocations: 7.797 kB / 0.5737 GB, free: 28.86 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001569/0.3495, allocations: 96.72 kB / 0.5737 GB, free: 28.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.756e-05/0.3496, allocations: 0.6708 MB / 0.5744 GB, free: 28.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.47e-05/0.3497, allocations: 8.438 kB / 0.5744 GB, free: 28.04 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3497, allocations: 0 / 0.5744 GB, free: 28.04 MB / 446.1 MB Notification: Performance of Templates: time 0.001656/0.3513, allocations: 335.4 kB / 0.5747 GB, free: 28.03 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)