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.001062/0.001062, allocations: 100.2 kB / 16.36 MB, free: 6.422 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.001053/0.001053, allocations: 198.3 kB / 17.3 MB, free: 5.801 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.375/1.375, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.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.765/1.765, allocations: 292.3 MB / 0.5496 GB, free: 17.52 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.001447/0.001447, allocations: 67.91 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2199, allocations: 114.6 MB / 0.7848 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001784/0.2218, allocations: 0.6022 MB / 0.7854 GB, free: 2.594 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 3.619e-05/0.2218, allocations: 4 kB / 0.7854 GB, free: 2.59 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.794e-05/0.2219, allocations: 0 / 0.7854 GB, free: 2.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.578e-05/0.2219, allocations: 3.938 kB / 0.7854 GB, free: 2.586 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.2e-06/0.2219, allocations: 0 / 0.7854 GB, free: 2.586 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 3.668e-05/0.2219, allocations: 0 / 0.7854 GB, free: 2.586 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 4.303e-05/0.222, allocations: 0 / 0.7854 GB, free: 2.586 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.401e-05/0.222, allocations: 8 kB / 0.7854 GB, free: 2.578 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.632e-05/0.2221, allocations: 4 kB / 0.7854 GB, free: 2.574 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 1.807e-05/0.2221, allocations: 3.938 kB / 0.7854 GB, free: 2.57 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.019e-05/0.2221, allocations: 0 / 0.7854 GB, free: 2.57 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 3.376e-06/0.2221, allocations: 0 / 0.7854 GB, free: 2.57 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.268e-05/0.2221, allocations: 0 / 0.7854 GB, free: 2.57 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.871e-05/0.2222, allocations: 0 / 0.7854 GB, free: 2.57 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 5.07e-05/0.2222, allocations: 0 / 0.7854 GB, free: 2.57 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.2222, allocations: 4 kB / 0.7854 GB, free: 2.566 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.644e-06/0.2222, allocations: 3.938 kB / 0.7854 GB, free: 2.562 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.755e-06/0.2222, allocations: 0 / 0.7854 GB, free: 2.562 MB / 0.6544 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.0002551/0.2225, allocations: 315.5 kB / 0.7857 GB, free: 2.203 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.2225, allocations: 12.06 kB / 0.7857 GB, free: 2.191 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.405e-05/0.2226, allocations: 0.9375 kB / 0.7857 GB, free: 2.191 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.063e-05/0.2227, allocations: 160.4 kB / 0.7859 GB, free: 1.996 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.2227, allocations: 384 / 0.7859 GB, free: 1.996 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.803e-06/0.2227, allocations: 384 / 0.7859 GB, free: 1.996 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.223e-05/0.2228, allocations: 38.19 kB / 0.7859 GB, free: 1.953 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.2228, allocations: 192 / 0.7859 GB, free: 1.953 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.2228, allocations: 3.938 kB / 0.7859 GB, free: 1.949 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.2228, allocations: 4 kB / 0.7859 GB, free: 1.945 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.448e-05/0.2228, allocations: 0 / 0.7859 GB, free: 1.945 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000123/0.2229, allocations: 149.7 kB / 0.786 GB, free: 1.75 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 3.385e-05/0.223, allocations: 14.58 kB / 0.7861 GB, free: 1.727 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.135e-05/0.223, allocations: 8.953 kB / 0.7861 GB, free: 1.715 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.816e-06/0.223, allocations: 0 / 0.7861 GB, free: 1.715 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.2231, allocations: 38.55 kB / 0.7861 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.2231, allocations: 3.938 kB / 0.7861 GB, free: 1.664 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0001097/0.2232, allocations: 37.64 kB / 0.7861 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/0.2232, allocations: 51.41 kB / 0.7862 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.17e-05/0.2233, allocations: 89.86 kB / 0.7863 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.2233, allocations: 29.7 kB / 0.7863 GB, free: 1.426 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.141e-05/0.2233, allocations: 80.14 kB / 0.7864 GB, free: 1.344 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/0.2233, allocations: 3.984 kB / 0.7864 GB, free: 1.34 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.453e-05/0.2234, allocations: 9.844 kB / 0.7864 GB, free: 1.324 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.46e-05/0.2235, allocations: 318.8 kB / 0.7867 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.729e-06/0.2235, allocations: 4 kB / 0.7867 GB, free: 1 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.178e-06/0.2235, allocations: 0 / 0.7867 GB, free: 1 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.899e-05/0.2235, allocations: 16.78 kB / 0.7867 GB, free: 0.9805 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2235, allocations: 0 / 0.7867 GB, free: 0.9805 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.923e-05/0.2236, allocations: 33.7 kB / 0.7868 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.2236, allocations: 4 kB / 0.7868 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.2236, allocations: 96 / 0.7868 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.2236, allocations: 7.938 kB / 0.7868 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.81e-05/0.2237, allocations: 7.938 kB / 0.7868 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.2237, allocations: 3.938 kB / 0.7868 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.117e-05/0.2237, allocations: 3.906 kB / 0.7868 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.417e-06/0.2237, allocations: 0 / 0.7868 GB, free: 0.9141 MB / 0.6544 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 5.906e-05/0.2238, allocations: 113.8 kB / 0.7869 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.364e-06/0.2238, allocations: 3.984 kB / 0.7869 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.598e-05/0.2238, allocations: 7.062 kB / 0.7869 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.2238, allocations: 4 kB / 0.7869 GB, free: 0.7734 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.2238, allocations: 0 / 0.7869 GB, free: 0.7734 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.2238, allocations: 0 / 0.7869 GB, free: 0.7734 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.692e-05/0.2239, allocations: 141.7 kB / 0.787 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.2239, allocations: 0 / 0.787 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.104e-05/0.2239, allocations: 7.938 kB / 0.787 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.224, allocations: 0 / 0.787 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.303e-06/0.224, allocations: 7.922 kB / 0.7871 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.224, allocations: 0 / 0.7871 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.224, allocations: 0 / 0.7871 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.735e-05/0.224, allocations: 61.14 kB / 0.7871 GB, free: 0.4922 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.296e-05/0.2241, allocations: 81.05 kB / 0.7872 GB, free: 404 kB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.026e-05/0.2241, allocations: 3.938 kB / 0.7872 GB, free: 400 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.462e-06/0.2241, allocations: 0 / 0.7872 GB, free: 400 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.195e-05/0.2241, allocations: 7.969 kB / 0.7872 GB, free: 392 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.2241, allocations: 4 kB / 0.7872 GB, free: 388 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.216e-05/0.2241, allocations: 75.28 kB / 0.7873 GB, free: 312 kB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.2242, allocations: 0 / 0.7873 GB, free: 312 kB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001877/0.2243, allocations: 4.031 kB / 0.7873 GB, free: 308 kB / 0.6544 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 8.535e-05/0.2244, allocations: 91.25 kB / 0.7874 GB, free: 208 kB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 6.493e-05/0.2245, allocations: 11.94 kB / 0.7874 GB, free: 196 kB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2245, allocations: 0 / 0.7874 GB, free: 196 kB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.593e-06/0.2245, allocations: 4 kB / 0.7874 GB, free: 192 kB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001254/0.2247, allocations: 2.969 kB / 0.7874 GB, free: 192 kB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001645/0.2248, allocations: 69.2 kB / 0.7875 GB, free: 96 kB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3245/0.5494, allocations: 0.6768 MB / 0.7881 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.598e-05/0.5495, allocations: 0 / 0.7881 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.302e-05/0.5495, allocations: 7.438 kB / 0.7881 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of SimCode: time 9.62e-07/0.5495, allocations: 0 / 0.7881 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of Templates: time 0.001864/0.5514, allocations: 161.8 kB / 0.7883 GB, free: 48.23 MB / 0.6544 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1)