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.004647/0.004647, allocations: 102 kB / 15.73 MB, free: 6.039 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.001054/0.001054, allocations: 194.5 kB / 16.67 MB, free: 5.961 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.288/1.288, allocations: 222.9 MB / 240.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00208/0.002081, allocations: 293.5 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9295/0.9295, allocations: 169.3 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 95.86 kB / 0.6815 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4283/0.4299, allocations: 86.98 MB / 0.7664 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized): time 0.002254/0.4322, allocations: 0.582 MB / 0.767 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003235/0.4326, allocations: 95.72 kB / 0.7671 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.993e-05/0.4326, allocations: 0 / 0.7671 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.718e-05/0.4326, allocations: 0 / 0.7671 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.812e-05/0.4327, allocations: 0 / 0.7671 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002411/0.433, allocations: 19.98 kB / 0.7671 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.702e-05/0.433, allocations: 11.92 kB / 0.7671 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.904e-05/0.4331, allocations: 0 / 0.7671 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.113e-05/0.4331, allocations: 7.938 kB / 0.7671 GB, free: 3.234 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.501e-05/0.4332, allocations: 7.984 kB / 0.7671 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.4332, allocations: 0 / 0.7671 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.488e-05/0.4333, allocations: 15.98 kB / 0.7671 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.342e-05/0.4333, allocations: 0 / 0.7671 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.409e-05/0.4333, allocations: 3.984 kB / 0.7672 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000216/0.4336, allocations: 19.92 kB / 0.7672 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.4336, allocations: 0 / 0.7672 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4336, allocations: 0 / 0.7672 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.4336, allocations: 0 / 0.7672 GB, free: 3.188 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.0003631/0.434, allocations: 327.6 kB / 0.7675 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.434, allocations: 8.031 kB / 0.7675 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001689/0.4342, allocations: 12.92 kB / 0.7675 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.4343, allocations: 164 kB / 0.7677 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.4343, allocations: 384 / 0.7677 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.4344, allocations: 4.375 kB / 0.7677 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/0.4345, allocations: 38.25 kB / 0.7677 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.4345, allocations: 192 / 0.7677 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.4345, allocations: 7.938 kB / 0.7677 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.4345, allocations: 0 / 0.7677 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.273e-05/0.4346, allocations: 15.92 kB / 0.7677 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001707/0.4348, allocations: 153.7 kB / 0.7679 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001624/0.435, allocations: 38.61 kB / 0.7679 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.057e-05/0.435, allocations: 20.84 kB / 0.7679 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.4351, allocations: 4 kB / 0.7679 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.4351, allocations: 30.56 kB / 0.768 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.183e-06/0.4351, allocations: 0 / 0.768 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0002272/0.4353, allocations: 61.55 kB / 0.768 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.4354, allocations: 51.41 kB / 0.7681 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.661e-05/0.4354, allocations: 89.86 kB / 0.7682 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.4355, allocations: 29.7 kB / 0.7682 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.733e-05/0.4355, allocations: 84.14 kB / 0.7683 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.795e-05/0.4355, allocations: 15.8 kB / 0.7683 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.4356, allocations: 17.7 kB / 0.7683 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002078/0.4358, allocations: 314.8 kB / 0.7686 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.057e-05/0.4358, allocations: 4 kB / 0.7686 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.28e-05/0.4359, allocations: 11.92 kB / 0.7686 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.011e-05/0.436, allocations: 24.78 kB / 0.7686 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.436, allocations: 4 kB / 0.7686 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001152/0.4361, allocations: 46.02 kB / 0.7687 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.4361, allocations: 4 kB / 0.7687 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.4361, allocations: 4 kB / 0.7687 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.4362, allocations: 3.938 kB / 0.7687 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003819/0.4366, allocations: 47.92 kB / 0.7687 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001458/0.438, allocations: 1.396 MB / 0.7701 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.518e-05/0.4381, allocations: 8.031 kB / 0.7701 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.4381, allocations: 3.984 kB / 0.7701 GB, free: 15.82 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 8.627e-05/0.4382, allocations: 120.3 kB / 0.7702 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.062e-05/0.4382, allocations: 4 kB / 0.7702 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.874e-05/0.4382, allocations: 3.5 kB / 0.7702 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.4382, allocations: 0 / 0.7702 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.4382, allocations: 0 / 0.7702 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.4382, allocations: 0 / 0.7702 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001146/0.4384, allocations: 161.6 kB / 0.7704 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4384, allocations: 0 / 0.7704 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003451/0.4387, allocations: 51.92 kB / 0.7704 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.4387, allocations: 0 / 0.7704 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.4387, allocations: 0 / 0.7704 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001183/0.4399, allocations: 1.404 MB / 0.7718 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.4399, allocations: 0 / 0.7718 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000126/0.4401, allocations: 77.08 kB / 0.7719 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.585e-05/0.4401, allocations: 85.14 kB / 0.772 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.508e-06/0.4401, allocations: 3.938 kB / 0.772 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.851e-05/0.4402, allocations: 8.047 kB / 0.772 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.869e-05/0.4402, allocations: 3.938 kB / 0.772 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.4402, allocations: 4 kB / 0.772 GB, free: 13.66 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.759e-05/0.4402, allocations: 75.28 kB / 0.7721 GB, free: 13.59 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.91e-07/0.4403, allocations: 0 / 0.7721 GB, free: 13.59 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001961/0.4405, allocations: 8 kB / 0.7721 GB, free: 13.58 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.000141/0.4406, allocations: 95.25 kB / 0.7722 GB, free: 13.48 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004479/0.4411, allocations: 67.91 kB / 0.7722 GB, free: 13.41 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4411, allocations: 7.875 kB / 0.7722 GB, free: 13.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002238/0.4413, allocations: 31.95 kB / 0.7723 GB, free: 13.37 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.4415, allocations: 8 kB / 0.7723 GB, free: 13.36 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004761/0.4419, allocations: 99.5 kB / 0.7724 GB, free: 13.24 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.4422, allocations: 0.669 MB / 0.773 GB, free: 12.55 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.406e-05/0.4423, allocations: 4 kB / 0.773 GB, free: 12.54 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.87e-05/0.4423, allocations: 11.42 kB / 0.773 GB, free: 12.53 MB / 0.545 GB Notification: Performance of SimCode: time 5.51e-07/0.4423, allocations: 4 kB / 0.773 GB, free: 12.53 MB / 0.545 GB Notification: Performance of Templates: time 0.002583/0.4449, allocations: 427.9 kB / 0.7734 GB, free: 12.12 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)