Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.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.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface",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.43/1.43, allocations: 251.9 MB / 266.9 MB, free: 11.07 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.00128/0.001279, allocations: 187.9 kB / 326.5 MB, free: 2.238 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.076/2.076, allocations: 205.4 MB / 0.5775 GB, free: 20.24 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.0009462/0.0009464, allocations: 97.45 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003858/0.0003858, allocations: 13.34 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.2396, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1828/0.4225, allocations: 132.6 MB / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003167/0.4228, allocations: 83.89 kB / 1.03 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009554/0.4324, allocations: 3.217 MB / 1.033 GB, free: 7.719 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.675e-06/0.4325, allocations: 0 / 1.033 GB, free: 7.719 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.184e-05/0.4325, allocations: 4 kB / 1.033 GB, free: 7.715 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005505/0.4331, allocations: 398.9 kB / 1.033 GB, free: 7.277 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.4331, allocations: 12.03 kB / 1.033 GB, free: 7.266 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.284e-05/0.4332, allocations: 34.56 kB / 1.033 GB, free: 7.223 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008094/0.434, allocations: 95.8 kB / 1.033 GB, free: 7.129 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.4342, allocations: 185.6 kB / 1.034 GB, free: 6.91 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/0.4342, allocations: 8 kB / 1.034 GB, free: 6.902 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/0.4342, allocations: 4 kB / 1.034 GB, free: 6.898 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005747/0.4348, allocations: 161.5 kB / 1.034 GB, free: 6.734 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.4348, allocations: 0 / 1.034 GB, free: 6.734 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.4349, allocations: 4 kB / 1.034 GB, free: 6.73 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.4349, allocations: 4 kB / 1.034 GB, free: 6.727 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007805/0.4357, allocations: 175.8 kB / 1.034 GB, free: 6.555 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001135/0.4368, allocations: 464.2 kB / 1.034 GB, free: 6.051 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007259/0.4375, allocations: 166.4 kB / 1.035 GB, free: 5.879 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.4376, allocations: 0 / 1.035 GB, free: 5.879 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.4376, allocations: 30.56 kB / 1.035 GB, free: 5.84 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=5): time 1.323e-06/0.4376, allocations: 0 / 1.035 GB, free: 5.84 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5): time 0.001292/0.4389, allocations: 273.5 kB / 1.035 GB, free: 5.566 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.439, allocations: 59.41 kB / 1.035 GB, free: 5.496 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001848/0.4392, allocations: 147.4 kB / 1.035 GB, free: 5.348 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.4392, allocations: 29.64 kB / 1.035 GB, free: 5.312 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.503e-05/0.4393, allocations: 99.98 kB / 1.035 GB, free: 5.211 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.4393, allocations: 23.73 kB / 1.035 GB, free: 5.188 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.096e-06/0.4393, allocations: 0 / 1.035 GB, free: 5.188 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.4395, allocations: 322.8 kB / 1.035 GB, free: 4.863 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003822/0.4399, allocations: 75.94 kB / 1.036 GB, free: 4.789 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003732/0.4403, allocations: 87.92 kB / 1.036 GB, free: 4.703 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000377/0.4406, allocations: 79.91 kB / 1.036 GB, free: 4.625 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.4406, allocations: 0 / 1.036 GB, free: 4.625 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0008303/0.4415, allocations: 209.4 kB / 1.036 GB, free: 4.414 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.212e-05/0.4416, allocations: 93 kB / 1.036 GB, free: 4.316 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.4416, allocations: 0 / 1.036 GB, free: 4.316 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.4416, allocations: 0 / 1.036 GB, free: 4.316 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003244/0.4419, allocations: 51.88 kB / 1.036 GB, free: 4.266 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.442, allocations: 0 / 1.036 GB, free: 4.266 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002629/0.4422, allocations: 39.81 kB / 1.036 GB, free: 4.227 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.188e-05/0.4423, allocations: 11.98 kB / 1.036 GB, free: 4.215 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.306e-06/0.4423, allocations: 4 kB / 1.036 GB, free: 4.211 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001995/0.4425, allocations: 68.12 kB / 1.036 GB, free: 4.145 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-06/0.4425, allocations: 0 / 1.036 GB, free: 4.145 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.198e-06/0.4425, allocations: 3.953 kB / 1.036 GB, free: 4.141 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.303e-05/0.4426, allocations: 23.98 kB / 1.036 GB, free: 4.117 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-06/0.4426, allocations: 0 / 1.036 GB, free: 4.117 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.114e-05/0.4427, allocations: 15.89 kB / 1.036 GB, free: 4.102 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-06/0.4427, allocations: 0 / 1.036 GB, free: 4.102 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 (7): * Single equations (assignments): 7 * 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.0001369/0.4428, allocations: 193.1 kB / 1.036 GB, free: 3.902 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.854e-05/0.4429, allocations: 7.906 kB / 1.036 GB, free: 3.895 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.309e-05/0.4429, allocations: 24.5 kB / 1.036 GB, free: 3.867 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.4429, allocations: 0 / 1.036 GB, free: 3.867 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.4429, allocations: 8 kB / 1.036 GB, free: 3.859 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.443, allocations: 0 / 1.036 GB, free: 3.859 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.4441, allocations: 0.4922 MB / 1.037 GB, free: 3.305 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.4441, allocations: 3.953 kB / 1.037 GB, free: 3.301 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002665/0.4444, allocations: 40.02 kB / 1.037 GB, free: 3.262 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.4444, allocations: 3.938 kB / 1.037 GB, free: 3.258 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.4444, allocations: 8.031 kB / 1.037 GB, free: 3.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.4444, allocations: 0 / 1.037 GB, free: 3.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.4445, allocations: 3.984 kB / 1.037 GB, free: 3.246 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008708/0.4453, allocations: 344.2 kB / 1.037 GB, free: 2.875 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.544e-05/0.4454, allocations: 96.94 kB / 1.037 GB, free: 2.762 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.728e-05/0.4455, allocations: 4 kB / 1.037 GB, free: 2.758 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000272/0.4457, allocations: 31.97 kB / 1.037 GB, free: 2.727 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.923e-05/0.4458, allocations: 7.984 kB / 1.037 GB, free: 2.719 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.4458, allocations: 0 / 1.037 GB, free: 2.719 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.434e-05/0.4459, allocations: 122.7 kB / 1.038 GB, free: 2.602 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4459, allocations: 0 / 1.038 GB, free: 2.602 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003138/0.4462, allocations: 32 kB / 1.038 GB, free: 2.57 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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.001267/0.4475, allocations: 1.011 MB / 1.039 GB, free: 1.516 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009104/0.4484, allocations: 207.8 kB / 1.039 GB, free: 1.312 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4484, allocations: 0 / 1.039 GB, free: 1.312 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003757/0.4488, allocations: 95.97 kB / 1.039 GB, free: 1.219 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/0.4491, allocations: 7.953 kB / 1.039 GB, free: 1.211 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00277/0.4519, allocations: 0.9073 MB / 1.04 GB, free: 248 kB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.4522, allocations: 0.6965 MB / 1.04 GB, free: 15.52 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001014/0.4523, allocations: 15.98 kB / 1.04 GB, free: 15.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.4524, allocations: 39.41 kB / 1.04 GB, free: 15.46 MB / 0.698 GB Notification: Performance of SimCode: time 8.72e-07/0.4525, allocations: 11.88 kB / 1.04 GB, free: 15.45 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01513/0.4676, allocations: 2.396 MB / 1.043 GB, free: 13.22 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002118/0.4679, allocations: 196.5 kB / 1.043 GB, free: 12.98 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.689/2.157, allocations: 0 / 1.043 GB, free: 12.98 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)