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.646/1.646, allocations: 288.2 MB / 303.2 MB, free: 8.137 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.001021/0.001021, allocations: 181.6 kB / 371.8 MB, free: 10.3 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.63/1.63, allocations: 205.4 MB / 0.6305 GB, free: 9.969 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.000835/0.000835, allocations: 93.27 kB / 0.7439 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004149/0.0004152, allocations: 12.12 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.2174, allocations: 115.3 MB / 0.9795 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.001382/0.2188, allocations: 1.152 MB / 0.9806 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000207/0.219, allocations: 84.69 kB / 0.9807 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.28e-05/0.2191, allocations: 0 / 0.9807 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.266e-05/0.2191, allocations: 0 / 0.9807 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.619e-05/0.2191, allocations: 15.91 kB / 0.9807 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001524/0.2193, allocations: 11.94 kB / 0.9807 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.317e-05/0.2194, allocations: 15.98 kB / 0.9807 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.111e-05/0.2195, allocations: 7.984 kB / 0.9807 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.247e-05/0.2195, allocations: 7.984 kB / 0.9807 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.761e-05/0.2196, allocations: 11.94 kB / 0.9807 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.2196, allocations: 0 / 0.9807 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.577e-05/0.2196, allocations: 11.98 kB / 0.9808 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.368e-06/0.2197, allocations: 7.984 kB / 0.9808 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.283e-05/0.2197, allocations: 33.64 kB / 0.9808 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.73e-05/0.2198, allocations: 11.97 kB / 0.9808 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.2198, allocations: 4 kB / 0.9808 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2198, allocations: 0 / 0.9808 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.598e-06/0.2198, allocations: 0 / 0.9808 GB, free: 26.24 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.0004072/0.2202, allocations: 351.5 kB / 0.9811 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.2203, allocations: 12.02 kB / 0.9812 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.73e-05/0.2203, allocations: 30.56 kB / 0.9812 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001666/0.2205, allocations: 19.98 kB / 0.9812 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.924e-05/0.2206, allocations: 170.9 kB / 0.9814 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.883e-05/0.2206, allocations: 4 kB / 0.9814 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.2206, allocations: 4 kB / 0.9814 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.2208, allocations: 57.67 kB / 0.9814 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.2209, allocations: 3.938 kB / 0.9814 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.2209, allocations: 4 kB / 0.9814 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.2209, allocations: 4 kB / 0.9814 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002063/0.2211, allocations: 63.94 kB / 0.9815 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003475/0.2215, allocations: 268.9 kB / 0.9818 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002243/0.2217, allocations: 62.55 kB / 0.9818 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.2217, allocations: 7.984 kB / 0.9818 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.378e-05/0.2217, allocations: 34.5 kB / 0.9819 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.2218, allocations: 0 / 0.9819 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0004252/0.2222, allocations: 125.7 kB / 0.982 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.366e-05/0.2222, allocations: 51.41 kB / 0.982 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.459e-05/0.2223, allocations: 109.8 kB / 0.9821 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.2223, allocations: 25.7 kB / 0.9822 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.027e-05/0.2223, allocations: 84.27 kB / 0.9822 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.715e-05/0.2224, allocations: 15.78 kB / 0.9823 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-06/0.2224, allocations: 4 kB / 0.9823 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.729e-05/0.2224, allocations: 314.8 kB / 0.9826 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.2225, allocations: 31.97 kB / 0.9826 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.471e-05/0.2226, allocations: 31.98 kB / 0.9826 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.945e-05/0.2227, allocations: 31.91 kB / 0.9826 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2227, allocations: 0 / 0.9826 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002278/0.223, allocations: 97.7 kB / 0.9827 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.223, allocations: 4 kB / 0.9827 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.223, allocations: 0 / 0.9827 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.223, allocations: 3.984 kB / 0.9827 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.2232, allocations: 20.27 kB / 0.9828 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.2232, allocations: 0 / 0.9828 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.362e-05/0.2232, allocations: 19.98 kB / 0.9828 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.2233, allocations: 0 / 0.9828 GB, free: 23.99 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 5.28e-05/0.2233, allocations: 113.8 kB / 0.9829 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.31e-05/0.2233, allocations: 3.906 kB / 0.9829 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.283e-05/0.2234, allocations: 11.53 kB / 0.9829 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.2234, allocations: 0 / 0.9829 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.2234, allocations: 0 / 0.9829 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2234, allocations: 0 / 0.9829 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.2235, allocations: 169.6 kB / 0.9831 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2235, allocations: 0 / 0.9831 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.65e-05/0.2236, allocations: 15.92 kB / 0.9831 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.2236, allocations: 0 / 0.9831 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.2236, allocations: 4 kB / 0.9831 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.2237, allocations: 4 kB / 0.9831 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2237, allocations: 0 / 0.9831 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002443/0.2239, allocations: 195.5 kB / 0.9833 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.718e-05/0.2239, allocations: 77.11 kB / 0.9834 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.224, allocations: 0 / 0.9834 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.729e-05/0.224, allocations: 15.98 kB / 0.9834 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.915e-05/0.2241, allocations: 3.984 kB / 0.9834 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.2241, allocations: 3.938 kB / 0.9834 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.343e-05/0.2241, allocations: 87.31 kB / 0.9835 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2241, allocations: 0 / 0.9835 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002206/0.2244, allocations: 7.906 kB / 0.9835 GB, free: 23.2 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.0004013/0.2248, allocations: 0.7241 MB / 0.9842 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002343/0.225, allocations: 67.98 kB / 0.9842 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.225, allocations: 0 / 0.9842 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.982e-05/0.2251, allocations: 35.91 kB / 0.9843 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001771/0.2253, allocations: 5.844 kB / 0.9843 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004352/0.2258, allocations: 166.3 kB / 0.9844 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.521e-05/0.2259, allocations: 0.6809 MB / 0.9851 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.331e-05/0.2259, allocations: 4 kB / 0.9851 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.518e-05/0.2259, allocations: 7.438 kB / 0.9851 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.226, allocations: 0 / 0.9851 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0111/0.2371, allocations: 1.172 MB / 0.9863 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001528/0.2372, allocations: 193.5 kB / 0.9864 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.574/1.811, allocations: 0 / 0.9864 GB, free: 20.14 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)