Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.474/1.474, allocations: 249.5 MB / 257 MB, free: 6.891 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001071/0.001071, allocations: 180.3 kB / 316.3 MB, free: 3.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.772/1.772, allocations: 205.3 MB / 0.5671 GB, free: 15.81 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00083/0.0008301, allocations: 85.06 kB / 0.6714 GB, free: 4.934 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.869e-05/1.871e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1575, allocations: 106.4 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6194/0.7769, allocations: 131.9 MB / 1.014 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002908/0.7773, allocations: 74.73 kB / 1.014 GB, free: 5.613 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002314/0.7796, allocations: 0.7629 MB / 1.015 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.035e-06/0.7797, allocations: 4 kB / 1.015 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.017e-05/0.7797, allocations: 0 / 1.015 GB, free: 4.914 MB / 0.6355 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.0004124/0.7801, allocations: 343.7 kB / 1.015 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.7802, allocations: 12.03 kB / 1.015 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001868/0.7804, allocations: 11.98 kB / 1.015 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001864/0.7806, allocations: 174.9 kB / 1.015 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.927e-05/0.7806, allocations: 0 / 1.015 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.7806, allocations: 0 / 1.015 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.476e-05/0.7807, allocations: 17.38 kB / 1.015 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.187e-05/0.7808, allocations: 45.25 kB / 1.015 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.7808, allocations: 7.938 kB / 1.016 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.7808, allocations: 0 / 1.016 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.7808, allocations: 0 / 1.016 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00038/0.7812, allocations: 254.4 kB / 1.016 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.923e-05/0.7813, allocations: 29.98 kB / 1.016 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.124e-05/0.7814, allocations: 16.11 kB / 1.016 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.7814, allocations: 6.172 kB / 1.016 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.7814, allocations: 30.56 kB / 1.016 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.674e-06/0.7814, allocations: 4 kB / 1.016 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001581/0.7816, allocations: 41.52 kB / 1.016 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/0.7816, allocations: 51.41 kB / 1.016 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.347e-05/0.7817, allocations: 102.6 kB / 1.016 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.7817, allocations: 29.73 kB / 1.016 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.413e-05/0.7818, allocations: 80.14 kB / 1.016 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.956e-05/0.7818, allocations: 15.66 kB / 1.016 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-06/0.7818, allocations: 0 / 1.016 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.7819, allocations: 314.8 kB / 1.016 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.087e-05/0.782, allocations: 7.562 kB / 1.016 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.672e-05/0.782, allocations: 7.25 kB / 1.016 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.293e-05/0.782, allocations: 11.3 kB / 1.016 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.782, allocations: 4.062 kB / 1.016 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.828e-05/0.7821, allocations: 41.08 kB / 1.017 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.7821, allocations: 4 kB / 1.017 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.7821, allocations: 4 kB / 1.017 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.7822, allocations: 0 / 1.017 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.7823, allocations: 15.92 kB / 1.017 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.7823, allocations: 0 / 1.017 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.099e-05/0.7824, allocations: 20.02 kB / 1.017 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.7824, allocations: 0 / 1.017 GB, free: 3.117 MB / 0.6355 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 () * 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 5.86e-05/0.7825, allocations: 108.4 kB / 1.017 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.144e-05/0.7826, allocations: 49.28 kB / 1.017 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.168e-05/0.7826, allocations: 7.938 kB / 1.017 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.477e-05/0.7826, allocations: 11.48 kB / 1.017 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.7826, allocations: 0 / 1.017 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.7826, allocations: 0.875 kB / 1.017 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.7826, allocations: 0 / 1.017 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001414/0.7828, allocations: 149.6 kB / 1.017 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.7828, allocations: 0 / 1.017 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.756e-05/0.7829, allocations: 11.98 kB / 1.017 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.7829, allocations: 4 kB / 1.017 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.7829, allocations: 256 / 1.017 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.7829, allocations: 0 / 1.017 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/0.7829, allocations: 11.88 kB / 1.017 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001082/0.783, allocations: 153.7 kB / 1.017 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.818e-05/0.7831, allocations: 77.11 kB / 1.017 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.7831, allocations: 4 kB / 1.017 GB, free: 2.477 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.619e-05/0.7832, allocations: 11.98 kB / 1.017 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.861e-05/0.7832, allocations: 0 / 1.017 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-06/0.7832, allocations: 0 / 1.017 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.371e-05/0.7833, allocations: 86.52 kB / 1.017 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7833, allocations: 4.031 kB / 1.017 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002155/0.7835, allocations: 8 kB / 1.017 GB, free: 2.371 MB / 0.6355 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 () * 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.0003635/0.7839, allocations: 0.6787 MB / 1.018 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.84e-05/0.784, allocations: 20.88 kB / 1.018 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.784, allocations: 4.094 kB / 1.018 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.29e-05/0.784, allocations: 7.375 kB / 1.018 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001551/0.7842, allocations: 6.062 kB / 1.018 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003461/0.7845, allocations: 100.8 kB / 1.018 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000225/0.7847, allocations: 0.6768 MB / 1.019 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.227e-05/0.7848, allocations: 8 kB / 1.019 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.191e-05/0.7848, allocations: 14.62 kB / 1.019 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of SimCode: time 2.4e-07/0.7848, allocations: 0 / 1.019 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01676/0.8016, allocations: 0.8624 MB / 1.02 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001882/0.8018, allocations: 147.3 kB / 1.02 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.392/2.194, allocations: 0 / 1.02 GB, free: 15.75 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_PowerLinearized.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)