Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.115/2.115, allocations: 251 MB / 265.9 MB, free: 11.68 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.001569/0.001568, allocations: 177.8 kB / 325.5 MB, free: 2.891 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.422/2.422, allocations: 205.4 MB / 0.5764 GB, free: 20.82 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.001691/0.001691, allocations: 105.2 kB / 0.6809 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007229/0.000723, allocations: 15.53 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2241, allocations: 106.3 MB / 0.8988 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2495/0.4737, allocations: 131.5 MB / 1.027 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002893/0.474, allocations: 71.95 kB / 1.027 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003113/0.4771, allocations: 0.7702 MB / 1.028 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.699e-06/0.4772, allocations: 4 kB / 1.028 GB, free: 12.97 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.575e-06/0.4772, allocations: 3.938 kB / 1.028 GB, free: 12.97 MB / 0.6823 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.0004915/0.4777, allocations: 347.2 kB / 1.028 GB, free: 12.58 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.4778, allocations: 8.031 kB / 1.028 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.01e-05/0.4778, allocations: 34.56 kB / 1.028 GB, free: 12.53 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002205/0.4781, allocations: 27.88 kB / 1.028 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.4782, allocations: 163 kB / 1.029 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.999e-05/0.4783, allocations: 4 kB / 1.029 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.4783, allocations: 3.938 kB / 1.029 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002901/0.4786, allocations: 61.61 kB / 1.029 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.4786, allocations: 3.984 kB / 1.029 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.4786, allocations: 4 kB / 1.029 GB, free: 12.22 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.4787, allocations: 4 kB / 1.029 GB, free: 12.22 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003979/0.4791, allocations: 59.95 kB / 1.029 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005687/0.4796, allocations: 276.8 kB / 1.029 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003061/0.48, allocations: 74.47 kB / 1.029 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.48, allocations: 3.984 kB / 1.029 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.4801, allocations: 30.56 kB / 1.029 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 2.294e-06/0.4801, allocations: 0 / 1.029 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0007291/0.4808, allocations: 125.7 kB / 1.029 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.4809, allocations: 51.41 kB / 1.029 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.481, allocations: 105 kB / 1.029 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.481, allocations: 25.7 kB / 1.029 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.947e-05/0.4811, allocations: 88.25 kB / 1.029 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.426e-05/0.4811, allocations: 7.906 kB / 1.029 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.222e-06/0.4812, allocations: 0 / 1.029 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.4813, allocations: 314.8 kB / 1.03 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002081/0.4815, allocations: 35.91 kB / 1.03 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001974/0.4818, allocations: 31.98 kB / 1.03 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000207/0.482, allocations: 27.97 kB / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.482, allocations: 4 kB / 1.03 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000473/0.4825, allocations: 97.62 kB / 1.03 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.4825, allocations: 7.984 kB / 1.03 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.4825, allocations: 0 / 1.03 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/0.4826, allocations: 4.031 kB / 1.03 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001789/0.4828, allocations: 19.92 kB / 1.03 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.4828, allocations: 0 / 1.03 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.4829, allocations: 8 kB / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.4829, allocations: 3.953 kB / 1.03 GB, free: 10.73 MB / 0.6823 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 0.0001039/0.483, allocations: 113.8 kB / 1.03 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.358e-05/0.4831, allocations: 4 kB / 1.03 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.366e-05/0.4831, allocations: 7.531 kB / 1.03 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.4831, allocations: 3.938 kB / 1.03 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.4832, allocations: 0 / 1.03 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.4832, allocations: 4 kB / 1.03 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002292/0.4834, allocations: 161.6 kB / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.4834, allocations: 0 / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001457/0.4836, allocations: 15.98 kB / 1.03 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.4836, allocations: 0 / 1.03 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.4836, allocations: 4 kB / 1.03 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.4836, allocations: 3.938 kB / 1.03 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4836, allocations: 0 / 1.03 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005356/0.4842, allocations: 203.4 kB / 1.03 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.017e-05/0.4843, allocations: 81.02 kB / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.4843, allocations: 0 / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.4844, allocations: 11.98 kB / 1.031 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.367e-05/0.4845, allocations: 7.984 kB / 1.031 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.184e-06/0.4845, allocations: 0 / 1.031 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.346e-05/0.4846, allocations: 87.56 kB / 1.031 GB, free: 9.938 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.61e-07/0.4846, allocations: 3.938 kB / 1.031 GB, free: 9.934 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003019/0.4849, allocations: 4 kB / 1.031 GB, free: 9.93 MB / 0.6823 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.0008388/0.4858, allocations: 0.7211 MB / 1.031 GB, free: 9.184 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004589/0.4863, allocations: 63.98 kB / 1.031 GB, free: 9.121 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.4863, allocations: 0 / 1.031 GB, free: 9.121 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002133/0.4865, allocations: 39.91 kB / 1.031 GB, free: 9.082 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/0.4868, allocations: 9.844 kB / 1.031 GB, free: 9.074 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006474/0.4874, allocations: 158.3 kB / 1.032 GB, free: 8.875 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.4877, allocations: 0.6887 MB / 1.032 GB, free: 8.16 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.311e-05/0.4878, allocations: 4 kB / 1.032 GB, free: 8.156 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.224e-05/0.4878, allocations: 11.44 kB / 1.032 GB, free: 8.145 MB / 0.6823 GB Notification: Performance of SimCode: time 1.202e-06/0.4878, allocations: 0 / 1.032 GB, free: 8.145 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02393/0.5118, allocations: 1.173 MB / 1.033 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000322/0.5122, allocations: 178.5 kB / 1.034 GB, free: 6.855 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.419/2.932, allocations: 1.406 kB / 1.034 GB, free: 6.855 MB / 0.6823 GB