Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001577/0.001577, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00185/0.001851, allocations: 188.8 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.345/1.345, allocations: 205.1 MB / 222.1 MB, free: 4.621 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.696/1.696, allocations: 292.2 MB / 0.5485 GB, free: 13.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 68.47 kB / 0.671 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.237, allocations: 114.5 MB / 0.7828 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001878/0.2389, allocations: 0.6744 MB / 0.7835 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 3.818e-05/0.239, allocations: 0 / 0.7835 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.591e-05/0.239, allocations: 0 / 0.7835 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.059e-05/0.2391, allocations: 0 / 0.7835 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.558e-06/0.2391, allocations: 4 kB / 0.7835 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.625e-05/0.2391, allocations: 4 kB / 0.7835 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.218e-05/0.2392, allocations: 0 / 0.7835 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.173e-05/0.2392, allocations: 0 / 0.7835 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.684e-05/0.2392, allocations: 4 kB / 0.7835 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.097e-05/0.2393, allocations: 0 / 0.7835 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.827e-06/0.2393, allocations: 0 / 0.7835 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.949e-06/0.2393, allocations: 4 kB / 0.7835 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.196e-05/0.2393, allocations: 0 / 0.7835 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.116e-05/0.2393, allocations: 0 / 0.7835 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 4.737e-05/0.2394, allocations: 7.922 kB / 0.7835 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.2394, allocations: 4 kB / 0.7835 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2394, allocations: 0 / 0.7835 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.2394, allocations: 0 / 0.7835 GB, free: 13.24 MB / 0.6075 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.000295/0.2397, allocations: 311.6 kB / 0.7838 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.2398, allocations: 8.031 kB / 0.7838 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.393e-05/0.2398, allocations: 0.9375 kB / 0.7838 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.2399, allocations: 160.4 kB / 0.784 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.2399, allocations: 12.31 kB / 0.784 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.891e-06/0.2399, allocations: 384 / 0.784 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.086e-05/0.24, allocations: 30.27 kB / 0.784 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.24, allocations: 192 / 0.784 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.2401, allocations: 3.938 kB / 0.784 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.2401, allocations: 0 / 0.784 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.353e-05/0.2401, allocations: 7.984 kB / 0.784 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001288/0.2402, allocations: 141.7 kB / 0.7842 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.732e-05/0.2403, allocations: 22.52 kB / 0.7842 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.307e-05/0.2403, allocations: 16.89 kB / 0.7842 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.374e-06/0.2403, allocations: 0 / 0.7842 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.2403, allocations: 30.56 kB / 0.7842 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.2403, allocations: 4 kB / 0.7842 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001039/0.2404, allocations: 37.62 kB / 0.7843 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/0.2405, allocations: 51.41 kB / 0.7843 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.64e-05/0.2405, allocations: 89.86 kB / 0.7844 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.2406, allocations: 25.7 kB / 0.7844 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.461e-05/0.2406, allocations: 88.27 kB / 0.7845 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/0.2406, allocations: 3.906 kB / 0.7845 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.813e-05/0.2407, allocations: 17.72 kB / 0.7845 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.2408, allocations: 314.8 kB / 0.7848 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.396e-06/0.2408, allocations: 0 / 0.7848 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.368e-06/0.2408, allocations: 0 / 0.7848 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.585e-05/0.2408, allocations: 12.86 kB / 0.7849 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.2408, allocations: 4.062 kB / 0.7849 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.438e-05/0.2409, allocations: 33.69 kB / 0.7849 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.2409, allocations: 8 kB / 0.7849 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.2409, allocations: 0 / 0.7849 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.2409, allocations: 7.875 kB / 0.7849 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.896e-05/0.241, allocations: 0 / 0.7849 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.241, allocations: 0 / 0.7849 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.07e-05/0.241, allocations: 7.938 kB / 0.7849 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.409e-06/0.241, allocations: 0 / 0.7849 GB, free: 11.59 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.572e-05/0.2411, allocations: 110.2 kB / 0.785 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.87e-06/0.2411, allocations: 0 / 0.785 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.748e-05/0.2411, allocations: 11.06 kB / 0.785 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.2411, allocations: 3.984 kB / 0.785 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.2411, allocations: 0 / 0.785 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-06/0.2411, allocations: 4 kB / 0.785 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.599e-05/0.2412, allocations: 145.7 kB / 0.7852 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.2412, allocations: 0 / 0.7852 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.386e-06/0.2413, allocations: 0 / 0.7852 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-06/0.2413, allocations: 0 / 0.7852 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.2413, allocations: 7.938 kB / 0.7852 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.2413, allocations: 4 kB / 0.7852 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.2413, allocations: 0 / 0.7852 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.591e-05/0.2413, allocations: 57.11 kB / 0.7852 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.27e-05/0.2414, allocations: 81.05 kB / 0.7853 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.2414, allocations: 11.94 kB / 0.7853 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.303e-06/0.2414, allocations: 0 / 0.7853 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.959e-06/0.2414, allocations: 3.938 kB / 0.7853 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-06/0.2414, allocations: 7.969 kB / 0.7853 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.871e-05/0.2415, allocations: 75.28 kB / 0.7854 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.2415, allocations: 0 / 0.7854 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001697/0.2417, allocations: 0 / 0.7854 GB, free: 10.98 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.126e-05/0.2417, allocations: 99.23 kB / 0.7855 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.364e-05/0.2418, allocations: 4 kB / 0.7855 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2418, allocations: 0 / 0.7855 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.698e-06/0.2418, allocations: 64 / 0.7855 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001247/0.242, allocations: 10.88 kB / 0.7855 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001932/0.2422, allocations: 80.94 kB / 0.7856 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.2424, allocations: 0.6767 MB / 0.7863 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.283e-05/0.2425, allocations: 4 kB / 0.7863 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.927e-05/0.2425, allocations: 7.438 kB / 0.7863 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2425, allocations: 3.938 kB / 0.7863 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of Templates: time 0.002102/0.2446, allocations: 173.2 kB / 0.7864 GB, free: 9.867 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.makefile (rm -f Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_8_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1)