Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001138/0.001138, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.001314/0.001314, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.675/1.675, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.818/1.818, allocations: 292.5 MB / 0.5497 GB, free: 14.64 MB / 462.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.0005254/0.0005254, allocations: 21.5 kB / 0.6736 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2488, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0008193/0.2497, allocations: 321.9 kB / 0.7874 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003051/0.2501, allocations: 89.42 kB / 0.7875 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.843e-05/0.2501, allocations: 0 / 0.7875 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.209e-05/0.2501, allocations: 3.938 kB / 0.7875 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.514e-05/0.2502, allocations: 4 kB / 0.7875 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000193/0.2504, allocations: 12 kB / 0.7875 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.352e-05/0.2505, allocations: 0 / 0.7875 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.906e-05/0.2505, allocations: 7.922 kB / 0.7875 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.654e-05/0.2505, allocations: 8 kB / 0.7875 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.626e-05/0.2506, allocations: 7.922 kB / 0.7876 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.2507, allocations: 4 kB / 0.7876 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.81e-05/0.2507, allocations: 7.984 kB / 0.7876 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.917e-06/0.2507, allocations: 4 kB / 0.7876 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.77e-05/0.2508, allocations: 29.7 kB / 0.7876 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.143e-05/0.2508, allocations: 3.984 kB / 0.7876 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.2509, allocations: 4 kB / 0.7876 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2509, allocations: 4 kB / 0.7876 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.2509, allocations: 0 / 0.7876 GB, free: 11.47 MB / 0.6075 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.0003718/0.2513, allocations: 318.2 kB / 0.7879 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.2513, allocations: 8.031 kB / 0.7879 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001713/0.2515, allocations: 7.984 kB / 0.7879 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.2516, allocations: 163 kB / 0.7881 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.2516, allocations: 4 kB / 0.7881 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.2516, allocations: 8 kB / 0.7881 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.2518, allocations: 37.62 kB / 0.7881 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.2518, allocations: 0 / 0.7881 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.2518, allocations: 0 / 0.7881 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.2518, allocations: 0 / 0.7881 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.38e-05/0.2519, allocations: 15.98 kB / 0.7881 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001711/0.2521, allocations: 157.9 kB / 0.7883 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.2523, allocations: 38.61 kB / 0.7883 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.2523, allocations: 4.062 kB / 0.7883 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.2523, allocations: 38.58 kB / 0.7884 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.021e-06/0.2523, allocations: 0 / 0.7884 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.000233/0.2526, allocations: 49.69 kB / 0.7884 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/0.2526, allocations: 51.41 kB / 0.7885 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.732e-05/0.2527, allocations: 101.8 kB / 0.7886 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.2527, allocations: 25.7 kB / 0.7886 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.037e-05/0.2527, allocations: 80.14 kB / 0.7887 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.372e-05/0.2528, allocations: 15.69 kB / 0.7887 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-06/0.2528, allocations: 0 / 0.7887 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.2529, allocations: 314.8 kB / 0.789 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.849e-05/0.2529, allocations: 11.98 kB / 0.789 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.721e-05/0.253, allocations: 4 kB / 0.789 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.236e-05/0.253, allocations: 11.94 kB / 0.789 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.253, allocations: 3.938 kB / 0.789 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001129/0.2531, allocations: 53.91 kB / 0.7891 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.2532, allocations: 4 kB / 0.7891 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.2532, allocations: 0 / 0.7891 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.2532, allocations: 48 / 0.7891 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000381/0.2536, allocations: 47.92 kB / 0.7891 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001244/0.2548, allocations: 1.314 MB / 0.7904 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.829e-05/0.2549, allocations: 4.031 kB / 0.7904 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.2549, allocations: 0 / 0.7904 GB, free: 8.266 MB / 0.6075 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 7.22e-05/0.255, allocations: 110 kB / 0.7905 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.905e-06/0.255, allocations: 3.953 kB / 0.7905 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.62e-05/0.255, allocations: 15.48 kB / 0.7905 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.255, allocations: 4 kB / 0.7905 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.61e-07/0.255, allocations: 0 / 0.7905 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.255, allocations: 0 / 0.7905 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.958e-05/0.2551, allocations: 153.7 kB / 0.7907 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2551, allocations: 0 / 0.7907 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003663/0.2555, allocations: 47.92 kB / 0.7907 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.2555, allocations: 3.953 kB / 0.7907 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.2555, allocations: 4 kB / 0.7907 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001069/0.2566, allocations: 1.31 MB / 0.792 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2566, allocations: 256 / 0.792 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/0.2567, allocations: 81.08 kB / 0.7921 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.63e-05/0.2568, allocations: 85.05 kB / 0.7922 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.704e-06/0.2568, allocations: 4 kB / 0.7922 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.555e-05/0.2568, allocations: 0 / 0.7922 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.859e-05/0.2569, allocations: 0 / 0.7922 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.2569, allocations: 0 / 0.7922 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.374e-05/0.2569, allocations: 83.28 kB / 0.7923 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.523e-06/0.2569, allocations: 0 / 0.7923 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001817/0.2571, allocations: 3.938 kB / 0.7923 GB, free: 6.141 MB / 0.6075 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001345/0.2572, allocations: 107.2 kB / 0.7924 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004589/0.2577, allocations: 63.86 kB / 0.7924 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.2577, allocations: 0 / 0.7924 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002297/0.258, allocations: 39.95 kB / 0.7925 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.362e-05/0.2581, allocations: 0 / 0.7925 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002863/0.2584, allocations: 98.97 kB / 0.7926 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002283/0.2586, allocations: 0.677 MB / 0.7932 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.133e-05/0.2586, allocations: 3.938 kB / 0.7932 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.074e-05/0.2587, allocations: 11.44 kB / 0.7932 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2587, allocations: 0 / 0.7932 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of Templates: time 0.002162/0.2608, allocations: 374.1 kB / 0.7936 GB, free: 4.723 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) Environment - environmentSimulation: