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.42/1.42, allocations: 249.5 MB / 257 MB, free: 6.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009977/0.0009977, allocations: 184.3 kB / 316.3 MB, free: 3.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.568/1.568, allocations: 205.3 MB / 0.5671 GB, free: 15.81 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.0008348/0.0008346, allocations: 94.47 kB / 0.6714 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.783e-05/1.786e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2002/0.2003, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7141/0.9145, allocations: 132.8 MB / 1.015 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001969/0.9147, allocations: 82.5 kB / 1.015 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.008451/0.9232, allocations: 3.175 MB / 1.018 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.382e-06/0.9232, allocations: 0 / 1.018 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.9232, allocations: 0 / 1.018 GB, free: 2.129 MB / 0.6355 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.0004134/0.9237, allocations: 397.6 kB / 1.019 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.9237, allocations: 12.03 kB / 1.019 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007304/0.9244, allocations: 95.22 kB / 1.019 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.9246, allocations: 182.9 kB / 1.019 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.9246, allocations: 0 / 1.019 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.9246, allocations: 4 kB / 1.019 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001487/0.9248, allocations: 62.36 kB / 1.019 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.925, allocations: 98.75 kB / 1.019 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.925, allocations: 7.984 kB / 1.019 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.52e-05/0.925, allocations: 0 / 1.019 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.925, allocations: 0 / 1.019 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009091/0.9259, allocations: 416.6 kB / 1.019 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.9261, allocations: 75.95 kB / 1.019 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.54e-05/0.9261, allocations: 31.66 kB / 1.02 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.9262, allocations: 4 kB / 1.02 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.9262, allocations: 34.56 kB / 1.02 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.9262, allocations: 0 / 1.02 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.0002143/0.9264, allocations: 87.91 kB / 1.02 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.9265, allocations: 51.41 kB / 1.02 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.06e-05/0.9266, allocations: 117.8 kB / 1.02 GB, free: 480 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.9266, allocations: 25.7 kB / 1.02 GB, free: 448 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.092e-05/0.9267, allocations: 115 kB / 1.02 GB, free: 336 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.696e-05/0.9267, allocations: 15.75 kB / 1.02 GB, free: 320 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.087e-06/0.9267, allocations: 0 / 1.02 GB, free: 320 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.9268, allocations: 322.3 kB / 1.02 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.875e-05/0.9269, allocations: 22.5 kB / 1.02 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.83e-05/0.9269, allocations: 30.86 kB / 1.02 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.558e-05/0.927, allocations: 22.73 kB / 1.02 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.927, allocations: 0 / 1.02 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001592/0.9271, allocations: 103.1 kB / 1.02 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.498e-05/0.9272, allocations: 96.62 kB / 1.021 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.9272, allocations: 3.938 kB / 1.021 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.9272, allocations: 0 / 1.021 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002814/0.9275, allocations: 44.02 kB / 1.021 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.086e-06/0.9275, allocations: 4 kB / 1.021 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002197/0.9278, allocations: 27.97 kB / 1.021 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.9278, allocations: 3.984 kB / 1.021 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.034e-06/0.9278, allocations: 4 kB / 1.021 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 6.732e-05/0.9279, allocations: 35.53 kB / 1.021 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.355e-06/0.9279, allocations: 7.984 kB / 1.021 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-06/0.9279, allocations: 0 / 1.021 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.057e-05/0.928, allocations: 16 kB / 1.021 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.466e-06/0.928, allocations: 11.88 kB / 1.021 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.389e-05/0.9281, allocations: 7.906 kB / 1.021 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.517e-06/0.9281, allocations: 4 kB / 1.021 GB, free: 15.6 MB / 0.6511 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 () * 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 6.843e-05/0.9281, allocations: 101 kB / 1.021 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001456/0.9283, allocations: 94.72 kB / 1.021 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.712e-05/0.9283, allocations: 3.906 kB / 1.021 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.185e-05/0.9284, allocations: 15.86 kB / 1.021 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.9284, allocations: 0 / 1.021 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.9284, allocations: 0 / 1.021 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.9284, allocations: 3.984 kB / 1.021 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003832/0.9288, allocations: 369.8 kB / 1.021 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.9288, allocations: 0 / 1.021 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002747/0.9291, allocations: 47.16 kB / 1.021 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.349e-06/0.9291, allocations: 0 / 1.021 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.9291, allocations: 3.984 kB / 1.021 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.9291, allocations: 4.312 kB / 1.021 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.9292, allocations: 4.062 kB / 1.021 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001939/0.9293, allocations: 224 kB / 1.022 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.602e-05/0.9294, allocations: 87.84 kB / 1.022 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.208e-05/0.9295, allocations: 128 / 1.022 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002521/0.9297, allocations: 31.97 kB / 1.022 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.93e-05/0.9298, allocations: 11.48 kB / 1.022 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.9298, allocations: 4 kB / 1.022 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.177e-05/0.9298, allocations: 102 kB / 1.022 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9298, allocations: 4 kB / 1.022 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002995/0.9301, allocations: 35.84 kB / 1.022 GB, free: 14.45 MB / 0.6511 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 () * 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.0004863/0.9306, allocations: 0.8909 MB / 1.023 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001836/0.9308, allocations: 79.92 kB / 1.023 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.9308, allocations: 0 / 1.023 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.096e-05/0.9309, allocations: 37.27 kB / 1.023 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001921/0.9311, allocations: 15.53 kB / 1.023 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007786/0.9319, allocations: 202.4 kB / 1.023 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.9322, allocations: 0.7079 MB / 1.024 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001068/0.9323, allocations: 19.97 kB / 1.024 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.599e-05/0.9324, allocations: 30.78 kB / 1.024 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of SimCode: time 1.643e-06/0.9324, allocations: 0 / 1.024 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0208/0.9532, allocations: 1.87 MB / 1.026 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002188/0.9535, allocations: 155.5 kB / 1.026 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.512/2.466, allocations: 0 / 1.026 GB, free: 10.41 MB / 0.6511 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)