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.853/2.853, allocations: 287.3 MB / 302.3 MB, free: 8.281 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.001779/0.001779, allocations: 185.5 kB / 370.8 MB, free: 10.85 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.342/2.342, allocations: 205.4 MB / 0.6295 GB, free: 10.58 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.00111/0.00111, allocations: 99.66 kB / 0.7428 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005064/0.0005068, allocations: 17.27 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2203, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.002489/0.2229, allocations: 1.711 MB / 0.98 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003669/0.2266, allocations: 1.85 MB / 0.9818 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001999/0.2268, allocations: 0 / 0.9818 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006661/0.2275, allocations: 163.3 kB / 0.9819 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0009161/0.2284, allocations: 229.7 kB / 0.9821 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001172/0.2296, allocations: 375.3 kB / 0.9825 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006399/0.2303, allocations: 283.5 kB / 0.9828 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.2304, allocations: 28.67 kB / 0.9828 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002344/0.2307, allocations: 127.5 kB / 0.9829 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000241/0.2309, allocations: 123.6 kB / 0.983 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.423e-05/0.231, allocations: 12 kB / 0.983 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007397/0.2317, allocations: 299.6 kB / 0.9833 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.2319, allocations: 87.75 kB / 0.9834 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.879e-05/0.2319, allocations: 69.58 kB / 0.9835 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006284/0.2326, allocations: 403 kB / 0.9839 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.746e-06/0.2326, allocations: 0 / 0.9839 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2326, allocations: 0 / 0.9839 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.2326, allocations: 0 / 0.9839 GB, free: 22.55 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.0009961/0.2336, allocations: 0.5661 MB / 0.9844 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.2337, allocations: 20 kB / 0.9844 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.38e-05/0.2337, allocations: 38.56 kB / 0.9845 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004065/0.2342, allocations: 51.55 kB / 0.9845 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005311/0.2347, allocations: 323 kB / 0.9848 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.2347, allocations: 8 kB / 0.9848 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.651e-05/0.2348, allocations: 12 kB / 0.9849 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005005/0.2353, allocations: 153.5 kB / 0.985 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.2353, allocations: 0 / 0.985 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.292e-05/0.2354, allocations: 4 kB / 0.985 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.2354, allocations: 4 kB / 0.985 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006265/0.236, allocations: 139.9 kB / 0.9851 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009217/0.237, allocations: 0.4964 MB / 0.9856 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005147/0.2375, allocations: 134.5 kB / 0.9858 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.374e-05/0.2375, allocations: 3.984 kB / 0.9858 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.2376, allocations: 34.56 kB / 0.9858 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.874e-06/0.2376, allocations: 0 / 0.9858 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.001059/0.2386, allocations: 245.4 kB / 0.986 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.2387, allocations: 51.41 kB / 0.9861 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004174/0.2391, allocations: 340.4 kB / 0.9864 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.2392, allocations: 25.7 kB / 0.9864 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.2393, allocations: 148.1 kB / 0.9866 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.136e-05/0.2393, allocations: 39.47 kB / 0.9866 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.921e-05/0.2394, allocations: 7.938 kB / 0.9866 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.757e-05/0.2394, allocations: 338.8 kB / 0.9869 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003612/0.2398, allocations: 83.94 kB / 0.987 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003612/0.2402, allocations: 134.8 kB / 0.9871 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003499/0.2406, allocations: 93.08 kB / 0.9872 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.676e-06/0.2406, allocations: 384 / 0.9872 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008812/0.2415, allocations: 281 kB / 0.9875 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001508/0.2416, allocations: 0.7033 MB / 0.9882 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.2417, allocations: 0 / 0.9882 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.2417, allocations: 7.938 kB / 0.9882 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003993/0.2421, allocations: 51.86 kB / 0.9882 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/0.2421, allocations: 4 kB / 0.9882 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002862/0.2424, allocations: 35.75 kB / 0.9883 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-05/0.2425, allocations: 19.98 kB / 0.9883 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.318e-06/0.2425, allocations: 6.031 kB / 0.9883 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008237/0.2433, allocations: 240.5 kB / 0.9885 GB, free: 17.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.2433, allocations: 4 kB / 0.9885 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.11e-06/0.2434, allocations: 4 kB / 0.9885 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003603/0.2437, allocations: 47.91 kB / 0.9886 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.994e-06/0.2438, allocations: 11.97 kB / 0.9886 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002582/0.244, allocations: 23.84 kB / 0.9886 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.29e-05/0.2441, allocations: 11.98 kB / 0.9886 GB, free: 17.37 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.000192/0.2443, allocations: 236.9 kB / 0.9889 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.055e-05/0.2443, allocations: 35.61 kB / 0.9889 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007841/0.2451, allocations: 208.2 kB / 0.9891 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.2452, allocations: 0 / 0.9891 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.2452, allocations: 0 / 0.9891 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.2452, allocations: 0 / 0.9891 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003421/0.2455, allocations: 285.4 kB / 0.9894 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.2455, allocations: 4 kB / 0.9894 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002556/0.2458, allocations: 23.98 kB / 0.9894 GB, free: 16.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.2458, allocations: 0 / 0.9894 GB, free: 16.53 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.2459, allocations: 8 kB / 0.9894 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.2459, allocations: 0 / 0.9894 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.2459, allocations: 0 / 0.9894 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006698/0.2466, allocations: 291.1 kB / 0.9897 GB, free: 16.22 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.2467, allocations: 116.6 kB / 0.9898 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.113e-05/0.2467, allocations: 8 kB / 0.9898 GB, free: 16.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002653/0.247, allocations: 15.98 kB / 0.9898 GB, free: 16.06 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.794e-05/0.2471, allocations: 7.984 kB / 0.9898 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.2471, allocations: 0 / 0.9898 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002949/0.2474, allocations: 239 kB / 0.99 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2474, allocations: 0 / 0.99 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008261/0.2483, allocations: 140 kB / 0.9902 GB, free: 15.68 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.001382/0.2497, allocations: 0.9267 MB / 0.9911 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001159/0.2508, allocations: 307.5 kB / 0.9914 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.2509, allocations: 0.875 kB / 0.9914 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003084/0.2512, allocations: 79.89 kB / 0.9915 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007073/0.2519, allocations: 95.42 kB / 0.9915 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001685/0.2536, allocations: 1.919 MB / 0.9934 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/0.2539, allocations: 0.7755 MB / 0.9942 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0005/0.2544, allocations: 82.88 kB / 0.9943 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002145/0.2546, allocations: 83.41 kB / 0.9943 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of SimCode: time 1.002e-06/0.2546, allocations: 0 / 0.9943 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03912/0.2938, allocations: 8.795 MB / 1.003 GB, free: 2.738 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002447/0.2941, allocations: 194.3 kB / 1.003 GB, free: 2.504 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.121/3.416, allocations: 4 kB / 1.003 GB, free: 2.5 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)