Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001745/0.001745, allocations: 106.8 kB / 16.41 MB, free: 5.984 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.001839/0.001839, allocations: 187.8 kB / 17.34 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002499/0.002499, allocations: 296.4 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.002/1.002, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002698/0.002698, allocations: 99.84 kB / 0.6822 GB, free: 6.914 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4312/0.4339, allocations: 86.97 MB / 0.7671 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001604/0.4355, allocations: 0.5824 MB / 0.7677 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0006471/0.4361, allocations: 322.8 kB / 0.768 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.689e-05/0.4362, allocations: 0 / 0.768 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.808e-06/0.4362, allocations: 0 / 0.768 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.959e-06/0.4362, allocations: 4 kB / 0.768 GB, free: 3.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004225/0.4366, allocations: 99.7 kB / 0.7681 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.025e-05/0.4366, allocations: 4 kB / 0.7681 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.023e-05/0.4367, allocations: 0 / 0.7681 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.206e-05/0.4367, allocations: 7.984 kB / 0.7681 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 1.889e-05/0.4367, allocations: 3.984 kB / 0.7681 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.714e-06/0.4367, allocations: 7.938 kB / 0.7681 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004056/0.4371, allocations: 267.7 kB / 0.7684 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.085e-06/0.4371, allocations: 3.938 kB / 0.7684 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.915e-05/0.4371, allocations: 4 kB / 0.7684 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.4373, allocations: 93.84 kB / 0.7684 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.4373, allocations: 0 / 0.7684 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.183e-06/0.4373, allocations: 0 / 0.7684 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.4373, allocations: 0 / 0.7684 GB, free: 2.543 MB / 0.5294 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.0003422/0.4377, allocations: 338.9 kB / 0.7688 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.021e-05/0.4377, allocations: 8.031 kB / 0.7688 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.178e-05/0.4377, allocations: 0.9375 kB / 0.7688 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.4378, allocations: 168.4 kB / 0.7689 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.811e-06/0.4379, allocations: 384 / 0.7689 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-06/0.4379, allocations: 384 / 0.7689 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.88e-05/0.4379, allocations: 26.27 kB / 0.769 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.4379, allocations: 192 / 0.769 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.438, allocations: 3.938 kB / 0.769 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.438, allocations: 8 kB / 0.769 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.557e-05/0.438, allocations: 0 / 0.769 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001511/0.4381, allocations: 161.6 kB / 0.7691 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.397e-05/0.4382, allocations: 18.61 kB / 0.7692 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.601e-05/0.4382, allocations: 4.859 kB / 0.7692 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005118/0.4387, allocations: 433.5 kB / 0.7696 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.4387, allocations: 30.56 kB / 0.7696 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.4387, allocations: 0 / 0.7696 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001343/0.4389, allocations: 37.58 kB / 0.7696 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.4389, allocations: 55.41 kB / 0.7697 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.705e-05/0.4389, allocations: 89.86 kB / 0.7698 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.439, allocations: 29.7 kB / 0.7698 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.279e-05/0.439, allocations: 84.27 kB / 0.7699 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/0.439, allocations: 11.88 kB / 0.7699 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.66e-05/0.439, allocations: 9.719 kB / 0.7699 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.4392, allocations: 314.8 kB / 0.7702 GB, free: 452 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.226e-06/0.4392, allocations: 0 / 0.7702 GB, free: 452 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.859e-06/0.4392, allocations: 0 / 0.7702 GB, free: 452 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.447e-05/0.4392, allocations: 8.859 kB / 0.7702 GB, free: 440 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.4392, allocations: 64 / 0.7702 GB, free: 440 kB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.773e-05/0.4393, allocations: 41.64 kB / 0.7702 GB, free: 392 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.4393, allocations: 11.98 kB / 0.7703 GB, free: 380 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.4393, allocations: 0 / 0.7703 GB, free: 380 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.4393, allocations: 3.938 kB / 0.7703 GB, free: 376 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.302e-05/0.4394, allocations: 0 / 0.7703 GB, free: 376 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.4394, allocations: 0 / 0.7703 GB, free: 376 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.827e-06/0.4394, allocations: 7.938 kB / 0.7703 GB, free: 368 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-06/0.4394, allocations: 0 / 0.7703 GB, free: 368 kB / 0.5294 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 7.024e-05/0.4394, allocations: 109.9 kB / 0.7704 GB, free: 248 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.864e-05/0.4395, allocations: 0 / 0.7704 GB, free: 248 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.906e-05/0.4396, allocations: 48.75 kB / 0.7704 GB, free: 196 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.4396, allocations: 0 / 0.7704 GB, free: 196 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.4396, allocations: 0 / 0.7704 GB, free: 196 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-06/0.4396, allocations: 0 / 0.7704 GB, free: 196 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001071/0.4397, allocations: 145.6 kB / 0.7706 GB, free: 0 / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.4397, allocations: 0 / 0.7706 GB, free: 0 / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.652e-05/0.4397, allocations: 4.047 kB / 0.7706 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.4397, allocations: 3.938 kB / 0.7706 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.4397, allocations: 7.969 kB / 0.7706 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.4397, allocations: 3.938 kB / 0.7706 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.4397, allocations: 0 / 0.7706 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.054e-05/0.4398, allocations: 57.14 kB / 0.7706 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.868e-05/0.4398, allocations: 77.11 kB / 0.7707 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.4398, allocations: 7.922 kB / 0.7707 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.603e-06/0.4398, allocations: 0 / 0.7707 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.518e-05/0.4399, allocations: 8.016 kB / 0.7707 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-06/0.4399, allocations: 4 kB / 0.7707 GB, free: 15.79 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.613e-05/0.4399, allocations: 75.28 kB / 0.7708 GB, free: 15.72 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.4399, allocations: 0 / 0.7708 GB, free: 15.72 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002031/0.4401, allocations: 8 kB / 0.7708 GB, free: 15.71 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.000166/0.4403, allocations: 115.1 kB / 0.7709 GB, free: 15.59 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.23e-05/0.4403, allocations: 7.984 kB / 0.7709 GB, free: 15.58 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4403, allocations: 64 / 0.7709 GB, free: 15.58 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.925e-06/0.4403, allocations: 8 kB / 0.7709 GB, free: 15.57 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001243/0.4405, allocations: 4.75 kB / 0.7709 GB, free: 15.57 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001632/0.4406, allocations: 73.06 kB / 0.771 GB, free: 15.47 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/0.4409, allocations: 0.669 MB / 0.7717 GB, free: 14.77 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.626e-05/0.4409, allocations: 4 kB / 0.7717 GB, free: 14.77 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.495e-05/0.4409, allocations: 11.42 kB / 0.7717 GB, free: 14.76 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.4409, allocations: 0 / 0.7717 GB, free: 14.76 MB / 0.545 GB Notification: Performance of Templates: time 0.002594/0.4435, allocations: 470 kB / 0.7721 GB, free: 14.3 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)