Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.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.FlowMachineInterface,fileNamePrefix="Buildings_8_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="Buildings_8_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",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.001127/0.001127, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001104/0.001104, allocations: 191.3 kB / 16.14 MB, free: 6.734 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.427/1.427, allocations: 205.1 MB / 222 MB, free: 4.77 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.685/1.685, allocations: 292.3 MB / 0.5484 GB, free: 13.64 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.001403/0.001404, allocations: 68.55 kB / 0.6709 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.249, allocations: 114.6 MB / 0.7828 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003251/0.2523, allocations: 2.138 MB / 0.7849 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002954/0.2552, allocations: 2.051 MB / 0.7869 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001403/0.2554, allocations: 7.938 kB / 0.7869 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006901/0.2561, allocations: 255.3 kB / 0.7871 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000573/0.2567, allocations: 258.3 kB / 0.7874 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007519/0.2575, allocations: 411.3 kB / 0.7878 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005913/0.2581, allocations: 0.5767 MB / 0.7883 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.2582, allocations: 40.39 kB / 0.7884 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001786/0.2584, allocations: 147.5 kB / 0.7885 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000242/0.2586, allocations: 171.4 kB / 0.7887 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.769e-05/0.2586, allocations: 12 kB / 0.7887 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006175/0.2593, allocations: 439.2 kB / 0.7891 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.2594, allocations: 87.7 kB / 0.7892 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.2595, allocations: 115.3 kB / 0.7893 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006045/0.2601, allocations: 0.5687 MB / 0.7899 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.2601, allocations: 0 / 0.7899 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.52e-07/0.2601, allocations: 0 / 0.7899 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.638e-06/0.2601, allocations: 0 / 0.7899 GB, free: 6.629 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008464/0.261, allocations: 0.6034 MB / 0.7905 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.261, allocations: 8.031 kB / 0.7905 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.288e-05/0.2611, allocations: 38.75 kB / 0.7905 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002993/0.2614, allocations: 48.61 kB / 0.7905 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000424/0.2618, allocations: 332.2 kB / 0.7909 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.2618, allocations: 12.38 kB / 0.7909 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.644e-05/0.2619, allocations: 16.31 kB / 0.7909 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003433/0.2622, allocations: 149.5 kB / 0.791 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.2622, allocations: 0 / 0.791 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.2623, allocations: 4 kB / 0.791 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-06/0.2623, allocations: 4 kB / 0.791 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003637/0.2627, allocations: 123.9 kB / 0.7912 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007063/0.2634, allocations: 0.4925 MB / 0.7916 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003359/0.2637, allocations: 130.5 kB / 0.7918 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001818/0.2639, allocations: 64.81 kB / 0.7918 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.2639, allocations: 0 / 0.7918 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.264, allocations: 42.61 kB / 0.7919 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.113e-06/0.264, allocations: 4 kB / 0.7919 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0006811/0.2647, allocations: 233.2 kB / 0.7921 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.2647, allocations: 55.34 kB / 0.7921 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003223/0.265, allocations: 344.4 kB / 0.7925 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.2651, allocations: 25.7 kB / 0.7925 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.507e-05/0.2652, allocations: 148.1 kB / 0.7926 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.658e-05/0.2652, allocations: 31.55 kB / 0.7927 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.207e-05/0.2653, allocations: 53.69 kB / 0.7927 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.2654, allocations: 338.8 kB / 0.793 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002503/0.2657, allocations: 116.8 kB / 0.7932 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002743/0.266, allocations: 166.7 kB / 0.7933 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005082/0.2665, allocations: 274.6 kB / 0.7936 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2665, allocations: 0 / 0.7936 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006204/0.2671, allocations: 340.7 kB / 0.7939 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.2671, allocations: 8 kB / 0.7939 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.2671, allocations: 0 / 0.7939 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.2672, allocations: 4 kB / 0.7939 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002451/0.2674, allocations: 43.97 kB / 0.794 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.46e-05/0.2674, allocations: 16.09 kB / 0.794 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001671/0.2676, allocations: 19.83 kB / 0.794 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.96e-05/0.2676, allocations: 12.38 kB / 0.794 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003011/0.268, allocations: 213.1 kB / 0.7942 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002341/0.2682, allocations: 145.5 kB / 0.7943 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004327/0.2686, allocations: 242.6 kB / 0.7946 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.382e-06/0.2687, allocations: 3.938 kB / 0.7946 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0005568/0.2692, allocations: 297 kB / 0.7949 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.348e-06/0.2692, allocations: 10.5 kB / 0.7949 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.445e-06/0.2692, allocations: 0 / 0.7949 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.978e-06/0.2692, allocations: 4 kB / 0.7949 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001881/0.2694, allocations: 39.97 kB / 0.7949 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.2695, allocations: 0 / 0.7949 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/0.2696, allocations: 35.92 kB / 0.7949 GB, free: 1.086 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.126e-05/0.2696, allocations: 12 kB / 0.795 GB, free: 1.074 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (19): * Single equations (assignments): 18 * Array equations: 1 * 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.0001061/0.2698, allocations: 184.3 kB / 0.7951 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.663e-05/0.2698, allocations: 23.7 kB / 0.7952 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005106/0.2703, allocations: 208.2 kB / 0.7954 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.2703, allocations: 0 / 0.7954 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.2703, allocations: 3.938 kB / 0.7954 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.2704, allocations: 0 / 0.7954 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002853/0.2706, allocations: 281.4 kB / 0.7956 GB, free: 332 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2707, allocations: 0 / 0.7956 GB, free: 332 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001498/0.2708, allocations: 27.92 kB / 0.7957 GB, free: 304 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.2708, allocations: 4 kB / 0.7957 GB, free: 300 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.2708, allocations: 0 / 0.7957 GB, free: 300 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.2708, allocations: 4 kB / 0.7957 GB, free: 296 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.2708, allocations: 3.938 kB / 0.7957 GB, free: 292 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004318/0.2713, allocations: 275.1 kB / 0.7959 GB, free: 0 / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.408e-05/0.2714, allocations: 124.7 kB / 0.796 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.511e-05/0.2715, allocations: 4.188 kB / 0.796 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.2716, allocations: 11.98 kB / 0.7961 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.425e-05/0.2717, allocations: 11.88 kB / 0.7961 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.2717, allocations: 7.984 kB / 0.7961 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002204/0.2719, allocations: 239 kB / 0.7963 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2719, allocations: 0 / 0.7963 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000571/0.2725, allocations: 144 kB / 0.7964 GB, free: 15.45 MB / 0.6231 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 (10): * Single equations (assignments): 10 * 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.001024/0.2735, allocations: 0.9033 MB / 0.7973 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000759/0.2743, allocations: 332 kB / 0.7976 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2743, allocations: 0 / 0.7976 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001848/0.2745, allocations: 67.89 kB / 0.7977 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005165/0.275, allocations: 97.91 kB / 0.7978 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003785/0.2788, allocations: 3.059 MB / 0.8008 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.2791, allocations: 0.7716 MB / 0.8015 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002906/0.2794, allocations: 74.88 kB / 0.8016 GB, free: 9.977 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/0.2796, allocations: 95.39 kB / 0.8017 GB, free: 9.883 MB / 0.6231 GB Notification: Performance of SimCode: time 2.3e-07/0.2796, allocations: 0 / 0.8017 GB, free: 9.883 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02106/0.3007, allocations: 8.884 MB / 0.8104 GB, free: 1.195 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000177/0.3009, allocations: 217.1 kB / 0.8106 GB, free: 0.9414 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2/2.301, allocations: 0 / 0.8106 GB, free: 0.9414 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.fmu > Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)