Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime") translateModel(BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8335/0.8335, allocations: 128.7 MB / 143.7 MB, free: 2.316 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001256/0.001256, allocations: 184.4 kB / 173.8 MB, free: 6.121 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.842/1.842, allocations: 205.4 MB / 409 MB, free: 10.51 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 88.25 kB / 486.6 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003743/0.0003744, allocations: 8.188 kB / 0.5603 GB, free: 97.51 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2412, allocations: 76.76 MB / 0.6353 GB, free: 30.6 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1608/0.402, allocations: 101.9 MB / 0.7348 GB, free: 8.582 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/0.4023, allocations: 75.95 kB / 0.7349 GB, free: 8.508 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.0005285/0.4029, allocations: 388.8 kB / 0.7352 GB, free: 8.125 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.394e-06/0.4029, allocations: 0 / 0.7352 GB, free: 8.125 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.4029, allocations: 0 / 0.7352 GB, free: 8.125 MB / 0.5105 GB 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.00028/0.4032, allocations: 311.4 kB / 0.7355 GB, free: 7.773 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.4032, allocations: 12.09 kB / 0.7355 GB, free: 7.762 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.4033, allocations: 7.891 kB / 0.7355 GB, free: 7.754 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.4034, allocations: 163.1 kB / 0.7357 GB, free: 7.555 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.4034, allocations: 0 / 0.7357 GB, free: 7.555 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.346e-06/0.4034, allocations: 0 / 0.7357 GB, free: 7.555 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.091e-05/0.4035, allocations: 25.7 kB / 0.7357 GB, free: 7.523 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.4036, allocations: 4 kB / 0.7357 GB, free: 7.52 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-06/0.4036, allocations: 4 kB / 0.7357 GB, free: 7.516 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.4036, allocations: 0 / 0.7357 GB, free: 7.516 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.842e-05/0.4036, allocations: 3.984 kB / 0.7357 GB, free: 7.512 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001604/0.4038, allocations: 153.6 kB / 0.7359 GB, free: 7.312 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.749e-05/0.4038, allocations: 18.61 kB / 0.7359 GB, free: 7.285 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 6.862e-06/0.4038, allocations: 0 / 0.7359 GB, free: 7.285 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.4039, allocations: 30.56 kB / 0.7359 GB, free: 7.246 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.4039, allocations: 4 kB / 0.7359 GB, free: 7.242 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001278/0.404, allocations: 37.7 kB / 0.736 GB, free: 7.199 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.404, allocations: 55.39 kB / 0.736 GB, free: 7.133 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.214e-05/0.4041, allocations: 89 kB / 0.7361 GB, free: 7.039 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.4041, allocations: 25.7 kB / 0.7361 GB, free: 7.008 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.049e-05/0.4041, allocations: 80.14 kB / 0.7362 GB, free: 6.926 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.318e-05/0.4042, allocations: 0 / 0.7362 GB, free: 6.926 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.784e-06/0.4042, allocations: 0 / 0.7362 GB, free: 6.926 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.4043, allocations: 314.9 kB / 0.7365 GB, free: 6.609 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.534e-06/0.4043, allocations: 4 kB / 0.7365 GB, free: 6.605 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.793e-06/0.4044, allocations: 4 kB / 0.7365 GB, free: 6.602 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.672e-05/0.4044, allocations: 0 / 0.7365 GB, free: 6.602 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4044, allocations: 0 / 0.7365 GB, free: 6.602 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.663e-05/0.4044, allocations: 33.7 kB / 0.7366 GB, free: 6.562 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.4045, allocations: 8 kB / 0.7366 GB, free: 6.555 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.4045, allocations: 0 / 0.7366 GB, free: 6.555 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.4045, allocations: 3.984 kB / 0.7366 GB, free: 6.551 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.492e-05/0.4046, allocations: 4.031 kB / 0.7366 GB, free: 6.547 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.4046, allocations: 4 kB / 0.7366 GB, free: 6.543 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.287e-06/0.4046, allocations: 0 / 0.7366 GB, free: 6.543 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-06/0.4046, allocations: 4 kB / 0.7366 GB, free: 6.539 MB / 0.5105 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.018e-05/0.4047, allocations: 109.8 kB / 0.7367 GB, free: 6.422 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.236e-06/0.4047, allocations: 7.844 kB / 0.7367 GB, free: 6.414 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.944e-05/0.4047, allocations: 7.062 kB / 0.7367 GB, free: 6.406 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.61e-07/0.4047, allocations: 0 / 0.7367 GB, free: 6.406 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.4047, allocations: 0 / 0.7367 GB, free: 6.406 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.4047, allocations: 4 kB / 0.7367 GB, free: 6.402 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001048/0.4049, allocations: 157.9 kB / 0.7368 GB, free: 6.199 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.4049, allocations: 0 / 0.7368 GB, free: 6.199 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.246e-06/0.4049, allocations: 0 / 0.7368 GB, free: 6.199 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.4049, allocations: 0 / 0.7368 GB, free: 6.199 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.4049, allocations: 0 / 0.7368 GB, free: 6.199 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.4049, allocations: 4 kB / 0.7369 GB, free: 6.195 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.4049, allocations: 0 / 0.7369 GB, free: 6.195 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.046e-05/0.405, allocations: 53.12 kB / 0.7369 GB, free: 6.125 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.562e-05/0.405, allocations: 89.03 kB / 0.737 GB, free: 6.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.448e-06/0.405, allocations: 0 / 0.737 GB, free: 6.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.913e-06/0.4051, allocations: 4 kB / 0.737 GB, free: 6.016 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.332e-05/0.4051, allocations: 7.984 kB / 0.737 GB, free: 6.008 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.4051, allocations: 4 kB / 0.737 GB, free: 6.004 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.641e-05/0.4051, allocations: 75.28 kB / 0.7371 GB, free: 5.93 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1e-07/0.4051, allocations: 0 / 0.7371 GB, free: 5.93 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001924/0.4053, allocations: 0 / 0.7371 GB, free: 5.93 MB / 0.5105 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001268/0.4054, allocations: 107 kB / 0.7372 GB, free: 5.812 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.191e-05/0.4055, allocations: 0 / 0.7372 GB, free: 5.812 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.4055, allocations: 4 kB / 0.7372 GB, free: 5.809 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.168e-06/0.4055, allocations: 0 / 0.7372 GB, free: 5.809 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.126e-05/0.4056, allocations: 3.984 kB / 0.7372 GB, free: 5.805 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000198/0.4058, allocations: 83.33 kB / 0.7373 GB, free: 5.695 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.4061, allocations: 0.677 MB / 0.7379 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.343e-05/0.4061, allocations: 128 / 0.7379 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.624e-05/0.4061, allocations: 11.44 kB / 0.7379 GB, free: 4.98 MB / 0.5105 GB Notification: Performance of SimCode: time 5.81e-07/0.4061, allocations: 0 / 0.7379 GB, free: 4.98 MB / 0.5105 GB Notification: Performance of Templates: time 0.001659/0.4078, allocations: 152.5 kB / 0.7381 GB, free: 4.832 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime.pipe 2>&1)