Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.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.FlowMachineInterface,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",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.585/1.585, allocations: 252 MB / 267 MB, free: 10.98 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.001036/0.001036, allocations: 180.6 kB / 326.6 MB, free: 2.234 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.896/1.896, allocations: 205.4 MB / 0.5777 GB, free: 20.28 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.0007889/0.0007888, allocations: 95.95 kB / 0.6823 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003628/0.000363, allocations: 8.688 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.2643, allocations: 106.3 MB / 0.9003 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.002392/0.2668, allocations: 1.745 MB / 0.902 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002879/0.2697, allocations: 1.876 MB / 0.9038 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002633/0.27, allocations: 4 kB / 0.9038 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006/0.2706, allocations: 155.2 kB / 0.904 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0008476/0.2715, allocations: 250.1 kB / 0.9042 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009809/0.2725, allocations: 379.3 kB / 0.9046 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000696/0.2732, allocations: 0.4909 MB / 0.9051 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.2733, allocations: 32.41 kB / 0.9051 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000302/0.2736, allocations: 151.4 kB / 0.9052 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000304/0.2739, allocations: 167.4 kB / 0.9054 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.629e-05/0.274, allocations: 4 kB / 0.9054 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005715/0.2746, allocations: 319.5 kB / 0.9057 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001557/0.2747, allocations: 87.77 kB / 0.9058 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.49e-05/0.2748, allocations: 65.58 kB / 0.9059 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006499/0.2755, allocations: 411.3 kB / 0.9063 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.2755, allocations: 0 / 0.9063 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.136e-06/0.2755, allocations: 0 / 0.9063 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.265e-05/0.2755, allocations: 0 / 0.9063 GB, free: 57.72 MB / 0.6042 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.0009578/0.2765, allocations: 0.5604 MB / 0.9068 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.2766, allocations: 8.031 kB / 0.9068 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.987e-05/0.2766, allocations: 42.56 kB / 0.9068 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003266/0.277, allocations: 51.62 kB / 0.9069 GB, free: 57 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004232/0.2774, allocations: 315 kB / 0.9072 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.2774, allocations: 8 kB / 0.9072 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.469e-05/0.2774, allocations: 12 kB / 0.9072 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000345/0.2778, allocations: 153.6 kB / 0.9074 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.2778, allocations: 0 / 0.9074 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.2778, allocations: 0 / 0.9074 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.2779, allocations: 4 kB / 0.9074 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003625/0.2782, allocations: 153.7 kB / 0.9075 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006575/0.2789, allocations: 488.4 kB / 0.908 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003276/0.2792, allocations: 154.4 kB / 0.9081 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/0.2794, allocations: 68.81 kB / 0.9082 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/0.2795, allocations: 4 kB / 0.9082 GB, free: 55.56 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.2795, allocations: 34.56 kB / 0.9082 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.2795, allocations: 0 / 0.9082 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0006474/0.2801, allocations: 253.5 kB / 0.9085 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/0.2802, allocations: 51.41 kB / 0.9085 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002654/0.2804, allocations: 328.5 kB / 0.9088 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.2805, allocations: 29.7 kB / 0.9089 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.099e-05/0.2806, allocations: 163.8 kB / 0.909 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-05/0.2806, allocations: 35.48 kB / 0.9091 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.221e-05/0.2806, allocations: 4 kB / 0.9091 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.164e-05/0.2807, allocations: 338.8 kB / 0.9094 GB, free: 54.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/0.2809, allocations: 75.94 kB / 0.9095 GB, free: 54.22 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002132/0.2811, allocations: 149.1 kB / 0.9096 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001974/0.2813, allocations: 91.95 kB / 0.9097 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2813, allocations: 0 / 0.9097 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004952/0.2818, allocations: 273.1 kB / 0.9099 GB, free: 53.69 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.439e-05/0.2819, allocations: 143.2 kB / 0.9101 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.2819, allocations: 4 kB / 0.9101 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.282, allocations: 7.984 kB / 0.9101 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002493/0.2822, allocations: 51.91 kB / 0.9101 GB, free: 53.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.2822, allocations: 0 / 0.9101 GB, free: 53.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.2824, allocations: 35.69 kB / 0.9102 GB, free: 53.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.109e-05/0.2824, allocations: 12 kB / 0.9102 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.33e-06/0.2825, allocations: 4 kB / 0.9102 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005264/0.283, allocations: 252.4 kB / 0.9104 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.635e-06/0.283, allocations: 0 / 0.9104 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.655e-06/0.283, allocations: 4.219 kB / 0.9104 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001803/0.2832, allocations: 52.28 kB / 0.9105 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.2832, allocations: 4 kB / 0.9105 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001552/0.2834, allocations: 23.83 kB / 0.9105 GB, free: 53.08 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/0.2834, allocations: 15.94 kB / 0.9105 GB, free: 53.07 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001702/0.2836, allocations: 237 kB / 0.9107 GB, free: 52.82 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.713e-05/0.2836, allocations: 31.61 kB / 0.9108 GB, free: 52.79 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004937/0.2841, allocations: 212.2 kB / 0.911 GB, free: 52.58 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.2841, allocations: 0 / 0.911 GB, free: 52.58 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.2842, allocations: 0 / 0.911 GB, free: 52.58 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.2842, allocations: 4 kB / 0.911 GB, free: 52.57 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002347/0.2844, allocations: 273.5 kB / 0.9112 GB, free: 52.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2844, allocations: 0 / 0.9112 GB, free: 52.26 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00014/0.2846, allocations: 35.92 kB / 0.9113 GB, free: 52.22 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.2846, allocations: 0 / 0.9113 GB, free: 52.22 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.2846, allocations: 4 kB / 0.9113 GB, free: 52.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2846, allocations: 4 kB / 0.9113 GB, free: 52.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2846, allocations: 0 / 0.9113 GB, free: 52.21 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003957/0.285, allocations: 291 kB / 0.9116 GB, free: 51.91 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.358e-05/0.2851, allocations: 104.8 kB / 0.9117 GB, free: 51.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.405e-05/0.2851, allocations: 11.95 kB / 0.9117 GB, free: 51.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.2853, allocations: 11.98 kB / 0.9117 GB, free: 51.77 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.786e-05/0.2853, allocations: 7.984 kB / 0.9117 GB, free: 51.76 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.2854, allocations: 4 kB / 0.9117 GB, free: 51.76 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002008/0.2856, allocations: 239 kB / 0.9119 GB, free: 51.52 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2856, allocations: 4 kB / 0.9119 GB, free: 51.52 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005485/0.2861, allocations: 143.9 kB / 0.9121 GB, free: 51.38 MB / 0.6042 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 (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.001049/0.2872, allocations: 0.923 MB / 0.913 GB, free: 50.43 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007259/0.2879, allocations: 315.9 kB / 0.9133 GB, free: 50.12 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.2879, allocations: 0 / 0.9133 GB, free: 50.12 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001749/0.2881, allocations: 67.95 kB / 0.9133 GB, free: 50.05 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005347/0.2887, allocations: 106 kB / 0.9134 GB, free: 49.95 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002597/0.2913, allocations: 1.716 MB / 0.9151 GB, free: 48.16 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001934/0.2915, allocations: 0.7716 MB / 0.9159 GB, free: 47.36 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003152/0.2918, allocations: 74.94 kB / 0.9159 GB, free: 47.29 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.292, allocations: 91.34 kB / 0.916 GB, free: 47.2 MB / 0.6042 GB Notification: Performance of SimCode: time 8.72e-07/0.292, allocations: 4 kB / 0.916 GB, free: 47.19 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02085/0.3128, allocations: 8.968 MB / 0.9248 GB, free: 38.46 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001876/0.3131, allocations: 222.3 kB / 0.925 GB, free: 38.21 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.273/2.586, allocations: 3.938 kB / 0.925 GB, free: 38.21 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)