Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Functions.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.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009554/0.0009557, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006481/0.006481, allocations: 169.4 kB / 16.26 MB, free: 6.652 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.692/1.692, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.6949/0.6949, allocations: 95.62 MB / 366.4 MB, free: 10.23 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.000586/0.000586, allocations: 23.92 kB / 447.5 MB, free: 8.957 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3949/0.3955, allocations: 70.34 MB / 0.5057 GB, free: 16.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0007776/0.3964, allocations: 273 kB / 0.5059 GB, free: 16.06 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006243/0.397, allocations: 322 kB / 0.5062 GB, free: 15.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.1e-05/0.397, allocations: 0 / 0.5062 GB, free: 15.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.765e-05/0.397, allocations: 0 / 0.5062 GB, free: 15.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.639e-06/0.3971, allocations: 0 / 0.5062 GB, free: 15.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003268/0.3974, allocations: 71.86 kB / 0.5063 GB, free: 15.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.01e-05/0.3974, allocations: 0 / 0.5063 GB, free: 15.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.989e-05/0.3975, allocations: 0 / 0.5063 GB, free: 15.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.533e-05/0.3975, allocations: 4 kB / 0.5063 GB, free: 15.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.052e-05/0.3975, allocations: 3.938 kB / 0.5063 GB, free: 15.67 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.021e-05/0.3976, allocations: 0 / 0.5063 GB, free: 15.67 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003018/0.3979, allocations: 231.7 kB / 0.5065 GB, free: 15.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.567e-06/0.3979, allocations: 0 / 0.5065 GB, free: 15.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.138e-05/0.3979, allocations: 29.7 kB / 0.5066 GB, free: 15.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001488/0.3981, allocations: 87.88 kB / 0.5067 GB, free: 15.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.3981, allocations: 0 / 0.5067 GB, free: 15.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.3981, allocations: 0 / 0.5067 GB, free: 15.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.3981, allocations: 0 / 0.5067 GB, free: 15.32 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002428/0.3983, allocations: 331.6 kB / 0.507 GB, free: 14.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.3984, allocations: 11.98 kB / 0.507 GB, free: 14.94 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.852e-05/0.3985, allocations: 0.9375 kB / 0.507 GB, free: 14.94 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.392e-05/0.3985, allocations: 168.3 kB / 0.5071 GB, free: 14.74 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.3985, allocations: 384 / 0.5071 GB, free: 14.74 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.396e-06/0.3986, allocations: 15.86 kB / 0.5072 GB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.401e-05/0.3987, allocations: 33.7 kB / 0.5072 GB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.3987, allocations: 0 / 0.5072 GB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-06/0.3987, allocations: 0 / 0.5072 GB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.3987, allocations: 0 / 0.5072 GB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.643e-05/0.3987, allocations: 4 kB / 0.5072 GB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001164/0.3989, allocations: 141.7 kB / 0.5073 GB, free: 14.49 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.617e-05/0.3989, allocations: 30.42 kB / 0.5074 GB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.654e-05/0.3989, allocations: 16.84 kB / 0.5074 GB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004428/0.3994, allocations: 425.5 kB / 0.5078 GB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.591e-05/0.3994, allocations: 34.56 kB / 0.5078 GB, free: 13.88 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.3994, allocations: 0 / 0.5078 GB, free: 13.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001501/0.3996, allocations: 33.73 kB / 0.5078 GB, free: 13.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.539e-05/0.3996, allocations: 55.41 kB / 0.5079 GB, free: 13.78 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.191e-05/0.3996, allocations: 89.86 kB / 0.508 GB, free: 13.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.566e-06/0.3996, allocations: 33.64 kB / 0.508 GB, free: 13.64 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.341e-05/0.3996, allocations: 80.14 kB / 0.5081 GB, free: 13.56 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.375e-05/0.3997, allocations: 3.984 kB / 0.5081 GB, free: 13.55 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.847e-05/0.3997, allocations: 9.719 kB / 0.5081 GB, free: 13.54 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.003e-05/0.3998, allocations: 314.8 kB / 0.5084 GB, free: 13.22 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.757e-06/0.3998, allocations: 4 kB / 0.5084 GB, free: 13.22 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.641e-06/0.3998, allocations: 8 kB / 0.5084 GB, free: 13.21 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.403e-05/0.3998, allocations: 4.859 kB / 0.5084 GB, free: 13.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3998, allocations: 0 / 0.5084 GB, free: 13.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.185e-05/0.3999, allocations: 37.64 kB / 0.5085 GB, free: 13.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.3999, allocations: 4 kB / 0.5085 GB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.3999, allocations: 0 / 0.5085 GB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.4, allocations: 0 / 0.5085 GB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.425e-05/0.4, allocations: 7.938 kB / 0.5085 GB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.4, allocations: 96 / 0.5085 GB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.25e-05/0.4, allocations: 7.984 kB / 0.5085 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.4, allocations: 0 / 0.5085 GB, free: 13.14 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 (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 4.648e-05/0.4001, allocations: 109.8 kB / 0.5086 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.388e-05/0.4001, allocations: 7.938 kB / 0.5086 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.641e-05/0.4002, allocations: 36.78 kB / 0.5086 GB, free: 12.97 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.4002, allocations: 0 / 0.5086 GB, free: 12.97 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4002, allocations: 0 / 0.5086 GB, free: 12.97 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.4002, allocations: 8.016 kB / 0.5086 GB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.769e-05/0.4003, allocations: 149.6 kB / 0.5088 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4003, allocations: 0 / 0.5088 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.096e-05/0.4003, allocations: 0 / 0.5088 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.4003, allocations: 3.938 kB / 0.5088 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-06/0.4004, allocations: 3.938 kB / 0.5088 GB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.4004, allocations: 4 kB / 0.5088 GB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.4004, allocations: 3.938 kB / 0.5088 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.284e-05/0.4004, allocations: 65.06 kB / 0.5089 GB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.734e-05/0.4005, allocations: 79.08 kB / 0.5089 GB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.007e-05/0.4005, allocations: 4 kB / 0.5089 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.682e-06/0.4005, allocations: 0 / 0.5089 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.716e-05/0.4005, allocations: 0 / 0.5089 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-06/0.4005, allocations: 4 kB / 0.5089 GB, free: 12.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.52e-05/0.4005, allocations: 75.28 kB / 0.509 GB, free: 12.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4005, allocations: 0 / 0.509 GB, free: 12.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002045/0.4007, allocations: 11.98 kB / 0.509 GB, free: 12.48 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 (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 0.0001832/0.4009, allocations: 119.3 kB / 0.5091 GB, free: 12.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.213e-05/0.401, allocations: 7.938 kB / 0.5091 GB, free: 12.35 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.401, allocations: 0 / 0.5091 GB, free: 12.35 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.34e-06/0.401, allocations: 0 / 0.5091 GB, free: 12.35 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001443/0.4012, allocations: 3.938 kB / 0.5091 GB, free: 12.35 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001854/0.4014, allocations: 82.66 kB / 0.5092 GB, free: 12.24 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001551/0.4015, allocations: 0.6692 MB / 0.5099 GB, free: 11.54 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.586e-05/0.4016, allocations: 4.125 kB / 0.5099 GB, free: 11.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.104e-05/0.4016, allocations: 11.44 kB / 0.5099 GB, free: 11.53 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4016, allocations: 0 / 0.5099 GB, free: 11.53 MB / 382.1 MB Notification: Performance of Templates: time 0.002512/0.4041, allocations: 444.4 kB / 0.5103 GB, free: 11.09 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) Environment - environmentSimulation: