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.001135/0.001135, allocations: 109.4 kB / 15.69 MB, free: 128 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.001188/0.001188, allocations: 188 kB / 16.62 MB, free: 6.613 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.395/1.395, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.761/1.761, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001549/0.001549, allocations: 75.5 kB / 0.6718 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.2204, allocations: 114.5 MB / 0.7836 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.002216/0.2227, allocations: 0.5898 MB / 0.7842 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003315/0.2231, allocations: 95.72 kB / 0.7843 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.955e-05/0.2231, allocations: 3.938 kB / 0.7843 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.688e-05/0.2232, allocations: 0 / 0.7843 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.555e-05/0.2232, allocations: 0 / 0.7843 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002363/0.2235, allocations: 15.92 kB / 0.7843 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.995e-05/0.2235, allocations: 4 kB / 0.7843 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.537e-05/0.2236, allocations: 7.984 kB / 0.7843 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.841e-05/0.2236, allocations: 4 kB / 0.7843 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.877e-05/0.2237, allocations: 11.94 kB / 0.7844 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.2237, allocations: 0 / 0.7844 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.48e-05/0.2238, allocations: 11.98 kB / 0.7844 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.888e-05/0.2238, allocations: 7.984 kB / 0.7844 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.216e-05/0.2238, allocations: 0 / 0.7844 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.755e-05/0.2239, allocations: 19.92 kB / 0.7844 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2239, allocations: 0 / 0.7844 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2239, allocations: 0 / 0.7844 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.2239, allocations: 0 / 0.7844 GB, free: 12.52 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.0003685/0.2243, allocations: 319.6 kB / 0.7847 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.2244, allocations: 12.03 kB / 0.7847 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.751e-05/0.2244, allocations: 30.75 kB / 0.7847 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000154/0.2246, allocations: 16.86 kB / 0.7848 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.2247, allocations: 164.4 kB / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/0.2248, allocations: 8.375 kB / 0.7849 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.935e-06/0.2248, allocations: 384 / 0.7849 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.2249, allocations: 38.23 kB / 0.785 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.445e-06/0.2249, allocations: 7.938 kB / 0.785 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-06/0.2249, allocations: 0 / 0.785 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.2249, allocations: 0 / 0.785 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.81e-05/0.225, allocations: 15.98 kB / 0.785 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001646/0.2252, allocations: 157.9 kB / 0.7851 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001645/0.2254, allocations: 42.56 kB / 0.7852 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.557e-05/0.2254, allocations: 16.84 kB / 0.7852 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.2255, allocations: 0 / 0.7852 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.2255, allocations: 34.56 kB / 0.7852 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.2255, allocations: 0 / 0.7852 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0002273/0.2257, allocations: 65.45 kB / 0.7853 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/0.2258, allocations: 51.41 kB / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.119e-05/0.2258, allocations: 89.86 kB / 0.7854 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.2259, allocations: 29.7 kB / 0.7854 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.655e-05/0.2259, allocations: 84.14 kB / 0.7855 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.358e-05/0.2259, allocations: 7.906 kB / 0.7855 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-05/0.226, allocations: 13.72 kB / 0.7855 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.2261, allocations: 314.8 kB / 0.7858 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.951e-05/0.2262, allocations: 11.94 kB / 0.7859 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.208e-05/0.2262, allocations: 7.984 kB / 0.7859 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.974e-05/0.2263, allocations: 20.86 kB / 0.7859 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2263, allocations: 0 / 0.7859 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001225/0.2264, allocations: 53.61 kB / 0.7859 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.2264, allocations: 7.938 kB / 0.7859 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.2264, allocations: 7.938 kB / 0.7859 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.2265, allocations: 0 / 0.7859 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003807/0.2269, allocations: 43.94 kB / 0.786 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001424/0.2283, allocations: 1.405 MB / 0.7874 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.185e-05/0.2283, allocations: 4.031 kB / 0.7874 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.2284, allocations: 0 / 0.7874 GB, free: 9.09 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 8.78e-05/0.2285, allocations: 120.7 kB / 0.7875 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.274e-05/0.2285, allocations: 7.984 kB / 0.7875 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.462e-05/0.2285, allocations: 3.5 kB / 0.7875 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.2285, allocations: 0 / 0.7875 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.2285, allocations: 0 / 0.7875 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.2285, allocations: 0 / 0.7875 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/0.2286, allocations: 161.6 kB / 0.7876 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2286, allocations: 0 / 0.7876 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003644/0.229, allocations: 47.94 kB / 0.7877 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.229, allocations: 0 / 0.7877 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.822e-06/0.229, allocations: 0 / 0.7877 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001236/0.2303, allocations: 1.408 MB / 0.7891 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.2303, allocations: 0 / 0.7891 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001292/0.2304, allocations: 69.14 kB / 0.7891 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.902e-05/0.2305, allocations: 81.11 kB / 0.7892 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.094e-05/0.2305, allocations: 7.938 kB / 0.7892 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.531e-05/0.2305, allocations: 4.062 kB / 0.7892 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.04e-05/0.2305, allocations: 11.92 kB / 0.7892 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.2306, allocations: 0 / 0.7892 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.479e-05/0.2306, allocations: 75.28 kB / 0.7893 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2306, allocations: 0 / 0.7893 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000197/0.2308, allocations: 4 kB / 0.7893 GB, free: 6.867 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.0004344/0.2312, allocations: 0.6124 MB / 0.7899 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004922/0.2317, allocations: 63.86 kB / 0.79 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2318, allocations: 4 kB / 0.79 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002503/0.232, allocations: 40.03 kB / 0.79 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001391/0.2322, allocations: 4 kB / 0.79 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005105/0.2327, allocations: 137.4 kB / 0.7901 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.233, allocations: 0.6768 MB / 0.7908 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.476e-05/0.233, allocations: 8 kB / 0.7908 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.324e-05/0.233, allocations: 7.438 kB / 0.7908 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.233, allocations: 0 / 0.7908 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02119/0.2542, allocations: 1.275 MB / 0.7921 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.05, allocations: 8.406 kB / 0.7921 GB, free: 4.074 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)