Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.704/2.704, allocations: 287.5 MB / 302.4 MB, free: 8.273 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.001518/0.001517, allocations: 170 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.215/2.215, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.001024/0.001023, allocations: 106.7 kB / 0.743 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005225/0.0005228, allocations: 15.27 kB / 0.8659 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/0.2379, allocations: 115.3 MB / 0.9785 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.002673/0.2407, allocations: 1.734 MB / 0.9801 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004113/0.2448, allocations: 1.865 MB / 0.982 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003159/0.2452, allocations: 7.938 kB / 0.982 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007682/0.246, allocations: 163.2 kB / 0.9821 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00109/0.2471, allocations: 240.3 kB / 0.9824 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001375/0.2485, allocations: 380.6 kB / 0.9827 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0009684/0.2495, allocations: 0.4908 MB / 0.9832 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.2497, allocations: 36.61 kB / 0.9832 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003349/0.25, allocations: 151.4 kB / 0.9834 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003445/0.2504, allocations: 159.5 kB / 0.9835 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.911e-05/0.2504, allocations: 8 kB / 0.9835 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008716/0.2513, allocations: 319.5 kB / 0.9838 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001398/0.2515, allocations: 87.7 kB / 0.9839 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.043e-05/0.2516, allocations: 73.56 kB / 0.984 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007589/0.2523, allocations: 403 kB / 0.9844 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.2524, allocations: 0 / 0.9844 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.934e-06/0.2524, allocations: 0 / 0.9844 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.042e-06/0.2524, allocations: 0 / 0.9844 GB, free: 22.18 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001095/0.2535, allocations: 0.5644 MB / 0.9849 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.2536, allocations: 12.02 kB / 0.9849 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.856e-05/0.2536, allocations: 38.56 kB / 0.985 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004291/0.2541, allocations: 55.53 kB / 0.985 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005881/0.2547, allocations: 319 kB / 0.9853 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.2547, allocations: 15.98 kB / 0.9854 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.989e-05/0.2548, allocations: 12 kB / 0.9854 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005179/0.2553, allocations: 152.2 kB / 0.9855 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.2553, allocations: 0 / 0.9855 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.577e-05/0.2554, allocations: 4 kB / 0.9855 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.2554, allocations: 4 kB / 0.9855 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005861/0.256, allocations: 139.9 kB / 0.9857 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009947/0.257, allocations: 496.4 kB / 0.9861 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005181/0.2575, allocations: 146.4 kB / 0.9863 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002908/0.2578, allocations: 72.75 kB / 0.9863 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.023e-05/0.2579, allocations: 8 kB / 0.9863 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.2579, allocations: 34.69 kB / 0.9864 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 2.846e-06/0.258, allocations: 0 / 0.9864 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.001077/0.259, allocations: 249.2 kB / 0.9866 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/0.2591, allocations: 51.41 kB / 0.9867 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004587/0.2596, allocations: 332.5 kB / 0.987 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.645e-05/0.2596, allocations: 29.7 kB / 0.987 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.2597, allocations: 156.1 kB / 0.9872 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.477e-05/0.2598, allocations: 31.55 kB / 0.9872 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.907e-05/0.2598, allocations: 0 / 0.9872 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.507e-05/0.2599, allocations: 338.8 kB / 0.9875 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003506/0.2603, allocations: 83.94 kB / 0.9876 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000361/0.2607, allocations: 137.3 kB / 0.9877 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003864/0.2611, allocations: 95.89 kB / 0.9878 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.2611, allocations: 0 / 0.9878 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0009212/0.262, allocations: 274.2 kB / 0.9881 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.094e-05/0.2621, allocations: 143.2 kB / 0.9882 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.2622, allocations: 8 kB / 0.9882 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.533e-05/0.2622, allocations: 4 kB / 0.9882 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004027/0.2626, allocations: 43.97 kB / 0.9883 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.2626, allocations: 0 / 0.9883 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000323/0.263, allocations: 35.72 kB / 0.9883 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.805e-05/0.263, allocations: 12 kB / 0.9883 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.263, allocations: 4 kB / 0.9883 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008545/0.2639, allocations: 260.6 kB / 0.9886 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.2639, allocations: 8 kB / 0.9886 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.105e-06/0.264, allocations: 0 / 0.9886 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003491/0.2643, allocations: 47.91 kB / 0.9886 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.954e-06/0.2643, allocations: 4 kB / 0.9886 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003019/0.2646, allocations: 23.83 kB / 0.9886 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.774e-05/0.2647, allocations: 12 kB / 0.9887 GB, free: 17.53 MB / 0.6198 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.0002548/0.265, allocations: 237.4 kB / 0.9889 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.812e-05/0.265, allocations: 27.58 kB / 0.9889 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000819/0.2659, allocations: 220.2 kB / 0.9891 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.2659, allocations: 0 / 0.9891 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.2659, allocations: 0 / 0.9891 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.2659, allocations: 4 kB / 0.9891 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003873/0.2663, allocations: 269.4 kB / 0.9894 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.2663, allocations: 0 / 0.9894 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002626/0.2666, allocations: 35.92 kB / 0.9894 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.2666, allocations: 4 kB / 0.9894 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.91e-05/0.2667, allocations: 4 kB / 0.9894 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.2667, allocations: 0 / 0.9894 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.2667, allocations: 4 kB / 0.9894 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006979/0.2674, allocations: 283.1 kB / 0.9897 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.2675, allocations: 116.7 kB / 0.9898 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.151e-05/0.2676, allocations: 3.953 kB / 0.9898 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002489/0.2678, allocations: 15.98 kB / 0.9898 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.225e-05/0.2679, allocations: 15.92 kB / 0.9898 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.18e-05/0.268, allocations: 8 kB / 0.9898 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003279/0.2683, allocations: 239 kB / 0.9901 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.483e-06/0.2683, allocations: 0 / 0.9901 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008465/0.2692, allocations: 147.9 kB / 0.9902 GB, free: 15.83 MB / 0.6198 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.001465/0.2706, allocations: 0.9113 MB / 0.9911 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001227/0.2719, allocations: 308.1 kB / 0.9914 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.272, allocations: 0 / 0.9914 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003131/0.2723, allocations: 76.33 kB / 0.9915 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008782/0.2732, allocations: 101.5 kB / 0.9916 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004182/0.2774, allocations: 1.724 MB / 0.9933 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.2777, allocations: 0.7716 MB / 0.994 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0005267/0.2782, allocations: 78.94 kB / 0.9941 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002153/0.2785, allocations: 87.39 kB / 0.9942 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of SimCode: time 1.182e-06/0.2785, allocations: 0 / 0.9942 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03863/0.3171, allocations: 8.974 MB / 1.003 GB, free: 2.926 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002267/0.3174, allocations: 203.9 kB / 1.003 GB, free: 2.688 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.024/3.341, allocations: 0 / 1.003 GB, free: 2.688 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.fmu > Buildings_8.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)