Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7339/0.7339, allocations: 128.7 MB / 143.7 MB, free: 2.344 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00103/0.00103, allocations: 182.3 kB / 173.7 MB, free: 6.141 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.533/1.533, allocations: 205.4 MB / 409 MB, free: 10.51 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008155/0.0008155, allocations: 101.4 kB / 486.6 MB, free: 13.03 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003644/0.0003645, allocations: 9.406 kB / 0.5604 GB, free: 97.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1457, allocations: 76.78 MB / 0.6354 GB, free: 30.48 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1379/0.2836, allocations: 101.9 MB / 0.7349 GB, free: 8.438 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003018/0.2839, allocations: 83.95 kB / 0.735 GB, free: 8.355 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.002643/0.2866, allocations: 1.008 MB / 0.736 GB, free: 7.344 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.284e-06/0.2866, allocations: 0 / 0.736 GB, free: 7.344 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.249e-06/0.2866, allocations: 0 / 0.736 GB, free: 7.344 MB / 0.5105 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.0002993/0.2869, allocations: 323.4 kB / 0.7363 GB, free: 6.98 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/0.287, allocations: 12.03 kB / 0.7363 GB, free: 6.969 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.812e-05/0.287, allocations: 30.56 kB / 0.7363 GB, free: 6.93 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001302/0.2872, allocations: 11.94 kB / 0.7364 GB, free: 6.918 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.2873, allocations: 163.1 kB / 0.7365 GB, free: 6.719 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.2873, allocations: 0 / 0.7365 GB, free: 6.719 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.2873, allocations: 4 kB / 0.7365 GB, free: 6.715 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.2875, allocations: 41.62 kB / 0.7366 GB, free: 6.668 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.2875, allocations: 4 kB / 0.7366 GB, free: 6.664 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.2875, allocations: 0 / 0.7366 GB, free: 6.664 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.2875, allocations: 0 / 0.7366 GB, free: 6.664 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.908e-05/0.2876, allocations: 15.94 kB / 0.7366 GB, free: 6.648 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001664/0.2878, allocations: 153.7 kB / 0.7367 GB, free: 6.449 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001532/0.2879, allocations: 34.56 kB / 0.7368 GB, free: 6.406 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.288, allocations: 15.94 kB / 0.7368 GB, free: 6.391 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.288, allocations: 34.56 kB / 0.7368 GB, free: 6.348 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.288, allocations: 0 / 0.7368 GB, free: 6.348 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0001999/0.2882, allocations: 53.95 kB / 0.7369 GB, free: 6.289 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.2883, allocations: 51.41 kB / 0.7369 GB, free: 6.227 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.627e-05/0.2883, allocations: 88.94 kB / 0.737 GB, free: 6.133 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.2883, allocations: 25.7 kB / 0.737 GB, free: 6.102 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.28e-05/0.2884, allocations: 84.14 kB / 0.7371 GB, free: 6.016 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.305e-05/0.2884, allocations: 19.73 kB / 0.7371 GB, free: 5.996 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-06/0.2884, allocations: 4 kB / 0.7371 GB, free: 5.992 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.2886, allocations: 314.8 kB / 0.7374 GB, free: 5.676 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.527e-05/0.2886, allocations: 4 kB / 0.7374 GB, free: 5.672 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.146e-05/0.2886, allocations: 19.91 kB / 0.7374 GB, free: 5.652 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.149e-05/0.2887, allocations: 4 kB / 0.7374 GB, free: 5.648 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2887, allocations: 0 / 0.7374 GB, free: 5.648 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001018/0.2888, allocations: 53.67 kB / 0.7375 GB, free: 5.59 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.2888, allocations: 4 kB / 0.7375 GB, free: 5.586 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.2888, allocations: 0 / 0.7375 GB, free: 5.586 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.2888, allocations: 0 / 0.7375 GB, free: 5.586 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003906/0.2892, allocations: 39.94 kB / 0.7375 GB, free: 5.547 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00132/0.2906, allocations: 1.315 MB / 0.7388 GB, free: 4.102 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.989e-05/0.2906, allocations: 8.031 kB / 0.7388 GB, free: 4.094 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.2906, allocations: 0 / 0.7388 GB, free: 4.094 MB / 0.5105 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 8.474e-05/0.2907, allocations: 109.8 kB / 0.7389 GB, free: 3.977 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.094e-06/0.2907, allocations: 0 / 0.7389 GB, free: 3.977 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.103e-05/0.2907, allocations: 7.688 kB / 0.7389 GB, free: 3.969 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.2907, allocations: 4 kB / 0.7389 GB, free: 3.965 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.2908, allocations: 3.984 kB / 0.7389 GB, free: 3.961 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.2908, allocations: 4 kB / 0.7389 GB, free: 3.957 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/0.2909, allocations: 153.6 kB / 0.7391 GB, free: 3.758 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2909, allocations: 0 / 0.7391 GB, free: 3.758 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003566/0.2913, allocations: 51.86 kB / 0.7391 GB, free: 3.707 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.2913, allocations: 0 / 0.7391 GB, free: 3.707 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.2913, allocations: 4 kB / 0.7391 GB, free: 3.703 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001147/0.2924, allocations: 1.314 MB / 0.7404 GB, free: 2.254 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.2924, allocations: 0 / 0.7404 GB, free: 2.254 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.2926, allocations: 77.27 kB / 0.7405 GB, free: 2.16 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.799e-05/0.2926, allocations: 81.09 kB / 0.7406 GB, free: 2.062 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.105e-06/0.2927, allocations: 4 kB / 0.7406 GB, free: 2.059 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.565e-05/0.2927, allocations: 0 / 0.7406 GB, free: 2.059 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.005e-05/0.2927, allocations: 4 kB / 0.7406 GB, free: 2.055 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.2927, allocations: 7.938 kB / 0.7406 GB, free: 2.047 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.919e-05/0.2928, allocations: 79.22 kB / 0.7407 GB, free: 1.969 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2928, allocations: 0 / 0.7407 GB, free: 1.969 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001757/0.293, allocations: 4 kB / 0.7407 GB, free: 1.965 MB / 0.5105 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.0004278/0.2934, allocations: 0.6161 MB / 0.7413 GB, free: 1.316 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004072/0.2938, allocations: 55.92 kB / 0.7413 GB, free: 1.262 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.2938, allocations: 0 / 0.7413 GB, free: 1.262 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002172/0.294, allocations: 31.95 kB / 0.7414 GB, free: 1.23 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.56e-05/0.2942, allocations: 4 kB / 0.7414 GB, free: 1.227 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004097/0.2946, allocations: 124.9 kB / 0.7415 GB, free: 1.062 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.2948, allocations: 0.677 MB / 0.7421 GB, free: 368 kB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.253e-05/0.2949, allocations: 0 / 0.7421 GB, free: 368 kB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.615e-05/0.2949, allocations: 11.44 kB / 0.7422 GB, free: 356 kB / 0.5105 GB Notification: Performance of SimCode: time 2.2e-07/0.2949, allocations: 0 / 0.7422 GB, free: 356 kB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2991/0.594, allocations: 1.068 MB / 0.7432 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000164/0.5942, allocations: 228.5 kB / 0.7434 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.551/2.145, allocations: 2.125 kB / 0.7434 GB, free: 109.3 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)