Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.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.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 110.5 kB / 16.37 MB, free: 6.344 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.001283/0.001283, allocations: 192.1 kB / 17.3 MB, free: 5.898 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.213/1.213, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002025/0.002025, allocations: 296 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8634/0.8634, allocations: 169.3 MB / 0.4989 GB, free: 4.477 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001647/0.001647, allocations: 96.28 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.433/0.4347, allocations: 86.98 MB / 0.767 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001579/0.4363, allocations: 0.5863 MB / 0.7676 GB, free: 3.223 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003061/0.4366, allocations: 87.72 kB / 0.7677 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.503e-05/0.4366, allocations: 0 / 0.7677 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.194e-05/0.4367, allocations: 4 kB / 0.7677 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.816e-05/0.4367, allocations: 0 / 0.7677 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002024/0.4369, allocations: 23.97 kB / 0.7677 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.449e-05/0.437, allocations: 11.88 kB / 0.7677 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.114e-05/0.437, allocations: 0 / 0.7677 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.809e-05/0.4371, allocations: 4 kB / 0.7677 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.229e-05/0.4371, allocations: 7.922 kB / 0.7677 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.4371, allocations: 4 kB / 0.7677 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.967e-05/0.4372, allocations: 11.98 kB / 0.7677 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.253e-05/0.4372, allocations: 0 / 0.7677 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.003e-05/0.4373, allocations: 15.94 kB / 0.7678 GB, free: 3.055 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 8.319e-05/0.4373, allocations: 11.97 kB / 0.7678 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.4374, allocations: 0 / 0.7678 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.844e-06/0.4374, allocations: 0 / 0.7678 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.4374, allocations: 0 / 0.7678 GB, free: 3.043 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003461/0.4377, allocations: 323.6 kB / 0.7681 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.4378, allocations: 8.031 kB / 0.7681 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001425/0.4379, allocations: 8.922 kB / 0.7681 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.23e-05/0.438, allocations: 172 kB / 0.7683 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.438, allocations: 384 / 0.7683 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.833e-06/0.438, allocations: 384 / 0.7683 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.4381, allocations: 38.25 kB / 0.7683 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.4382, allocations: 4.188 kB / 0.7683 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.4382, allocations: 11.86 kB / 0.7683 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.4382, allocations: 0 / 0.7683 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.323e-05/0.4383, allocations: 11.98 kB / 0.7683 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001311/0.4384, allocations: 149.7 kB / 0.7685 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001518/0.4386, allocations: 46.59 kB / 0.7685 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.141e-05/0.4386, allocations: 8.922 kB / 0.7685 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.4386, allocations: 0 / 0.7685 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.4387, allocations: 34.55 kB / 0.7686 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 2.064e-06/0.4387, allocations: 4 kB / 0.7686 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0001955/0.4389, allocations: 61.56 kB / 0.7686 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/0.4389, allocations: 55.41 kB / 0.7687 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.768e-05/0.439, allocations: 93.8 kB / 0.7688 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.439, allocations: 25.7 kB / 0.7688 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.683e-05/0.439, allocations: 84.12 kB / 0.7689 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.064e-05/0.4391, allocations: 7.812 kB / 0.7689 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.029e-05/0.4391, allocations: 17.72 kB / 0.7689 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.4392, allocations: 314.8 kB / 0.7692 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.804e-05/0.4393, allocations: 7.984 kB / 0.7692 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.023e-05/0.4393, allocations: 8 kB / 0.7692 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.571e-05/0.4394, allocations: 24.78 kB / 0.7692 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.4394, allocations: 0 / 0.7692 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001005/0.4395, allocations: 46.02 kB / 0.7693 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.4395, allocations: 10.66 kB / 0.7693 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.4395, allocations: 7.984 kB / 0.7693 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.4395, allocations: 15.86 kB / 0.7693 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003607/0.4399, allocations: 39.94 kB / 0.7693 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001216/0.4411, allocations: 1.404 MB / 0.7707 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.511e-05/0.4412, allocations: 0 / 0.7707 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-06/0.4412, allocations: 0 / 0.7707 GB, free: 15.68 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.195e-05/0.4412, allocations: 121.1 kB / 0.7708 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.554e-06/0.4413, allocations: 0 / 0.7708 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.6e-05/0.4413, allocations: 7.5 kB / 0.7708 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.4413, allocations: 4.062 kB / 0.7708 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.72e-07/0.4413, allocations: 0 / 0.7708 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-06/0.4413, allocations: 0 / 0.7708 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.133e-05/0.4414, allocations: 153.6 kB / 0.771 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.4414, allocations: 0 / 0.771 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003407/0.4417, allocations: 47.92 kB / 0.771 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.4418, allocations: 4 kB / 0.771 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.4418, allocations: 0 / 0.771 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00107/0.4428, allocations: 1.408 MB / 0.7724 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4429, allocations: 0 / 0.7724 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001175/0.443, allocations: 85.17 kB / 0.7725 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.723e-05/0.443, allocations: 81.09 kB / 0.7726 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.682e-06/0.443, allocations: 3.938 kB / 0.7726 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.456e-05/0.4431, allocations: 0 / 0.7726 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.662e-05/0.4431, allocations: 4 kB / 0.7726 GB, free: 13.53 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.4431, allocations: 3.938 kB / 0.7726 GB, free: 13.53 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.353e-05/0.4431, allocations: 79.28 kB / 0.7727 GB, free: 13.45 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4431, allocations: 4 kB / 0.7727 GB, free: 13.45 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001815/0.4433, allocations: 4 kB / 0.7727 GB, free: 13.44 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001082/0.4434, allocations: 106.1 kB / 0.7728 GB, free: 13.33 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004321/0.4439, allocations: 63.86 kB / 0.7728 GB, free: 13.27 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4439, allocations: 0 / 0.7728 GB, free: 13.27 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003598/0.4442, allocations: 51.92 kB / 0.7729 GB, free: 13.21 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000124/0.4444, allocations: 4.922 kB / 0.7729 GB, free: 13.21 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000283/0.4447, allocations: 125.2 kB / 0.773 GB, free: 13.06 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.4449, allocations: 0.6766 MB / 0.7737 GB, free: 12.36 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.127e-05/0.445, allocations: 7.438 kB / 0.7737 GB, free: 12.35 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.445, allocations: 0 / 0.7737 GB, free: 12.35 MB / 0.545 GB Notification: Performance of Templates: time 0.001851/0.4468, allocations: 0.5972 MB / 0.7743 GB, free: 11.75 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)