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.001322/0.001322, allocations: 114.5 kB / 17.08 MB, free: 6.004 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.001421/0.001421, allocations: 193.8 kB / 18.02 MB, free: 5.082 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.335/1.335, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7003/0.7003, allocations: 115.3 MB / 407.2 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 66.78 kB / 0.5583 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1239, allocations: 76.18 MB / 0.6327 GB, free: 4.406 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.ModelTime): time 0.001601/0.1255, allocations: 0.5802 MB / 0.6333 GB, free: 3.824 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 3.534e-05/0.1256, allocations: 4 kB / 0.6333 GB, free: 3.82 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.556e-05/0.1256, allocations: 0 / 0.6333 GB, free: 3.82 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.429e-05/0.1256, allocations: 0 / 0.6333 GB, free: 3.82 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.52e-06/0.1256, allocations: 0 / 0.6333 GB, free: 3.82 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.036e-05/0.1257, allocations: 0 / 0.6333 GB, free: 3.82 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 4.561e-05/0.1257, allocations: 4 kB / 0.6333 GB, free: 3.816 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.392e-05/0.1258, allocations: 4 kB / 0.6333 GB, free: 3.812 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.325e-05/0.1258, allocations: 0 / 0.6333 GB, free: 3.812 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.833e-05/0.1258, allocations: 3.984 kB / 0.6333 GB, free: 3.809 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.576e-06/0.1258, allocations: 3.938 kB / 0.6333 GB, free: 3.805 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.599e-06/0.1258, allocations: 0 / 0.6333 GB, free: 3.805 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.155e-05/0.1259, allocations: 7.922 kB / 0.6333 GB, free: 3.797 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.634e-05/0.1259, allocations: 0 / 0.6333 GB, free: 3.797 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 5.008e-05/0.1259, allocations: 8 kB / 0.6333 GB, free: 3.789 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1259, allocations: 0 / 0.6333 GB, free: 3.789 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.126, allocations: 3.938 kB / 0.6333 GB, free: 3.785 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.126, allocations: 4 kB / 0.6333 GB, free: 3.781 MB / 478.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.0002457/0.1262, allocations: 303.6 kB / 0.6336 GB, free: 3.434 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.061e-05/0.1262, allocations: 12.06 kB / 0.6336 GB, free: 3.422 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.301e-05/0.1263, allocations: 0.9375 kB / 0.6336 GB, free: 3.422 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.9e-05/0.1264, allocations: 164.4 kB / 0.6338 GB, free: 3.223 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.1264, allocations: 384 / 0.6338 GB, free: 3.223 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.831e-06/0.1264, allocations: 384 / 0.6338 GB, free: 3.223 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.56e-05/0.1265, allocations: 30.27 kB / 0.6338 GB, free: 3.188 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.1265, allocations: 192 / 0.6338 GB, free: 3.188 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.884e-06/0.1265, allocations: 7.938 kB / 0.6338 GB, free: 3.18 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.256e-06/0.1265, allocations: 0 / 0.6338 GB, free: 3.18 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.514e-05/0.1265, allocations: 3.938 kB / 0.6338 GB, free: 3.176 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001236/0.1267, allocations: 149.7 kB / 0.6339 GB, free: 2.98 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.397e-05/0.1267, allocations: 18.56 kB / 0.634 GB, free: 2.953 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.111e-05/0.1267, allocations: 8.953 kB / 0.634 GB, free: 2.941 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.939e-06/0.1267, allocations: 0 / 0.634 GB, free: 2.941 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.1268, allocations: 38.56 kB / 0.634 GB, free: 2.895 MB / 478.1 MB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.1268, allocations: 0 / 0.634 GB, free: 2.895 MB / 478.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001089/0.1269, allocations: 37.58 kB / 0.634 GB, free: 2.852 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.1269, allocations: 51.41 kB / 0.6341 GB, free: 2.789 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.106e-05/0.1269, allocations: 93.86 kB / 0.6342 GB, free: 2.688 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.127, allocations: 25.7 kB / 0.6342 GB, free: 2.656 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.92e-05/0.127, allocations: 84.08 kB / 0.6343 GB, free: 2.57 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/0.127, allocations: 0 / 0.6343 GB, free: 2.57 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.701e-05/0.1271, allocations: 22.17 kB / 0.6343 GB, free: 2.543 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.605e-05/0.1272, allocations: 310.8 kB / 0.6346 GB, free: 2.23 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.206e-06/0.1272, allocations: 4 kB / 0.6346 GB, free: 2.227 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.499e-06/0.1272, allocations: 0 / 0.6346 GB, free: 2.227 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.049e-05/0.1272, allocations: 8.859 kB / 0.6346 GB, free: 2.215 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1272, allocations: 0 / 0.6346 GB, free: 2.215 MB / 478.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.505e-05/0.1273, allocations: 33.64 kB / 0.6347 GB, free: 2.176 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.1273, allocations: 8.094 kB / 0.6347 GB, free: 2.168 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.1273, allocations: 0 / 0.6347 GB, free: 2.168 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.1273, allocations: 11.92 kB / 0.6347 GB, free: 2.156 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.699e-05/0.1274, allocations: 4 kB / 0.6347 GB, free: 2.152 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.546e-06/0.1274, allocations: 0 / 0.6347 GB, free: 2.152 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.272e-05/0.1274, allocations: 11.89 kB / 0.6347 GB, free: 2.141 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-06/0.1274, allocations: 0 / 0.6347 GB, free: 2.141 MB / 478.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 6.388e-05/0.1275, allocations: 109.8 kB / 0.6348 GB, free: 2.023 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.23e-06/0.1275, allocations: 0 / 0.6348 GB, free: 2.023 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.492e-05/0.1275, allocations: 11.06 kB / 0.6348 GB, free: 2.012 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.1275, allocations: 3.938 kB / 0.6348 GB, free: 2.008 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.1275, allocations: 0 / 0.6348 GB, free: 2.008 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.1275, allocations: 0 / 0.6348 GB, free: 2.008 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.338e-05/0.1276, allocations: 149.6 kB / 0.6349 GB, free: 1.812 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1276, allocations: 4 kB / 0.635 GB, free: 1.809 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.107e-06/0.1276, allocations: 0 / 0.635 GB, free: 1.809 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-06/0.1276, allocations: 0 / 0.635 GB, free: 1.809 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.1276, allocations: 3.938 kB / 0.635 GB, free: 1.805 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.1276, allocations: 0 / 0.635 GB, free: 1.805 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1277, allocations: 0 / 0.635 GB, free: 1.805 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.828e-05/0.1277, allocations: 65.08 kB / 0.635 GB, free: 1.723 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.707e-05/0.1278, allocations: 81.09 kB / 0.6351 GB, free: 1.625 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.518e-06/0.1278, allocations: 3.938 kB / 0.6351 GB, free: 1.621 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.812e-06/0.1278, allocations: 0 / 0.6351 GB, free: 1.621 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.251e-05/0.1278, allocations: 0 / 0.6351 GB, free: 1.621 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-06/0.1278, allocations: 4 kB / 0.6351 GB, free: 1.617 MB / 478.1 MB Notification: Performance of sorting global known variables: time 2.569e-05/0.1278, allocations: 79.28 kB / 0.6352 GB, free: 1.539 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1278, allocations: 7.969 kB / 0.6352 GB, free: 1.531 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0001819/0.128, allocations: 0 / 0.6352 GB, free: 1.531 MB / 478.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.661e-05/0.1281, allocations: 91.25 kB / 0.6353 GB, free: 1.43 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 5.924e-05/0.1282, allocations: 8 kB / 0.6353 GB, free: 1.422 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1282, allocations: 3.938 kB / 0.6353 GB, free: 1.418 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 6.793e-06/0.1282, allocations: 4 kB / 0.6353 GB, free: 1.414 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001243/0.1283, allocations: 1.719 kB / 0.6353 GB, free: 1.414 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001742/0.1285, allocations: 114.9 kB / 0.6354 GB, free: 1.27 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002143/0.1287, allocations: 0.669 MB / 0.6361 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.408e-05/0.1288, allocations: 7.438 kB / 0.6361 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1288, allocations: 0 / 0.6361 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of Templates: time 0.001377/0.1302, allocations: 327.8 kB / 0.6364 GB, free: 252 kB / 478.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)