Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.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.Examples.PowerLinearized,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.438/1.438, allocations: 252 MB / 267 MB, free: 10.95 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.001127/0.001127, allocations: 175.6 kB / 326.6 MB, free: 2.199 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.078/2.078, allocations: 205.4 MB / 0.5777 GB, free: 20.22 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.000841/0.000841, allocations: 93.98 kB / 0.6823 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003823/0.0003821, allocations: 11.91 kB / 0.7964 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2713, allocations: 106.4 MB / 0.9003 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.001609/0.273, allocations: 1.16 MB / 0.9014 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002476/0.2733, allocations: 88.62 kB / 0.9015 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.227e-05/0.2733, allocations: 0 / 0.9015 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.428e-05/0.2733, allocations: 0 / 0.9015 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.977e-05/0.2734, allocations: 11.86 kB / 0.9015 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001774/0.2736, allocations: 15.98 kB / 0.9015 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.163e-05/0.2736, allocations: 19.92 kB / 0.9016 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.24e-05/0.2737, allocations: 8 kB / 0.9016 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.153e-05/0.2738, allocations: 11.94 kB / 0.9016 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.073e-05/0.2738, allocations: 7.984 kB / 0.9016 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.2739, allocations: 0 / 0.9016 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.107e-05/0.2739, allocations: 15.98 kB / 0.9016 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.456e-06/0.2739, allocations: 0 / 0.9016 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.405e-05/0.274, allocations: 33.64 kB / 0.9016 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.905e-05/0.2741, allocations: 23.94 kB / 0.9017 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.2741, allocations: 0 / 0.9017 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2741, allocations: 0 / 0.9017 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.2741, allocations: 4 kB / 0.9017 GB, free: 62.38 MB / 0.6042 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.0003854/0.2745, allocations: 347.6 kB / 0.902 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.2745, allocations: 8.031 kB / 0.902 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.894e-05/0.2746, allocations: 34.5 kB / 0.902 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001552/0.2747, allocations: 19.89 kB / 0.9021 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.266e-05/0.2748, allocations: 167 kB / 0.9022 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.2749, allocations: 0 / 0.9022 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.2749, allocations: 8 kB / 0.9022 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.2751, allocations: 65.59 kB / 0.9023 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.2751, allocations: 0 / 0.9023 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.2751, allocations: 0 / 0.9023 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.2751, allocations: 4 kB / 0.9023 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002169/0.2753, allocations: 67.94 kB / 0.9024 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003316/0.2757, allocations: 264.9 kB / 0.9026 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001714/0.2759, allocations: 58.55 kB / 0.9027 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.276, allocations: 40.89 kB / 0.9027 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.276, allocations: 3.938 kB / 0.9027 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.646e-05/0.276, allocations: 34.56 kB / 0.9027 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.276, allocations: 0 / 0.9027 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003934/0.2764, allocations: 121.6 kB / 0.9029 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.407e-05/0.2765, allocations: 51.41 kB / 0.9029 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.521e-05/0.2765, allocations: 117.9 kB / 0.903 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.495e-06/0.2765, allocations: 25.7 kB / 0.903 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.991e-05/0.2766, allocations: 88.05 kB / 0.9031 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.433e-05/0.2766, allocations: 4 kB / 0.9031 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-06/0.2766, allocations: 0 / 0.9031 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.853e-05/0.2767, allocations: 318.8 kB / 0.9034 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.2768, allocations: 31.98 kB / 0.9035 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.638e-05/0.2769, allocations: 31.91 kB / 0.9035 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.277, allocations: 39.97 kB / 0.9035 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.277, allocations: 0 / 0.9035 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000226/0.2772, allocations: 93.56 kB / 0.9036 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.2772, allocations: 4 kB / 0.9036 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2773, allocations: 4.031 kB / 0.9036 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.2773, allocations: 4 kB / 0.9036 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.2774, allocations: 11.98 kB / 0.9036 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.2774, allocations: 0 / 0.9036 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.534e-05/0.2775, allocations: 11.98 kB / 0.9037 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.2775, allocations: 7.953 kB / 0.9037 GB, free: 60.1 MB / 0.6042 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.674e-05/0.2775, allocations: 117.8 kB / 0.9038 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.169e-05/0.2776, allocations: 0 / 0.9038 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.788e-05/0.2776, allocations: 7.531 kB / 0.9038 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.2776, allocations: 3.984 kB / 0.9038 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.2776, allocations: 0 / 0.9038 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.2776, allocations: 0 / 0.9038 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001346/0.2778, allocations: 173.5 kB / 0.904 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.2778, allocations: 0 / 0.904 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.888e-05/0.2779, allocations: 15.98 kB / 0.904 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.2779, allocations: 4 kB / 0.904 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.2779, allocations: 0 / 0.904 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.2779, allocations: 0 / 0.904 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2779, allocations: 0 / 0.904 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002458/0.2781, allocations: 195.4 kB / 0.9042 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.142e-05/0.2782, allocations: 81.05 kB / 0.9042 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.2782, allocations: 4 kB / 0.9042 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.2783, allocations: 15.98 kB / 0.9043 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.869e-05/0.2784, allocations: 4.031 kB / 0.9043 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.2784, allocations: 0 / 0.9043 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.639e-05/0.2784, allocations: 83.52 kB / 0.9043 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2784, allocations: 0 / 0.9043 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002057/0.2786, allocations: 8 kB / 0.9043 GB, free: 59.31 MB / 0.6042 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.0004238/0.279, allocations: 0.7241 MB / 0.9051 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000242/0.2793, allocations: 67.98 kB / 0.9051 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2793, allocations: 0 / 0.9051 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.2794, allocations: 39.97 kB / 0.9052 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/0.2797, allocations: 4 kB / 0.9052 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004443/0.2801, allocations: 162.2 kB / 0.9053 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001092/0.2803, allocations: 0.6848 MB / 0.906 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.207e-05/0.2803, allocations: 4 kB / 0.906 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.82e-05/0.2803, allocations: 7.438 kB / 0.906 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of SimCode: time 2.11e-07/0.2804, allocations: 0 / 0.906 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01124/0.2916, allocations: 1.199 MB / 0.9072 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001885/0.2919, allocations: 196.1 kB / 0.9074 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.612/1.904, allocations: 0 / 0.9074 GB, free: 56.23 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_PowerLinearized.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)