Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.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.FlowMachineInterface,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.683/1.683, allocations: 288.4 MB / 303.6 MB, free: 8.137 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.001069/0.00107, allocations: 185.9 kB / 372.3 MB, free: 10.11 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.403/1.403, allocations: 205.4 MB / 0.631 GB, free: 9.875 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.0007574/0.0007576, allocations: 102.3 kB / 0.7444 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003922/0.0003922, allocations: 12.41 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.2076, allocations: 115.3 MB / 0.9802 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.002146/0.2098, allocations: 1.734 MB / 0.9819 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002743/0.2125, allocations: 1.869 MB / 0.9837 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002424/0.2128, allocations: 11.94 kB / 0.9837 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006705/0.2135, allocations: 227.1 kB / 0.9839 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007603/0.2143, allocations: 253.2 kB / 0.9842 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009332/0.2152, allocations: 403.2 kB / 0.9846 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000614/0.2159, allocations: 494.7 kB / 0.985 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.216, allocations: 40.55 kB / 0.9851 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002352/0.2163, allocations: 147.5 kB / 0.9852 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002632/0.2165, allocations: 171.4 kB / 0.9854 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.388e-05/0.2166, allocations: 4 kB / 0.9854 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006084/0.2172, allocations: 411.3 kB / 0.9858 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.518e-05/0.2173, allocations: 87.75 kB / 0.9859 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.18e-05/0.2174, allocations: 121.1 kB / 0.986 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004611/0.2179, allocations: 403.1 kB / 0.9864 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.2179, allocations: 3.984 kB / 0.9864 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2179, allocations: 4 kB / 0.9864 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.276e-06/0.2179, allocations: 0 / 0.9864 GB, free: 20.87 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.0007879/0.2187, allocations: 0.5528 MB / 0.9869 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.2187, allocations: 12.03 kB / 0.9869 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.073e-05/0.2188, allocations: 38.75 kB / 0.987 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002942/0.2191, allocations: 56.52 kB / 0.987 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004036/0.2195, allocations: 328.3 kB / 0.9873 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.2195, allocations: 8.375 kB / 0.9873 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.092e-05/0.2196, allocations: 12.36 kB / 0.9873 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003457/0.2199, allocations: 165.4 kB / 0.9875 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.2199, allocations: 0 / 0.9875 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/0.22, allocations: 4 kB / 0.9875 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.22, allocations: 0 / 0.9875 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003735/0.2204, allocations: 139.9 kB / 0.9876 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006301/0.221, allocations: 492.2 kB / 0.9881 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003252/0.2213, allocations: 142.5 kB / 0.9882 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001723/0.2215, allocations: 64.81 kB / 0.9883 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.934e-05/0.2216, allocations: 3.984 kB / 0.9883 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.2216, allocations: 42.69 kB / 0.9884 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.512e-06/0.2216, allocations: 0 / 0.9884 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0006621/0.2223, allocations: 257.2 kB / 0.9886 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.2223, allocations: 55.34 kB / 0.9887 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002779/0.2226, allocations: 328.5 kB / 0.989 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.2226, allocations: 29.7 kB / 0.989 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.323e-05/0.2227, allocations: 159.7 kB / 0.9891 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/0.2227, allocations: 31.55 kB / 0.9892 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.288e-05/0.2228, allocations: 4 kB / 0.9892 GB, free: 17.78 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.319e-05/0.2228, allocations: 342.8 kB / 0.9895 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000203/0.223, allocations: 79.94 kB / 0.9896 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/0.2233, allocations: 135.8 kB / 0.9897 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000409/0.2237, allocations: 219.9 kB / 0.9899 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.2237, allocations: 4 kB / 0.9899 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005232/0.2242, allocations: 275.4 kB / 0.9902 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.232e-05/0.2243, allocations: 142.9 kB / 0.9903 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.2244, allocations: 4 kB / 0.9903 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.2244, allocations: 7.938 kB / 0.9903 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002403/0.2246, allocations: 55.91 kB / 0.9904 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.2246, allocations: 0 / 0.9904 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002047/0.2249, allocations: 27.73 kB / 0.9904 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.072e-05/0.2249, allocations: 20 kB / 0.9904 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.436e-06/0.2249, allocations: 5.562 kB / 0.9904 GB, free: 16.4 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000498/0.2254, allocations: 251.9 kB / 0.9907 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.2254, allocations: 0 / 0.9907 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.015e-06/0.2254, allocations: 4 kB / 0.9907 GB, free: 16.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001877/0.2256, allocations: 47.97 kB / 0.9907 GB, free: 16.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.536e-06/0.2256, allocations: 3.938 kB / 0.9907 GB, free: 16.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001617/0.2258, allocations: 23.83 kB / 0.9908 GB, free: 16.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.277e-05/0.2258, allocations: 20 kB / 0.9908 GB, free: 16.06 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.0001313/0.226, allocations: 229 kB / 0.991 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.349e-05/0.226, allocations: 19.72 kB / 0.991 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004949/0.2265, allocations: 216.6 kB / 0.9912 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.2266, allocations: 0 / 0.9912 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2266, allocations: 96 / 0.9912 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2266, allocations: 7.875 kB / 0.9912 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002274/0.2268, allocations: 281.3 kB / 0.9915 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2268, allocations: 0 / 0.9915 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/0.227, allocations: 43.91 kB / 0.9915 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.227, allocations: 0 / 0.9915 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.227, allocations: 0 / 0.9915 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.227, allocations: 0 / 0.9915 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.227, allocations: 0 / 0.9915 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000418/0.2274, allocations: 295 kB / 0.9918 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.918e-05/0.2275, allocations: 112.8 kB / 0.9919 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.419e-05/0.2275, allocations: 0 / 0.9919 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.2277, allocations: 11.98 kB / 0.9919 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.664e-05/0.2278, allocations: 15.98 kB / 0.992 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.2278, allocations: 7.938 kB / 0.992 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001838/0.228, allocations: 235 kB / 0.9922 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.61e-07/0.228, allocations: 4 kB / 0.9922 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005351/0.2285, allocations: 136 kB / 0.9923 GB, free: 14.38 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.0009547/0.2295, allocations: 0.9267 MB / 0.9932 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007008/0.2302, allocations: 307.8 kB / 0.9935 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.2302, allocations: 3.938 kB / 0.9935 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001764/0.2304, allocations: 76.83 kB / 0.9936 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005156/0.2309, allocations: 98.05 kB / 0.9937 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002485/0.2334, allocations: 1.722 MB / 0.9954 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001843/0.2336, allocations: 0.7755 MB / 0.9961 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002833/0.2339, allocations: 79.06 kB / 0.9962 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.2341, allocations: 83.41 kB / 0.9963 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of SimCode: time 2.6e-07/0.2341, allocations: 4 kB / 0.9963 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0281/0.2622, allocations: 9.026 MB / 1.005 GB, free: 1.391 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001896/0.2624, allocations: 216.5 kB / 1.005 GB, free: 1.148 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.211/2.473, allocations: 6.531 kB / 1.005 GB, free: 1.145 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)