Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.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.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_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.512/1.512, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001228/0.001228, allocations: 180.7 kB / 326.5 MB, free: 2.234 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.969/1.969, allocations: 205.4 MB / 0.5775 GB, free: 20.48 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.001013/0.001013, allocations: 86.41 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004533/0.0004535, allocations: 11.47 kB / 0.7963 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2589, allocations: 106.4 MB / 0.9002 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1654/0.4243, allocations: 131 MB / 1.028 GB, free: 13.03 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/0.4246, allocations: 79.95 kB / 1.028 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002449/0.4271, allocations: 0.9415 MB / 1.029 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.014e-06/0.4271, allocations: 3.938 kB / 1.029 GB, free: 12 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.259e-06/0.4271, allocations: 0 / 1.029 GB, free: 12 MB / 0.6823 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.0003267/0.4274, allocations: 323.3 kB / 1.029 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.076e-05/0.4275, allocations: 8.031 kB / 1.029 GB, free: 11.63 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.507e-05/0.4275, allocations: 34.5 kB / 1.029 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001297/0.4277, allocations: 15.98 kB / 1.029 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.4278, allocations: 171 kB / 1.03 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.4278, allocations: 4 kB / 1.03 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.4278, allocations: 0 / 1.03 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.428, allocations: 33.69 kB / 1.03 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.428, allocations: 4 kB / 1.03 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.428, allocations: 0 / 1.03 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.428, allocations: 0 / 1.03 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.263e-05/0.4281, allocations: 19.98 kB / 1.03 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001521/0.4283, allocations: 157.6 kB / 1.03 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/0.4284, allocations: 42.55 kB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.4284, allocations: 0 / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.4285, allocations: 30.56 kB / 1.03 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.4285, allocations: 4 kB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0002068/0.4287, allocations: 57.77 kB / 1.03 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/0.4288, allocations: 55.41 kB / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.704e-05/0.4288, allocations: 85 kB / 1.03 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.301e-05/0.4288, allocations: 25.7 kB / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.706e-05/0.4289, allocations: 84.14 kB / 1.03 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.132e-05/0.4289, allocations: 7.891 kB / 1.03 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-06/0.4289, allocations: 3.938 kB / 1.03 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.429, allocations: 314.8 kB / 1.031 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.835e-05/0.4291, allocations: 8 kB / 1.031 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.107e-05/0.4291, allocations: 8.172 kB / 1.031 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.758e-05/0.4292, allocations: 8.078 kB / 1.031 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.4292, allocations: 3.938 kB / 1.031 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001135/0.4293, allocations: 57.62 kB / 1.031 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.4293, allocations: 8 kB / 1.031 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.4293, allocations: 0 / 1.031 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.4294, allocations: 7.938 kB / 1.031 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003863/0.4297, allocations: 43.94 kB / 1.031 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00128/0.431, allocations: 1.311 MB / 1.032 GB, free: 8.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.821e-05/0.4311, allocations: 3.938 kB / 1.032 GB, free: 8.746 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-06/0.4311, allocations: 0 / 1.032 GB, free: 8.746 MB / 0.6823 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 7.202e-05/0.4312, allocations: 116.1 kB / 1.032 GB, free: 8.625 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.757e-06/0.4312, allocations: 4 kB / 1.032 GB, free: 8.621 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.333e-05/0.4312, allocations: 3.5 kB / 1.032 GB, free: 8.613 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.4312, allocations: 3.984 kB / 1.032 GB, free: 8.609 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.4312, allocations: 0 / 1.032 GB, free: 8.609 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-06/0.4312, allocations: 0 / 1.032 GB, free: 8.609 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.4313, allocations: 153.8 kB / 1.032 GB, free: 8.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.4314, allocations: 3.953 kB / 1.032 GB, free: 8.406 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003578/0.4317, allocations: 47.92 kB / 1.032 GB, free: 8.359 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.4317, allocations: 0 / 1.032 GB, free: 8.359 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.4317, allocations: 0 / 1.032 GB, free: 8.359 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001113/0.4329, allocations: 1.317 MB / 1.034 GB, free: 6.914 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4329, allocations: 48 / 1.034 GB, free: 6.914 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.433, allocations: 77.14 kB / 1.034 GB, free: 6.82 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.098e-05/0.4331, allocations: 88.95 kB / 1.034 GB, free: 6.715 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.821e-06/0.4331, allocations: 192 / 1.034 GB, free: 6.715 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.575e-05/0.4331, allocations: 4 kB / 1.034 GB, free: 6.711 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.864e-05/0.4331, allocations: 7.938 kB / 1.034 GB, free: 6.703 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/0.4331, allocations: 0 / 1.034 GB, free: 6.703 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.729e-05/0.4332, allocations: 75.28 kB / 1.034 GB, free: 6.629 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1e-07/0.4332, allocations: 0 / 1.034 GB, free: 6.629 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001838/0.4334, allocations: 4 kB / 1.034 GB, free: 6.625 MB / 0.6823 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.0004119/0.4338, allocations: 0.6139 MB / 1.034 GB, free: 5.984 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003875/0.4342, allocations: 55.86 kB / 1.034 GB, free: 5.93 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.4342, allocations: 4 kB / 1.034 GB, free: 5.926 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002065/0.4344, allocations: 31.95 kB / 1.034 GB, free: 5.895 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.364e-05/0.4345, allocations: 11.88 kB / 1.034 GB, free: 5.883 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003846/0.4349, allocations: 116.9 kB / 1.035 GB, free: 5.727 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.4352, allocations: 0.677 MB / 1.035 GB, free: 5.023 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.324e-05/0.4352, allocations: 8 kB / 1.035 GB, free: 5.016 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.29e-05/0.4353, allocations: 11.44 kB / 1.035 GB, free: 5.004 MB / 0.6823 GB Notification: Performance of SimCode: time 2.2e-07/0.4353, allocations: 0 / 1.035 GB, free: 5.004 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01268/0.448, allocations: 1.057 MB / 1.036 GB, free: 4.145 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002631/0.4483, allocations: 229.8 kB / 1.037 GB, free: 3.902 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.535/1.983, allocations: 0 / 1.037 GB, free: 3.902 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_PowerLinearized.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)