Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.conf.json 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/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 194.5 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.352/1.352, allocations: 205.1 MB / 222.4 MB, free: 4.617 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.809/1.809, allocations: 292.3 MB / 0.5489 GB, free: 12.86 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 76.27 kB / 0.6716 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2627, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001718/0.2645, allocations: 0.5901 MB / 0.7841 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002736/0.2648, allocations: 95.72 kB / 0.7842 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.567e-05/0.2648, allocations: 0 / 0.7842 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.483e-05/0.2648, allocations: 3.938 kB / 0.7842 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.128e-05/0.2649, allocations: 0 / 0.7842 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001997/0.2651, allocations: 11.98 kB / 0.7842 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.472e-05/0.2651, allocations: 7.984 kB / 0.7842 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.981e-05/0.2652, allocations: 4 kB / 0.7842 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.06e-05/0.2652, allocations: 8 kB / 0.7842 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.819e-05/0.2653, allocations: 11.92 kB / 0.7842 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.2653, allocations: 0 / 0.7842 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6e-05/0.2654, allocations: 15.98 kB / 0.7842 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.224e-05/0.2654, allocations: 3.938 kB / 0.7842 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.991e-05/0.2654, allocations: 0 / 0.7842 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.699e-05/0.2655, allocations: 27.91 kB / 0.7842 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.2655, allocations: 0 / 0.7842 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2655, allocations: 3.938 kB / 0.7842 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.2655, allocations: 0 / 0.7842 GB, free: 12.6 MB / 0.6075 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.0003472/0.2659, allocations: 315.6 kB / 0.7845 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.2659, allocations: 12.03 kB / 0.7846 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.573e-05/0.266, allocations: 30.75 kB / 0.7846 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001493/0.2661, allocations: 12.92 kB / 0.7846 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.948e-05/0.2662, allocations: 160.4 kB / 0.7848 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.2662, allocations: 384 / 0.7848 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.034e-05/0.2663, allocations: 4.375 kB / 0.7848 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.2664, allocations: 34.25 kB / 0.7848 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.2664, allocations: 11.94 kB / 0.7848 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.2664, allocations: 0 / 0.7848 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.2664, allocations: 0 / 0.7848 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.765e-05/0.2665, allocations: 23.91 kB / 0.7848 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001467/0.2667, allocations: 153.9 kB / 0.785 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.2668, allocations: 38.59 kB / 0.785 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.024e-05/0.2669, allocations: 20.92 kB / 0.785 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.2669, allocations: 0 / 0.785 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/0.267, allocations: 30.56 kB / 0.7851 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 2.766e-06/0.267, allocations: 3.984 kB / 0.7851 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0002298/0.2672, allocations: 65.45 kB / 0.7851 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.2672, allocations: 51.41 kB / 0.7852 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.415e-05/0.2673, allocations: 89.86 kB / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.2673, allocations: 29.7 kB / 0.7853 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.953e-05/0.2673, allocations: 80.14 kB / 0.7854 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.643e-05/0.2674, allocations: 15.89 kB / 0.7854 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.806e-05/0.2674, allocations: 9.719 kB / 0.7854 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.967e-05/0.2675, allocations: 314.8 kB / 0.7857 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.293e-05/0.2676, allocations: 11.98 kB / 0.7857 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.053e-05/0.2676, allocations: 4 kB / 0.7857 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.385e-05/0.2677, allocations: 24.84 kB / 0.7857 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.2677, allocations: 0 / 0.7857 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001037/0.2678, allocations: 53.56 kB / 0.7858 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.2678, allocations: 4 kB / 0.7858 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.2678, allocations: 3.938 kB / 0.7858 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.2679, allocations: 4 kB / 0.7858 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003952/0.2683, allocations: 47.92 kB / 0.7858 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001294/0.2696, allocations: 1.396 MB / 0.7872 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.881e-05/0.2696, allocations: 4.125 kB / 0.7872 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-06/0.2696, allocations: 4 kB / 0.7872 GB, free: 9.191 MB / 0.6075 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.733e-05/0.2697, allocations: 116.6 kB / 0.7873 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.428e-06/0.2697, allocations: 4 kB / 0.7873 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.174e-05/0.2697, allocations: 7.438 kB / 0.7873 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.2697, allocations: 0 / 0.7873 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.41e-07/0.2697, allocations: 0 / 0.7873 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.2697, allocations: 0 / 0.7873 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.2699, allocations: 157.6 kB / 0.7875 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.2699, allocations: 4 kB / 0.7875 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003576/0.2702, allocations: 47.92 kB / 0.7875 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.2702, allocations: 4.328 kB / 0.7875 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.201e-06/0.2702, allocations: 0 / 0.7875 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001163/0.2714, allocations: 1.412 MB / 0.7889 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2714, allocations: 0 / 0.7889 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001175/0.2715, allocations: 77.19 kB / 0.789 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.114e-05/0.2716, allocations: 81.09 kB / 0.7891 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.666e-06/0.2716, allocations: 7.938 kB / 0.7891 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.543e-05/0.2716, allocations: 0 / 0.7891 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.966e-05/0.2717, allocations: 0 / 0.7891 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-06/0.2717, allocations: 4 kB / 0.7891 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.073e-05/0.2717, allocations: 75.28 kB / 0.7891 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2717, allocations: 0 / 0.7891 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001936/0.2719, allocations: 4 kB / 0.7891 GB, free: 6.969 MB / 0.6075 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000412/0.2723, allocations: 0.6124 MB / 0.7897 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004646/0.2728, allocations: 71.75 kB / 0.7898 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2728, allocations: 0 / 0.7898 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002341/0.273, allocations: 39.95 kB / 0.7899 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000133/0.2732, allocations: 0 / 0.7899 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004141/0.2736, allocations: 138.5 kB / 0.79 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002159/0.2738, allocations: 0.6768 MB / 0.7906 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.98e-05/0.2739, allocations: 0 / 0.7906 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.917e-05/0.2739, allocations: 11.44 kB / 0.7907 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.2739, allocations: 3.938 kB / 0.7907 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02096/0.2949, allocations: 1.239 MB / 0.7919 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/10.86, allocations: 19.69 kB / 0.7919 GB, free: 4.184 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_PowerLinearized.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)