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.6974/0.6974, allocations: 127.3 MB / 139.8 MB, free: 15.47 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001185/0.001185, allocations: 192.7 kB / 169.7 MB, free: 1.734 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.796/1.796, allocations: 205.1 MB / 404.5 MB, free: 1.57 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.0008274/0.0008274, allocations: 92.56 kB / 481.8 MB, free: 4.219 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.178e-05/4.201e-05, allocations: 4 kB / 0.5533 GB, free: 54.71 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.1812, allocations: 76.77 MB / 0.6283 GB, free: 9.891 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5791/0.7603, allocations: 101.8 MB / 0.7277 GB, free: 11.51 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001873/0.7606, allocations: 79.02 kB / 0.7278 GB, free: 11.46 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00218/0.7628, allocations: 0.9951 MB / 0.7287 GB, free: 10.6 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.7628, allocations: 7.938 kB / 0.7288 GB, free: 10.59 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.7628, allocations: 4 kB / 0.7288 GB, free: 10.59 MB / 490.7 MB 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.0001857/0.763, allocations: 321.7 kB / 0.7291 GB, free: 10.23 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.477e-05/0.763, allocations: 8.031 kB / 0.7291 GB, free: 10.22 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.444e-05/0.763, allocations: 30.56 kB / 0.7291 GB, free: 10.18 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.7632, allocations: 15.94 kB / 0.7291 GB, free: 10.17 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.272e-05/0.7632, allocations: 159.1 kB / 0.7293 GB, free: 9.973 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.207e-06/0.7633, allocations: 0 / 0.7293 GB, free: 9.973 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.13e-06/0.7633, allocations: 4 kB / 0.7293 GB, free: 9.969 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.757e-05/0.7633, allocations: 37.19 kB / 0.7293 GB, free: 9.93 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.356e-06/0.7633, allocations: 0 / 0.7293 GB, free: 9.93 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.623e-06/0.7634, allocations: 4 kB / 0.7293 GB, free: 9.926 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.074e-06/0.7634, allocations: 0 / 0.7293 GB, free: 9.926 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.093e-05/0.7634, allocations: 15.27 kB / 0.7293 GB, free: 9.914 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001118/0.7635, allocations: 153.5 kB / 0.7295 GB, free: 9.719 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.661e-05/0.7636, allocations: 34.47 kB / 0.7295 GB, free: 9.68 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.542e-05/0.7636, allocations: 12.91 kB / 0.7295 GB, free: 9.664 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.327e-06/0.7637, allocations: 3.984 kB / 0.7295 GB, free: 9.66 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.755e-05/0.7637, allocations: 33.62 kB / 0.7296 GB, free: 9.621 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.7637, allocations: 0 / 0.7296 GB, free: 9.621 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 8.78e-05/0.7638, allocations: 49.31 kB / 0.7296 GB, free: 9.57 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.7638, allocations: 51.41 kB / 0.7296 GB, free: 9.508 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.386e-05/0.7639, allocations: 85 kB / 0.7297 GB, free: 9.418 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.7639, allocations: 29.7 kB / 0.7298 GB, free: 9.383 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.719e-05/0.7639, allocations: 80.14 kB / 0.7298 GB, free: 9.301 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.165e-05/0.7639, allocations: 4.688 kB / 0.7298 GB, free: 9.297 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-06/0.764, allocations: 7.875 kB / 0.7298 GB, free: 9.293 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.7641, allocations: 317.5 kB / 0.7301 GB, free: 8.977 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.285e-05/0.7641, allocations: 3.938 kB / 0.7302 GB, free: 8.973 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.947e-06/0.7641, allocations: 4 kB / 0.7302 GB, free: 8.969 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.575e-05/0.7641, allocations: 10.92 kB / 0.7302 GB, free: 8.961 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.7641, allocations: 0 / 0.7302 GB, free: 8.961 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.661e-05/0.7642, allocations: 53 kB / 0.7302 GB, free: 8.906 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.7642, allocations: 7.938 kB / 0.7302 GB, free: 8.898 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.7642, allocations: 0 / 0.7302 GB, free: 8.898 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.7642, allocations: 0 / 0.7302 GB, free: 8.898 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003497/0.7646, allocations: 39.94 kB / 0.7303 GB, free: 8.859 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009289/0.7655, allocations: 1.291 MB / 0.7315 GB, free: 7.461 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.102e-05/0.7656, allocations: 8.188 kB / 0.7315 GB, free: 7.453 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.7656, allocations: 0 / 0.7315 GB, free: 7.453 MB / 490.7 MB 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 () * 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 5.839e-05/0.7657, allocations: 104.9 kB / 0.7316 GB, free: 7.344 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.34e-05/0.7657, allocations: 7.906 kB / 0.7316 GB, free: 7.336 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.139e-05/0.7657, allocations: 6.75 kB / 0.7316 GB, free: 7.328 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-06/0.7657, allocations: 0 / 0.7316 GB, free: 7.328 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.12e-07/0.7657, allocations: 0 / 0.7316 GB, free: 7.328 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.7657, allocations: 3.984 kB / 0.7316 GB, free: 7.324 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.44e-05/0.7658, allocations: 149.6 kB / 0.7318 GB, free: 7.129 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.7658, allocations: 4 kB / 0.7318 GB, free: 7.125 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003352/0.7662, allocations: 46.67 kB / 0.7318 GB, free: 7.082 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/0.7662, allocations: 4 kB / 0.7318 GB, free: 7.078 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.7662, allocations: 0 / 0.7318 GB, free: 7.078 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008231/0.767, allocations: 1.29 MB / 0.7331 GB, free: 5.672 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.767, allocations: 0 / 0.7331 GB, free: 5.672 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.857e-05/0.7671, allocations: 77.11 kB / 0.7332 GB, free: 5.582 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.668e-05/0.7672, allocations: 77.11 kB / 0.7332 GB, free: 5.488 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.229e-06/0.7672, allocations: 0 / 0.7332 GB, free: 5.488 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.966e-05/0.7672, allocations: 7.125 kB / 0.7333 GB, free: 5.484 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.875e-05/0.7672, allocations: 4.859 kB / 0.7333 GB, free: 5.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-06/0.7672, allocations: 3.938 kB / 0.7333 GB, free: 5.477 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.62e-05/0.7673, allocations: 75.28 kB / 0.7333 GB, free: 5.402 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7673, allocations: 4 kB / 0.7333 GB, free: 5.398 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000161/0.7674, allocations: 4 kB / 0.7333 GB, free: 5.395 MB / 490.7 MB 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 () * 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.0003391/0.7678, allocations: 0.6077 MB / 0.7339 GB, free: 4.766 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003514/0.7681, allocations: 55.75 kB / 0.734 GB, free: 4.715 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.7682, allocations: 3.938 kB / 0.734 GB, free: 4.711 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001739/0.7683, allocations: 23.97 kB / 0.734 GB, free: 4.688 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.515e-05/0.7684, allocations: 7.938 kB / 0.734 GB, free: 4.68 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000236/0.7687, allocations: 82.92 kB / 0.7341 GB, free: 4.566 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002041/0.7689, allocations: 0.677 MB / 0.7348 GB, free: 3.863 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.287e-05/0.7689, allocations: 0 / 0.7348 GB, free: 3.863 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.753e-05/0.769, allocations: 21.91 kB / 0.7348 GB, free: 3.848 MB / 490.7 MB Notification: Performance of SimCode: time 4.01e-07/0.769, allocations: 0 / 0.7348 GB, free: 3.848 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0117/0.7807, allocations: 1.072 MB / 0.7358 GB, free: 2.938 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001653/0.7809, allocations: 197.2 kB / 0.736 GB, free: 2.715 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.479/2.26, allocations: 8 kB / 0.736 GB, free: 2.707 MB / 490.7 MB (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)