Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.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.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.706/1.706, allocations: 288.2 MB / 303.2 MB, free: 8.277 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.001197/0.001197, allocations: 186 kB / 371.8 MB, free: 10.28 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.793/1.793, allocations: 205.4 MB / 0.6305 GB, free: 9.988 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.0009796/0.0009797, allocations: 94.95 kB / 0.7439 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004191/0.0004193, allocations: 11.97 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2616, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.001727/0.2634, allocations: 1.294 MB / 0.9807 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005198/0.264, allocations: 288.2 kB / 0.981 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.746e-05/0.264, allocations: 4 kB / 0.981 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.544e-05/0.264, allocations: 7.922 kB / 0.981 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.766e-05/0.2641, allocations: 15.95 kB / 0.981 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002565/0.2644, allocations: 63.8 kB / 0.9811 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.766e-05/0.2645, allocations: 63.86 kB / 0.9812 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.2646, allocations: 23.98 kB / 0.9812 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.35e-05/0.2647, allocations: 27.91 kB / 0.9812 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.272e-05/0.2648, allocations: 35.84 kB / 0.9812 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.2648, allocations: 8 kB / 0.9813 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.645e-05/0.2649, allocations: 23.97 kB / 0.9813 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.377e-05/0.2649, allocations: 11.94 kB / 0.9813 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.893e-05/0.2649, allocations: 37.64 kB / 0.9813 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.655e-05/0.265, allocations: 68.08 kB / 0.9814 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.265, allocations: 0 / 0.9814 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2651, allocations: 0 / 0.9814 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.2651, allocations: 0 / 0.9814 GB, free: 25.63 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004539/0.2655, allocations: 399.1 kB / 0.9818 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.2656, allocations: 12.02 kB / 0.9818 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.995e-05/0.2656, allocations: 38.56 kB / 0.9818 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009885/0.2666, allocations: 135.6 kB / 0.9819 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.549e-05/0.2667, allocations: 182.8 kB / 0.9821 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.2667, allocations: 8 kB / 0.9821 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.012e-05/0.2668, allocations: 11.94 kB / 0.9821 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005033/0.2673, allocations: 167.5 kB / 0.9823 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.2673, allocations: 0 / 0.9823 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.2673, allocations: 4 kB / 0.9823 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.2673, allocations: 0 / 0.9823 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006932/0.268, allocations: 175.8 kB / 0.9825 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009171/0.2689, allocations: 456.2 kB / 0.9829 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006721/0.2696, allocations: 162.4 kB / 0.9831 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.2697, allocations: 0 / 0.9831 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/0.2697, allocations: 30.69 kB / 0.9831 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 7.31e-07/0.2697, allocations: 0 / 0.9831 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.001183/0.2709, allocations: 277.4 kB / 0.9834 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/0.2709, allocations: 59.41 kB / 0.9834 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.271, allocations: 155.3 kB / 0.9836 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.2711, allocations: 25.7 kB / 0.9836 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.709e-05/0.2711, allocations: 104 kB / 0.9837 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/0.2711, allocations: 19.73 kB / 0.9837 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.237e-06/0.2712, allocations: 0 / 0.9837 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.298e-05/0.2712, allocations: 326.8 kB / 0.984 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003472/0.2716, allocations: 79.92 kB / 0.9841 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003399/0.2719, allocations: 87.92 kB / 0.9842 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003367/0.2723, allocations: 71.94 kB / 0.9842 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2723, allocations: 0 / 0.9842 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007232/0.273, allocations: 209.4 kB / 0.9844 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/0.2731, allocations: 97 kB / 0.9845 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.2731, allocations: 0 / 0.9845 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.2731, allocations: 0 / 0.9845 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002487/0.2734, allocations: 43.95 kB / 0.9846 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-06/0.2734, allocations: 0 / 0.9846 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002104/0.2736, allocations: 39.81 kB / 0.9846 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.2736, allocations: 3.984 kB / 0.9846 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.472e-06/0.2736, allocations: 4 kB / 0.9846 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000188/0.2738, allocations: 71.95 kB / 0.9847 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-06/0.2738, allocations: 0 / 0.9847 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-06/0.2738, allocations: 3.953 kB / 0.9847 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.324e-05/0.2739, allocations: 23.98 kB / 0.9847 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-06/0.2739, allocations: 0 / 0.9847 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.524e-05/0.274, allocations: 11.94 kB / 0.9847 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.598e-06/0.274, allocations: 3.984 kB / 0.9847 GB, free: 21.97 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 (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 8.15e-05/0.2741, allocations: 193.1 kB / 0.9849 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.28e-05/0.2741, allocations: 15.75 kB / 0.9849 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.769e-05/0.2742, allocations: 20.27 kB / 0.985 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.2742, allocations: 3.938 kB / 0.985 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.2742, allocations: 0 / 0.985 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2742, allocations: 0 / 0.985 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009576/0.2752, allocations: 0.4922 MB / 0.9854 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2752, allocations: 3.953 kB / 0.9854 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002206/0.2754, allocations: 44.02 kB / 0.9855 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.2754, allocations: 4 kB / 0.9855 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.2754, allocations: 3.984 kB / 0.9855 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.2754, allocations: 0.5625 kB / 0.9855 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.2755, allocations: 4 kB / 0.9855 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007632/0.2762, allocations: 340.3 kB / 0.9858 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.907e-05/0.2763, allocations: 97 kB / 0.9859 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.574e-05/0.2763, allocations: 3.984 kB / 0.9859 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000234/0.2766, allocations: 27.97 kB / 0.9859 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.247e-05/0.2766, allocations: 4 kB / 0.9859 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.2766, allocations: 11.98 kB / 0.986 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.304e-05/0.2767, allocations: 122 kB / 0.9861 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2767, allocations: 0 / 0.9861 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002911/0.277, allocations: 31.91 kB / 0.9861 GB, free: 20.45 MB / 0.6198 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.0009953/0.278, allocations: 1.003 MB / 0.9871 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008459/0.2789, allocations: 207.8 kB / 0.9873 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.2789, allocations: 4 kB / 0.9873 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003527/0.2792, allocations: 88.03 kB / 0.9874 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.2795, allocations: 17.09 kB / 0.9874 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002352/0.2819, allocations: 0.9081 MB / 0.9883 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001269/0.282, allocations: 0.6965 MB / 0.989 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001184/0.2821, allocations: 12 kB / 0.989 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.359e-05/0.2822, allocations: 39.39 kB / 0.989 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of SimCode: time 5.41e-07/0.2822, allocations: 0 / 0.989 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01244/0.2947, allocations: 2.377 MB / 0.9913 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001528/0.2949, allocations: 209.1 kB / 0.9915 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.641/1.936, allocations: 64 / 0.9915 GB, free: 14.9 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)