Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="Buildings_8_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="Buildings_8_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001257/0.001258, allocations: 191.8 kB / 16.13 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.407/1.407, allocations: 205.1 MB / 222 MB, free: 4.965 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.73/1.73, allocations: 292.3 MB / 0.5484 GB, free: 13.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 78.03 kB / 0.6709 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.2392, allocations: 114.5 MB / 0.7828 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002912/0.2422, allocations: 1.683 MB / 0.7844 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006421/0.2428, allocations: 308 kB / 0.7847 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.754e-05/0.2429, allocations: 0 / 0.7847 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.328e-05/0.2429, allocations: 3.938 kB / 0.7847 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.848e-05/0.243, allocations: 19.84 kB / 0.7847 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002625/0.2433, allocations: 59.95 kB / 0.7848 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.2434, allocations: 103.6 kB / 0.7849 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.2435, allocations: 27.97 kB / 0.7849 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.324e-05/0.2436, allocations: 35.8 kB / 0.785 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.933e-05/0.2437, allocations: 55.77 kB / 0.785 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.2437, allocations: 4 kB / 0.785 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.247e-05/0.2438, allocations: 27.97 kB / 0.785 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.217e-05/0.2438, allocations: 11.92 kB / 0.7851 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.635e-05/0.2439, allocations: 35.81 kB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001554/0.244, allocations: 99.89 kB / 0.7852 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2441, allocations: 0 / 0.7852 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.223e-06/0.2441, allocations: 0 / 0.7852 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.2441, allocations: 0 / 0.7852 GB, free: 11.46 MB / 0.6075 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.0005942/0.2447, allocations: 411.1 kB / 0.7856 GB, free: 11 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.2447, allocations: 12.03 kB / 0.7856 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.228e-05/0.2448, allocations: 34.75 kB / 0.7856 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/0.2458, allocations: 120.7 kB / 0.7857 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.246, allocations: 184.1 kB / 0.7859 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.246, allocations: 8.375 kB / 0.7859 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.246, allocations: 8.375 kB / 0.7859 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005569/0.2466, allocations: 150.8 kB / 0.7861 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.2466, allocations: 7.922 kB / 0.7861 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.2466, allocations: 0 / 0.7861 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.2466, allocations: 4 kB / 0.7861 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000765/0.2474, allocations: 155.8 kB / 0.7862 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009986/0.2484, allocations: 440.4 kB / 0.7867 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007132/0.2491, allocations: 134.5 kB / 0.7868 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000372/0.2495, allocations: 76.91 kB / 0.7869 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.2495, allocations: 3.938 kB / 0.7869 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.2496, allocations: 38.5 kB / 0.7869 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.2496, allocations: 0 / 0.7869 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.001212/0.2508, allocations: 245.3 kB / 0.7871 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.2508, allocations: 51.41 kB / 0.7872 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.251, allocations: 161.3 kB / 0.7873 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.251, allocations: 25.7 kB / 0.7874 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.319e-05/0.2511, allocations: 104 kB / 0.7875 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.154e-05/0.2512, allocations: 23.69 kB / 0.7875 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.563e-05/0.2512, allocations: 25.69 kB / 0.7875 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.2513, allocations: 326.8 kB / 0.7878 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003706/0.2517, allocations: 76.78 kB / 0.7879 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003551/0.2521, allocations: 67.88 kB / 0.788 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006736/0.2528, allocations: 136.7 kB / 0.7881 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.2528, allocations: 256 / 0.7881 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000762/0.2535, allocations: 185.4 kB / 0.7883 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.2536, allocations: 8 kB / 0.7883 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.2536, allocations: 4.234 kB / 0.7883 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.2536, allocations: 3.938 kB / 0.7883 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002561/0.2539, allocations: 35.95 kB / 0.7883 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.2539, allocations: 3.984 kB / 0.7883 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002159/0.2541, allocations: 27.88 kB / 0.7883 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/0.2541, allocations: 11.92 kB / 0.7884 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001509/0.2543, allocations: 112.1 kB / 0.7885 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000107/0.2544, allocations: 52.28 kB / 0.7885 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001907/0.2546, allocations: 84.19 kB / 0.7886 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.32e-07/0.2546, allocations: 0 / 0.7886 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0002387/0.2549, allocations: 109.4 kB / 0.7887 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.207e-06/0.2549, allocations: 10.66 kB / 0.7887 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-06/0.2549, allocations: 0 / 0.7887 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-06/0.2549, allocations: 0 / 0.7887 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.144e-05/0.255, allocations: 19.98 kB / 0.7887 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.255, allocations: 3.938 kB / 0.7887 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.901e-05/0.2551, allocations: 16.08 kB / 0.7887 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.73e-06/0.2551, allocations: 8 kB / 0.7888 GB, free: 7.531 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001069/0.2552, allocations: 176.3 kB / 0.7889 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.74e-05/0.2552, allocations: 19.75 kB / 0.7889 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.531e-05/0.2553, allocations: 12.3 kB / 0.789 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.2553, allocations: 7.938 kB / 0.789 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.2553, allocations: 0 / 0.789 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.2553, allocations: 0 / 0.789 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.2564, allocations: 479.9 kB / 0.7894 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.2564, allocations: 4 kB / 0.7894 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002262/0.2566, allocations: 40 kB / 0.7895 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.2566, allocations: 4 kB / 0.7895 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.2567, allocations: 48 / 0.7895 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2567, allocations: 0 / 0.7895 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.2567, allocations: 7.984 kB / 0.7895 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007938/0.2575, allocations: 288.9 kB / 0.7897 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.692e-05/0.2576, allocations: 101 kB / 0.7898 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.637e-05/0.2576, allocations: 7.938 kB / 0.7898 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002323/0.2578, allocations: 28.03 kB / 0.7899 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.566e-05/0.2579, allocations: 4 kB / 0.7899 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.2579, allocations: 3.984 kB / 0.7899 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.324e-05/0.258, allocations: 125.3 kB / 0.79 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.71e-07/0.258, allocations: 0 / 0.79 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003159/0.2583, allocations: 35.91 kB / 0.79 GB, free: 6.098 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001055/0.2594, allocations: 0.8232 MB / 0.7908 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008451/0.2602, allocations: 179.8 kB / 0.791 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.2602, allocations: 0 / 0.791 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003553/0.2606, allocations: 76.3 kB / 0.7911 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003877/0.261, allocations: 8 kB / 0.7911 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003774/0.2648, allocations: 1.913 MB / 0.793 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.265, allocations: 0.6965 MB / 0.7936 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.413e-05/0.2651, allocations: 16 kB / 0.7937 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.653e-05/0.2653, allocations: 31.41 kB / 0.7937 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of SimCode: time 3.21e-07/0.2653, allocations: 0 / 0.7937 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01245/0.2777, allocations: 2.486 MB / 0.7961 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000227/0.278, allocations: 211.6 kB / 0.7963 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.813/2.091, allocations: 0 / 0.7963 GB, free: 15.58 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface.fmu > Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)