Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8423/0.8423, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001178/0.001179, allocations: 184.6 kB / 187.3 MB, free: 11.86 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.628/1.628, allocations: 221.3 MB / 441.4 MB, free: 4.59 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001096, allocations: 95.88 kB / 0.5124 GB, free: 24.17 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002018/0.002018, allocations: 273.9 kB / 0.5939 GB, free: 7.953 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.716e-05/4.72e-05, allocations: 7.984 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6438/0.6439, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1389/0.7828, allocations: 108.6 MB / 0.8704 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/0.7832, allocations: 71.95 kB / 0.8704 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.002468/0.7857, allocations: 0.7766 MB / 0.8712 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.164e-06/0.7857, allocations: 2.562 kB / 0.8712 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.7857, allocations: 0 / 0.8712 GB, free: 15.14 MB / 0.5417 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.000441/0.7862, allocations: 339.7 kB / 0.8715 GB, free: 14.76 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.278e-05/0.7863, allocations: 12.03 kB / 0.8715 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.589e-05/0.7863, allocations: 30.56 kB / 0.8716 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000171/0.7865, allocations: 15.98 kB / 0.8716 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/0.7867, allocations: 170.9 kB / 0.8718 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.983e-05/0.7867, allocations: 7.953 kB / 0.8718 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/0.7867, allocations: 4 kB / 0.8718 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.7869, allocations: 37.69 kB / 0.8718 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.7869, allocations: 0 / 0.8718 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.7869, allocations: 4 kB / 0.8718 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.7869, allocations: 4 kB / 0.8718 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.544e-05/0.787, allocations: 16 kB / 0.8718 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005127/0.7875, allocations: 276.8 kB / 0.8721 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 7.165e-05/0.7876, allocations: 26.58 kB / 0.8721 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.874e-05/0.7877, allocations: 20.91 kB / 0.8721 GB, free: 14.03 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.7877, allocations: 4 kB / 0.8721 GB, free: 14.03 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.7877, allocations: 30.56 kB / 0.8722 GB, free: 13.99 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.493e-06/0.7877, allocations: 0 / 0.8722 GB, free: 13.99 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0002021/0.7879, allocations: 45.7 kB / 0.8722 GB, free: 13.94 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.788, allocations: 55.34 kB / 0.8723 GB, free: 13.87 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.7881, allocations: 105 kB / 0.8724 GB, free: 13.76 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.7881, allocations: 29.73 kB / 0.8724 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.361e-05/0.7882, allocations: 84.14 kB / 0.8725 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.238e-05/0.7882, allocations: 7.844 kB / 0.8725 GB, free: 13.63 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.7882, allocations: 0 / 0.8725 GB, free: 13.63 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.7884, allocations: 318.8 kB / 0.8728 GB, free: 13.31 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.846e-05/0.7884, allocations: 8 kB / 0.8728 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.416e-05/0.7884, allocations: 11.94 kB / 0.8728 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.746e-05/0.7885, allocations: 7.984 kB / 0.8728 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.7885, allocations: 64 / 0.8728 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.806e-05/0.7886, allocations: 53.61 kB / 0.8729 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.7886, allocations: 8 kB / 0.8729 GB, free: 13.22 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.7886, allocations: 0 / 0.8729 GB, free: 13.22 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.7886, allocations: 0 / 0.8729 GB, free: 13.22 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.7888, allocations: 23.91 kB / 0.8729 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.7888, allocations: 0 / 0.8729 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.547e-05/0.7889, allocations: 19.95 kB / 0.8729 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.004e-06/0.7889, allocations: 0 / 0.8729 GB, free: 13.18 MB / 0.5417 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 7.945e-05/0.789, allocations: 108.9 kB / 0.873 GB, free: 13.06 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.578e-05/0.789, allocations: 4 kB / 0.873 GB, free: 13.06 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.683e-05/0.7891, allocations: 3.656 kB / 0.873 GB, free: 13.06 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.7891, allocations: 0 / 0.873 GB, free: 13.06 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.7891, allocations: 0 / 0.873 GB, free: 13.06 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.7891, allocations: 3.984 kB / 0.873 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001751/0.7893, allocations: 165.6 kB / 0.8732 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.7893, allocations: 0 / 0.8732 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.766e-05/0.7894, allocations: 23.98 kB / 0.8732 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.7894, allocations: 0 / 0.8732 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.7894, allocations: 0 / 0.8732 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.7894, allocations: 0 / 0.8732 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.7894, allocations: 0 / 0.8732 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001435/0.7896, allocations: 147.5 kB / 0.8733 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.893e-05/0.7896, allocations: 89 kB / 0.8734 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.7896, allocations: 0 / 0.8734 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.734e-05/0.7897, allocations: 11.98 kB / 0.8734 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.276e-05/0.7898, allocations: 4 kB / 0.8734 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.7898, allocations: 0 / 0.8734 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.817e-05/0.7898, allocations: 87.53 kB / 0.8735 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7898, allocations: 0 / 0.8735 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001887/0.79, allocations: 4 kB / 0.8735 GB, free: 12.45 MB / 0.5417 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.0004745/0.7905, allocations: 0.6773 MB / 0.8742 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00012/0.7907, allocations: 23.94 kB / 0.8742 GB, free: 11.72 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.7907, allocations: 0 / 0.8742 GB, free: 11.72 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.3e-05/0.7907, allocations: 15.94 kB / 0.8742 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002336/0.7909, allocations: 8.141 kB / 0.8742 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004658/0.7914, allocations: 102.8 kB / 0.8743 GB, free: 11.56 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.7917, allocations: 0.6809 MB / 0.875 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.039e-05/0.7918, allocations: 0 / 0.875 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.178e-05/0.7919, allocations: 15.44 kB / 0.875 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of SimCode: time 5.71e-07/0.7919, allocations: 0 / 0.875 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01323/0.8051, allocations: 1.191 MB / 0.8762 GB, free: 9.785 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002418/0.8054, allocations: 159.1 kB / 0.8763 GB, free: 9.562 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.554/2.359, allocations: 0 / 0.8763 GB, free: 9.562 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_PowerLinearized.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)