Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001051, allocations: 111.3 kB / 15.34 MB, free: 0.5117 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.001141/0.001141, allocations: 191.5 kB / 16.25 MB, free: 6.629 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.488/1.488, allocations: 205.1 MB / 222.1 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5765/0.5765, allocations: 95.46 MB / 364.9 MB, free: 10.03 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 75.81 kB / 444.9 MB, free: 9.941 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.405/0.4065, allocations: 69.08 MB / 0.5019 GB, free: 17.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002419/0.4089, allocations: 1.469 MB / 0.5033 GB, free: 16.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005695/0.4095, allocations: 343.5 kB / 0.5036 GB, free: 15.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.154e-05/0.4096, allocations: 4 kB / 0.5037 GB, free: 15.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.238e-05/0.4096, allocations: 7.922 kB / 0.5037 GB, free: 15.72 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.92e-05/0.4097, allocations: 0 / 0.5037 GB, free: 15.72 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003868/0.4101, allocations: 99.72 kB / 0.5038 GB, free: 15.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.003e-05/0.4101, allocations: 19.98 kB / 0.5038 GB, free: 15.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.512e-05/0.4102, allocations: 13.95 kB / 0.5038 GB, free: 15.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.04e-05/0.4103, allocations: 7.984 kB / 0.5038 GB, free: 15.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.715e-05/0.4103, allocations: 11.94 kB / 0.5038 GB, free: 15.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.4103, allocations: 3.938 kB / 0.5038 GB, free: 15.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002668/0.4106, allocations: 239.7 kB / 0.504 GB, free: 15.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.325e-05/0.4106, allocations: 4 kB / 0.504 GB, free: 15.33 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.16e-05/0.4107, allocations: 19.86 kB / 0.5041 GB, free: 15.31 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.4108, allocations: 95.86 kB / 0.5042 GB, free: 15.22 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.4108, allocations: 7.938 kB / 0.5042 GB, free: 15.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.4108, allocations: 8 kB / 0.5042 GB, free: 15.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.4109, allocations: 0 / 0.5042 GB, free: 15.2 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004327/0.4113, allocations: 367.3 kB / 0.5045 GB, free: 14.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/0.4114, allocations: 11.98 kB / 0.5045 GB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.903e-05/0.4114, allocations: 4.844 kB / 0.5045 GB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.36e-05/0.4115, allocations: 164.4 kB / 0.5047 GB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.4115, allocations: 384 / 0.5047 GB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.4115, allocations: 3.938 kB / 0.5047 GB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.4117, allocations: 53.67 kB / 0.5047 GB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.101e-06/0.4117, allocations: 0 / 0.5047 GB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.4117, allocations: 0 / 0.5047 GB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.4117, allocations: 4 kB / 0.5047 GB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001422/0.4119, allocations: 35.89 kB / 0.5048 GB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002569/0.4121, allocations: 260.9 kB / 0.505 GB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.4123, allocations: 38.56 kB / 0.5051 GB, free: 14.13 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.401e-05/0.4123, allocations: 20.91 kB / 0.5051 GB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005316/0.4129, allocations: 461.5 kB / 0.5055 GB, free: 13.56 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.662e-05/0.4129, allocations: 30.56 kB / 0.5056 GB, free: 13.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.4129, allocations: 0 / 0.5056 GB, free: 13.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003241/0.4132, allocations: 89.48 kB / 0.5056 GB, free: 13.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.257e-05/0.4133, allocations: 59.53 kB / 0.5057 GB, free: 13.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.99e-05/0.4133, allocations: 105.8 kB / 0.5058 GB, free: 13.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.664e-06/0.4133, allocations: 25.7 kB / 0.5058 GB, free: 13.21 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.493e-05/0.4134, allocations: 84.14 kB / 0.5059 GB, free: 13.13 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.499e-05/0.4134, allocations: 3.906 kB / 0.5059 GB, free: 13.12 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.559e-05/0.4134, allocations: 13.72 kB / 0.5059 GB, free: 13.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.2e-05/0.4135, allocations: 318.8 kB / 0.5062 GB, free: 12.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.877e-05/0.4135, allocations: 15.97 kB / 0.5062 GB, free: 12.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.086e-05/0.4136, allocations: 23.98 kB / 0.5063 GB, free: 12.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.4137, allocations: 40.77 kB / 0.5063 GB, free: 12.7 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.4137, allocations: 0 / 0.5063 GB, free: 12.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001654/0.4139, allocations: 65.66 kB / 0.5064 GB, free: 12.63 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.4139, allocations: 8.094 kB / 0.5064 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-06/0.4139, allocations: 0 / 0.5064 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.414, allocations: 3.938 kB / 0.5064 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.568e-05/0.414, allocations: 11.98 kB / 0.5064 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.4141, allocations: 0 / 0.5064 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.965e-05/0.4141, allocations: 7.984 kB / 0.5064 GB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.4141, allocations: 0 / 0.5064 GB, free: 12.6 MB / 382.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 (2): * Single equations (assignments): 2 * 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.494e-05/0.4142, allocations: 121.7 kB / 0.5065 GB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.302e-05/0.4142, allocations: 7.906 kB / 0.5065 GB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001849/0.4144, allocations: 85.02 kB / 0.5066 GB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.4144, allocations: 0 / 0.5066 GB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.4144, allocations: 256 / 0.5066 GB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.4144, allocations: 0 / 0.5066 GB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001072/0.4145, allocations: 169.6 kB / 0.5068 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.4145, allocations: 0 / 0.5068 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.914e-05/0.4146, allocations: 7.984 kB / 0.5068 GB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.4146, allocations: 4.031 kB / 0.5068 GB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.4146, allocations: 0 / 0.5068 GB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.4146, allocations: 7.984 kB / 0.5068 GB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.4146, allocations: 0 / 0.5068 GB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001915/0.4148, allocations: 171.4 kB / 0.5069 GB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.164e-05/0.4148, allocations: 77.11 kB / 0.507 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.4149, allocations: 4.031 kB / 0.507 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.711e-05/0.4149, allocations: 7.984 kB / 0.507 GB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.134e-05/0.415, allocations: 4 kB / 0.507 GB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.415, allocations: 0 / 0.507 GB, free: 11.85 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.262e-05/0.415, allocations: 83.28 kB / 0.5071 GB, free: 11.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.415, allocations: 0 / 0.5071 GB, free: 11.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002209/0.4153, allocations: 19.92 kB / 0.5071 GB, free: 11.75 MB / 382.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 (2): * Single equations (assignments): 2 * 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 0.0001663/0.4154, allocations: 107.2 kB / 0.5072 GB, free: 11.63 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000192/0.4156, allocations: 43.95 kB / 0.5073 GB, free: 11.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4156, allocations: 4 kB / 0.5073 GB, free: 11.58 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.206e-05/0.4157, allocations: 15.92 kB / 0.5073 GB, free: 11.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/0.416, allocations: 8 kB / 0.5073 GB, free: 11.56 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002461/0.4162, allocations: 117.5 kB / 0.5074 GB, free: 11.42 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001169/0.4163, allocations: 0.6807 MB / 0.5081 GB, free: 10.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.14e-05/0.4164, allocations: 0 / 0.5081 GB, free: 10.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.745e-05/0.4164, allocations: 11.38 kB / 0.5081 GB, free: 10.7 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4164, allocations: 0 / 0.5081 GB, free: 10.7 MB / 382.1 MB Notification: Performance of Templates: time 0.002441/0.4188, allocations: 0.6474 MB / 0.5087 GB, free: 10.05 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)