Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.0008914/0.0008914, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001006/0.001006, allocations: 192.2 kB / 16.14 MB, free: 6.703 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.198/1.198, allocations: 205.1 MB / 222 MB, free: 4.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.349/1.349, allocations: 251.7 MB / 0.5088 GB, free: 3.34 MB / 414.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.001173/0.001173, allocations: 75.64 kB / 0.6216 GB, free: 1.988 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3897/0.3909, allocations: 104.7 MB / 0.7238 GB, free: 13.17 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.00152/0.3924, allocations: 0.6481 MB / 0.7244 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005346/0.3929, allocations: 361.6 kB / 0.7248 GB, free: 12.17 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.982e-06/0.393, allocations: 0 / 0.7248 GB, free: 12.17 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.158e-05/0.393, allocations: 0 / 0.7248 GB, free: 12.17 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.426e-06/0.393, allocations: 0 / 0.7248 GB, free: 12.17 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002614/0.3933, allocations: 63.88 kB / 0.7249 GB, free: 12.11 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 2.935e-05/0.3933, allocations: 7.969 kB / 0.7249 GB, free: 12.1 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 2.731e-05/0.3933, allocations: 4 kB / 0.7249 GB, free: 12.09 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.855e-06/0.3933, allocations: 0 / 0.7249 GB, free: 12.09 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 1.238e-05/0.3934, allocations: 4 kB / 0.7249 GB, free: 12.09 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.913e-06/0.3934, allocations: 0 / 0.7249 GB, free: 12.09 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000314/0.3937, allocations: 271.7 kB / 0.7251 GB, free: 11.82 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.565e-06/0.3937, allocations: 4 kB / 0.7251 GB, free: 11.82 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.038e-05/0.3937, allocations: 3.938 kB / 0.7251 GB, free: 11.82 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001275/0.3939, allocations: 91.78 kB / 0.7252 GB, free: 11.73 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.3939, allocations: 0 / 0.7252 GB, free: 11.73 MB / 0.545 GB Notification: Performance of FrontEnd: time 5.71e-07/0.3939, allocations: 0 / 0.7252 GB, free: 11.73 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.335e-06/0.3939, allocations: 0 / 0.7252 GB, free: 11.73 MB / 0.545 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.0002264/0.3941, allocations: 331.6 kB / 0.7255 GB, free: 11.35 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.695e-05/0.3941, allocations: 12.03 kB / 0.7256 GB, free: 11.34 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.949e-05/0.3942, allocations: 4.844 kB / 0.7256 GB, free: 11.34 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.378e-05/0.3943, allocations: 168.4 kB / 0.7257 GB, free: 11.13 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.911e-06/0.3943, allocations: 4.375 kB / 0.7257 GB, free: 11.13 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.44e-06/0.3943, allocations: 384 / 0.7257 GB, free: 11.13 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.855e-05/0.3943, allocations: 30.2 kB / 0.7257 GB, free: 11.09 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.526e-06/0.3944, allocations: 192 / 0.7257 GB, free: 11.09 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.861e-06/0.3944, allocations: 3.938 kB / 0.7258 GB, free: 11.09 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.756e-06/0.3944, allocations: 0 / 0.7258 GB, free: 11.09 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.267e-05/0.3944, allocations: 4 kB / 0.7258 GB, free: 11.09 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001034/0.3945, allocations: 145.7 kB / 0.7259 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.345e-05/0.3945, allocations: 26.59 kB / 0.7259 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.143e-05/0.3946, allocations: 4.859 kB / 0.7259 GB, free: 10.85 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004009/0.395, allocations: 421.6 kB / 0.7263 GB, free: 10.35 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.395, allocations: 42.5 kB / 0.7264 GB, free: 10.3 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.395, allocations: 0 / 0.7264 GB, free: 10.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 9.642e-05/0.3951, allocations: 33.64 kB / 0.7264 GB, free: 10.26 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.909e-05/0.3951, allocations: 55.41 kB / 0.7265 GB, free: 10.19 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.667e-05/0.3952, allocations: 89.86 kB / 0.7265 GB, free: 10.09 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.866e-06/0.3952, allocations: 25.7 kB / 0.7266 GB, free: 10.06 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.033e-05/0.3952, allocations: 80.14 kB / 0.7266 GB, free: 9.98 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/0.3952, allocations: 4.125 kB / 0.7266 GB, free: 9.977 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.872e-05/0.3953, allocations: 21.64 kB / 0.7267 GB, free: 9.949 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.114e-05/0.3954, allocations: 314.8 kB / 0.727 GB, free: 9.633 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.193e-06/0.3954, allocations: 0 / 0.727 GB, free: 9.633 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.204e-06/0.3954, allocations: 4 kB / 0.727 GB, free: 9.629 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.852e-05/0.3954, allocations: 12.8 kB / 0.727 GB, free: 9.613 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3954, allocations: 0 / 0.727 GB, free: 9.613 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.401e-05/0.3955, allocations: 29.8 kB / 0.727 GB, free: 9.578 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.257e-06/0.3955, allocations: 13.72 kB / 0.727 GB, free: 9.566 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-06/0.3955, allocations: 0 / 0.727 GB, free: 9.566 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.875e-06/0.3955, allocations: 7.922 kB / 0.727 GB, free: 9.559 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.389e-05/0.3955, allocations: 0 / 0.727 GB, free: 9.559 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.475e-06/0.3955, allocations: 0 / 0.727 GB, free: 9.559 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.444e-06/0.3956, allocations: 4 kB / 0.727 GB, free: 9.555 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.036e-06/0.3956, allocations: 0 / 0.727 GB, free: 9.555 MB / 0.545 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.5e-05/0.3956, allocations: 113.8 kB / 0.7271 GB, free: 9.434 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.644e-05/0.3956, allocations: 0 / 0.7271 GB, free: 9.434 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.554e-05/0.3957, allocations: 52.69 kB / 0.7272 GB, free: 9.375 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.3957, allocations: 0 / 0.7272 GB, free: 9.375 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-06/0.3957, allocations: 0 / 0.7272 GB, free: 9.375 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-06/0.3957, allocations: 0 / 0.7272 GB, free: 9.375 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.2e-05/0.3958, allocations: 149.7 kB / 0.7273 GB, free: 9.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.3958, allocations: 0 / 0.7273 GB, free: 9.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.13e-05/0.3958, allocations: 4 kB / 0.7273 GB, free: 9.176 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.3958, allocations: 0 / 0.7273 GB, free: 9.176 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.529e-06/0.3958, allocations: 3.938 kB / 0.7273 GB, free: 9.172 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.3959, allocations: 8.016 kB / 0.7274 GB, free: 9.164 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.3959, allocations: 0 / 0.7274 GB, free: 9.164 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.987e-05/0.3959, allocations: 57.08 kB / 0.7274 GB, free: 9.09 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.016e-05/0.396, allocations: 79.08 kB / 0.7275 GB, free: 8.996 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.023e-06/0.396, allocations: 3.938 kB / 0.7275 GB, free: 8.992 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.171e-06/0.396, allocations: 0 / 0.7275 GB, free: 8.992 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.085e-05/0.396, allocations: 11.97 kB / 0.7275 GB, free: 8.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.396, allocations: 8.031 kB / 0.7275 GB, free: 8.973 MB / 0.545 GB Notification: Performance of sorting global known variables: time 1.864e-05/0.396, allocations: 75.28 kB / 0.7276 GB, free: 8.898 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.396, allocations: 0 / 0.7276 GB, free: 8.898 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001768/0.3962, allocations: 8 kB / 0.7276 GB, free: 8.891 MB / 0.545 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 0.0001326/0.3964, allocations: 111.2 kB / 0.7277 GB, free: 8.77 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 4.13e-05/0.3964, allocations: 4 kB / 0.7277 GB, free: 8.766 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.3964, allocations: 0 / 0.7277 GB, free: 8.766 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.985e-06/0.3964, allocations: 7.922 kB / 0.7277 GB, free: 8.758 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001042/0.3965, allocations: 11.22 kB / 0.7277 GB, free: 8.75 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001108/0.3966, allocations: 78.67 kB / 0.7278 GB, free: 8.648 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001938/0.3968, allocations: 0.6692 MB / 0.7284 GB, free: 7.953 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.314e-05/0.3969, allocations: 0 / 0.7284 GB, free: 7.953 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.496e-06/0.3969, allocations: 11.44 kB / 0.7284 GB, free: 7.941 MB / 0.545 GB Notification: Performance of SimCode: time 2.01e-07/0.3969, allocations: 0 / 0.7284 GB, free: 7.941 MB / 0.545 GB Notification: Performance of Templates: time 0.001662/0.3986, allocations: 444.2 kB / 0.7289 GB, free: 7.508 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)