Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.696/1.696, allocations: 288.4 MB / 303.3 MB, free: 8.016 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001029/0.001029, allocations: 172.5 kB / 372 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.505/1.505, allocations: 205.4 MB / 0.6307 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007729/0.000773, allocations: 101.1 kB / 0.7441 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003891/0.0003891, allocations: 12.12 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2287/0.2291, allocations: 115.3 MB / 0.9796 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.001425/0.2306, allocations: 1.148 MB / 0.9808 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002394/0.2308, allocations: 84.69 kB / 0.9808 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.225e-05/0.2309, allocations: 0 / 0.9808 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.634e-05/0.2309, allocations: 3.938 kB / 0.9808 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.326e-05/0.2309, allocations: 4 kB / 0.9809 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001687/0.2311, allocations: 11.98 kB / 0.9809 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.702e-05/0.2312, allocations: 23.92 kB / 0.9809 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.2314, allocations: 4 kB / 0.9809 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.407e-05/0.2314, allocations: 11.92 kB / 0.9809 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.468e-05/0.2315, allocations: 15.92 kB / 0.9809 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.2315, allocations: 0 / 0.9809 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.785e-05/0.2315, allocations: 15.98 kB / 0.9809 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.058e-05/0.2316, allocations: 3.984 kB / 0.9809 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.256e-05/0.2316, allocations: 29.64 kB / 0.981 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.364e-05/0.2317, allocations: 27.97 kB / 0.981 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.2317, allocations: 0 / 0.981 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.954e-06/0.2317, allocations: 0 / 0.981 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.2317, allocations: 0 / 0.981 GB, free: 26.18 MB / 0.6198 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.0004754/0.2322, allocations: 347.5 kB / 0.9813 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.2322, allocations: 12.02 kB / 0.9813 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.344e-05/0.2323, allocations: 30.56 kB / 0.9814 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001555/0.2324, allocations: 19.98 kB / 0.9814 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.533e-05/0.2325, allocations: 174.9 kB / 0.9815 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.392e-05/0.2326, allocations: 0 / 0.9815 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.2326, allocations: 4 kB / 0.9816 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.2328, allocations: 61.67 kB / 0.9816 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.2328, allocations: 4 kB / 0.9816 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.799e-06/0.2328, allocations: 4 kB / 0.9816 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.2328, allocations: 4 kB / 0.9816 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000209/0.2331, allocations: 55.94 kB / 0.9817 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003258/0.2334, allocations: 268.9 kB / 0.9819 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/0.2336, allocations: 74.45 kB / 0.982 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.2337, allocations: 32.91 kB / 0.982 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.2337, allocations: 0 / 0.982 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.344e-05/0.2337, allocations: 30.56 kB / 0.9821 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.2337, allocations: 0 / 0.9821 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.000407/0.2341, allocations: 129.7 kB / 0.9822 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.185e-05/0.2342, allocations: 55.34 kB / 0.9822 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.337e-05/0.2342, allocations: 105.8 kB / 0.9823 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.2342, allocations: 25.7 kB / 0.9824 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.563e-05/0.2343, allocations: 88.08 kB / 0.9825 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.504e-05/0.2343, allocations: 19.81 kB / 0.9825 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-06/0.2343, allocations: 0 / 0.9825 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.887e-05/0.2344, allocations: 314.8 kB / 0.9828 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.2345, allocations: 36 kB / 0.9828 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.29e-05/0.2346, allocations: 27.98 kB / 0.9828 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/0.2347, allocations: 36.03 kB / 0.9829 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2347, allocations: 3.938 kB / 0.9829 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002272/0.2349, allocations: 93.66 kB / 0.983 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.235, allocations: 4 kB / 0.983 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.235, allocations: 0 / 0.983 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.235, allocations: 0 / 0.983 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.2351, allocations: 19.92 kB / 0.983 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.663e-05/0.2351, allocations: 0 / 0.983 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.859e-05/0.2352, allocations: 16.02 kB / 0.983 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.2352, allocations: 4 kB / 0.983 GB, free: 23.9 MB / 0.6198 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 (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 6.02e-05/0.2353, allocations: 113.8 kB / 0.9831 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.453e-05/0.2353, allocations: 7.891 kB / 0.9831 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.768e-05/0.2354, allocations: 7.531 kB / 0.9831 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.2354, allocations: 0 / 0.9831 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.2354, allocations: 0 / 0.9831 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.2354, allocations: 0 / 0.9831 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.2355, allocations: 169.6 kB / 0.9833 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2355, allocations: 4 kB / 0.9833 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.686e-05/0.2356, allocations: 11.98 kB / 0.9833 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.2356, allocations: 4 kB / 0.9833 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.2356, allocations: 0 / 0.9833 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.2356, allocations: 0 / 0.9833 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2356, allocations: 0 / 0.9833 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002578/0.2359, allocations: 195.4 kB / 0.9835 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.358e-05/0.2359, allocations: 77.11 kB / 0.9836 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.2359, allocations: 4.25 kB / 0.9836 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.117e-05/0.236, allocations: 16.02 kB / 0.9836 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.821e-05/0.2361, allocations: 4 kB / 0.9836 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.2361, allocations: 0 / 0.9836 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.744e-05/0.2361, allocations: 87.27 kB / 0.9837 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.61e-07/0.2361, allocations: 0 / 0.9837 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001942/0.2363, allocations: 11.91 kB / 0.9837 GB, free: 23.11 MB / 0.6198 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 (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.000419/0.2368, allocations: 0.7242 MB / 0.9844 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002462/0.237, allocations: 67.89 kB / 0.9845 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.237, allocations: 3.938 kB / 0.9845 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.2371, allocations: 36.03 kB / 0.9845 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002609/0.2374, allocations: 4 kB / 0.9845 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005011/0.2379, allocations: 158.3 kB / 0.9846 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000155/0.2381, allocations: 0.677 MB / 0.9853 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.934e-05/0.2381, allocations: 4 kB / 0.9853 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.711e-05/0.2382, allocations: 11.44 kB / 0.9853 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2382, allocations: 0 / 0.9853 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01198/0.2502, allocations: 1.202 MB / 0.9865 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001848/0.2504, allocations: 187.4 kB / 0.9867 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.523/1.774, allocations: 0 / 0.9867 GB, free: 20.04 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_PowerLinearized.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)