Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.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.Examples.PowerLinearized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_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.7693/0.7693, allocations: 128.7 MB / 143.7 MB, free: 2.316 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.001273/0.001273, allocations: 184 kB / 173.7 MB, free: 6.121 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.591/1.591, allocations: 205.4 MB / 409 MB, free: 10.49 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.0008951/0.000895, allocations: 107.8 kB / 486.6 MB, free: 12.99 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003582/0.0003579, allocations: 17.09 kB / 0.5604 GB, free: 97.52 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1433, allocations: 76.78 MB / 0.6354 GB, free: 30.45 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1348/0.2782, allocations: 102.6 MB / 0.7356 GB, free: 7.754 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/0.2785, allocations: 75.95 kB / 0.7356 GB, free: 7.68 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.002074/0.2806, allocations: 0.7856 MB / 0.7364 GB, free: 6.891 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2806, allocations: 0 / 0.7364 GB, free: 6.891 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.2806, allocations: 0 / 0.7364 GB, free: 6.891 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.0004042/0.281, allocations: 351.2 kB / 0.7367 GB, free: 6.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.2811, allocations: 12.02 kB / 0.7367 GB, free: 6.488 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.2e-05/0.2811, allocations: 30.56 kB / 0.7368 GB, free: 6.449 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001522/0.2813, allocations: 23.94 kB / 0.7368 GB, free: 6.426 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.2814, allocations: 167 kB / 0.737 GB, free: 6.223 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.2814, allocations: 4 kB / 0.737 GB, free: 6.219 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.2815, allocations: 0 / 0.737 GB, free: 6.219 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.2817, allocations: 65.66 kB / 0.737 GB, free: 6.148 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.2817, allocations: 4 kB / 0.737 GB, free: 6.145 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.2817, allocations: 0 / 0.737 GB, free: 6.145 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.2817, allocations: 0 / 0.737 GB, free: 6.145 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002161/0.2819, allocations: 67.91 kB / 0.7371 GB, free: 6.078 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004023/0.2823, allocations: 276.8 kB / 0.7374 GB, free: 5.758 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.2825, allocations: 66.48 kB / 0.7374 GB, free: 5.684 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.2825, allocations: 3.984 kB / 0.7374 GB, free: 5.68 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.2826, allocations: 30.56 kB / 0.7375 GB, free: 5.641 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.2826, allocations: 0 / 0.7375 GB, free: 5.641 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0004119/0.283, allocations: 133.7 kB / 0.7376 GB, free: 5.504 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.283, allocations: 51.41 kB / 0.7376 GB, free: 5.441 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.317e-05/0.2831, allocations: 104.9 kB / 0.7377 GB, free: 5.332 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.2831, allocations: 25.7 kB / 0.7378 GB, free: 5.301 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.868e-05/0.2832, allocations: 80.14 kB / 0.7378 GB, free: 5.219 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.71e-05/0.2832, allocations: 7.906 kB / 0.7378 GB, free: 5.211 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.666e-06/0.2832, allocations: 0 / 0.7378 GB, free: 5.211 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.833e-05/0.2833, allocations: 314.8 kB / 0.7381 GB, free: 4.895 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.2834, allocations: 36 kB / 0.7382 GB, free: 4.859 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.992e-05/0.2835, allocations: 31.97 kB / 0.7382 GB, free: 4.828 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/0.2836, allocations: 32.05 kB / 0.7382 GB, free: 4.797 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2836, allocations: 0 / 0.7382 GB, free: 4.797 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002359/0.2839, allocations: 97.58 kB / 0.7383 GB, free: 4.695 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.2839, allocations: 4 kB / 0.7383 GB, free: 4.691 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.2839, allocations: 0 / 0.7383 GB, free: 4.691 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.2839, allocations: 3.938 kB / 0.7383 GB, free: 4.688 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.2841, allocations: 15.98 kB / 0.7383 GB, free: 4.672 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.2841, allocations: 3.953 kB / 0.7384 GB, free: 4.668 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.92e-05/0.2841, allocations: 24.2 kB / 0.7384 GB, free: 4.645 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-06/0.2842, allocations: 0 / 0.7384 GB, free: 4.645 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 (2): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.143e-05/0.2842, allocations: 109.8 kB / 0.7385 GB, free: 4.527 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.744e-05/0.2843, allocations: 7.906 kB / 0.7385 GB, free: 4.52 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.367e-05/0.2843, allocations: 7.531 kB / 0.7385 GB, free: 4.508 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.2843, allocations: 4 kB / 0.7385 GB, free: 4.504 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.2843, allocations: 0 / 0.7385 GB, free: 4.504 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.2843, allocations: 3.953 kB / 0.7385 GB, free: 4.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001629/0.2845, allocations: 161.6 kB / 0.7387 GB, free: 4.293 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.2845, allocations: 7.984 kB / 0.7387 GB, free: 4.285 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.127e-05/0.2846, allocations: 12 kB / 0.7387 GB, free: 4.273 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.2846, allocations: 3.984 kB / 0.7387 GB, free: 4.27 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.2846, allocations: 0 / 0.7387 GB, free: 4.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.2846, allocations: 4 kB / 0.7387 GB, free: 4.266 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2846, allocations: 0 / 0.7387 GB, free: 4.266 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002998/0.285, allocations: 191.5 kB / 0.7389 GB, free: 4.062 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.423e-05/0.285, allocations: 81.09 kB / 0.7389 GB, free: 3.965 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.285, allocations: 3.938 kB / 0.7389 GB, free: 3.961 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.41e-05/0.2851, allocations: 12.03 kB / 0.739 GB, free: 3.949 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/0.2852, allocations: 7.984 kB / 0.739 GB, free: 3.941 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-06/0.2852, allocations: 0 / 0.739 GB, free: 3.941 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.311e-05/0.2852, allocations: 83.28 kB / 0.739 GB, free: 3.859 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2852, allocations: 0 / 0.739 GB, free: 3.859 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001982/0.2854, allocations: 4 kB / 0.739 GB, free: 3.855 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 (2): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005949/0.286, allocations: 0.7337 MB / 0.7398 GB, free: 3.098 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002499/0.2863, allocations: 67.88 kB / 0.7398 GB, free: 3.031 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.2863, allocations: 0 / 0.7398 GB, free: 3.031 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.2864, allocations: 36.05 kB / 0.7399 GB, free: 2.996 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001701/0.2866, allocations: 0 / 0.7399 GB, free: 2.996 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004411/0.2871, allocations: 174.3 kB / 0.74 GB, free: 2.785 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/0.2873, allocations: 0.677 MB / 0.7407 GB, free: 2.082 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.439e-05/0.2874, allocations: 4 kB / 0.7407 GB, free: 2.078 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.736e-05/0.2874, allocations: 7.438 kB / 0.7407 GB, free: 2.07 MB / 0.5105 GB Notification: Performance of SimCode: time 3.3e-07/0.2874, allocations: 0 / 0.7407 GB, free: 2.07 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01139/0.2988, allocations: 1.182 MB / 0.7419 GB, free: 1.02 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003622/0.2992, allocations: 186.5 kB / 0.742 GB, free: 0.7773 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.532/1.831, allocations: 0 / 0.742 GB, free: 0.7773 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_PowerLinearized.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)