Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",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.731/1.731, allocations: 288.2 MB / 303.2 MB, free: 8.082 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.001089/0.00109, allocations: 190 kB / 371.8 MB, free: 10.28 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.627/1.627, allocations: 205.4 MB / 0.6305 GB, free: 9.996 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.0008897/0.0008899, allocations: 98.86 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003682/0.0003685, allocations: 15.47 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1909/0.1913, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001275/0.1926, allocations: 0.9979 MB / 0.9804 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006097/0.1932, allocations: 0.5154 MB / 0.981 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.798e-05/0.1932, allocations: 7.938 kB / 0.981 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.097e-05/0.1933, allocations: 0 / 0.981 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.986e-05/0.1933, allocations: 7.984 kB / 0.981 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000359/0.1937, allocations: 125.7 kB / 0.9811 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.521e-05/0.1937, allocations: 7.984 kB / 0.9811 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.918e-05/0.1938, allocations: 4 kB / 0.9811 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.924e-05/0.1938, allocations: 11.94 kB / 0.9811 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.879e-05/0.1939, allocations: 11.92 kB / 0.9811 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.1939, allocations: 4 kB / 0.9811 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003804/0.1943, allocations: 355.5 kB / 0.9815 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.909e-06/0.1943, allocations: 11.92 kB / 0.9815 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.434e-05/0.1943, allocations: 29.64 kB / 0.9815 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001633/0.1945, allocations: 96.12 kB / 0.9816 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1945, allocations: 0 / 0.9816 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.645e-06/0.1945, allocations: 0 / 0.9816 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.1945, allocations: 0 / 0.9816 GB, free: 25.43 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003673/0.1949, allocations: 364.2 kB / 0.9819 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.1949, allocations: 12.03 kB / 0.982 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.381e-05/0.195, allocations: 30.56 kB / 0.982 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.043e-05/0.195, allocations: 4 kB / 0.982 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.415e-05/0.1951, allocations: 163 kB / 0.9821 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.016e-06/0.1951, allocations: 0 / 0.9821 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.1951, allocations: 4 kB / 0.9821 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.089e-05/0.1952, allocations: 41.69 kB / 0.9822 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.1952, allocations: 0 / 0.9822 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.1953, allocations: 11.94 kB / 0.9822 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1953, allocations: 0 / 0.9822 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.943e-05/0.1953, allocations: 15.98 kB / 0.9822 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002661/0.1956, allocations: 256.9 kB / 0.9825 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001755/0.1958, allocations: 46.62 kB / 0.9825 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.1958, allocations: 0 / 0.9825 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.218e-05/0.1958, allocations: 34.5 kB / 0.9825 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.1958, allocations: 4 kB / 0.9825 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0001436/0.196, allocations: 57.78 kB / 0.9826 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.838e-05/0.196, allocations: 55.34 kB / 0.9826 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.519e-05/0.196, allocations: 102 kB / 0.9827 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.072e-06/0.1961, allocations: 25.7 kB / 0.9828 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.736e-05/0.1961, allocations: 87.98 kB / 0.9829 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.108e-05/0.1961, allocations: 15.81 kB / 0.9829 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-06/0.1961, allocations: 0 / 0.9829 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.689e-05/0.1962, allocations: 322.8 kB / 0.9832 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.68e-05/0.1962, allocations: 8 kB / 0.9832 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.325e-05/0.1962, allocations: 25.66 kB / 0.9832 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.175e-05/0.1962, allocations: 4 kB / 0.9832 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1963, allocations: 0 / 0.9832 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.099e-05/0.1963, allocations: 53.69 kB / 0.9833 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.1964, allocations: 8 kB / 0.9833 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.1964, allocations: 3.984 kB / 0.9833 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.1964, allocations: 7.969 kB / 0.9833 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.529e-05/0.1964, allocations: 11.94 kB / 0.9833 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.1964, allocations: 0 / 0.9833 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.329e-05/0.1965, allocations: 0 / 0.9833 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.1965, allocations: 4 kB / 0.9833 GB, free: 23.45 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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 prepare postOptimizeDAE: time 5.033e-05/0.1965, allocations: 113.8 kB / 0.9834 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.361e-05/0.1966, allocations: 4 kB / 0.9834 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001183/0.1967, allocations: 65.08 kB / 0.9835 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.1967, allocations: 4 kB / 0.9835 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1967, allocations: 0 / 0.9835 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.1967, allocations: 0 / 0.9835 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.1968, allocations: 165.5 kB / 0.9836 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1969, allocations: 0 / 0.9836 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.264e-05/0.1969, allocations: 8 kB / 0.9836 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1969, allocations: 0 / 0.9836 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.1969, allocations: 0 / 0.9836 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1969, allocations: 0 / 0.9836 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1969, allocations: 0 / 0.9836 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.362e-05/0.197, allocations: 155.5 kB / 0.9838 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.623e-05/0.197, allocations: 77.11 kB / 0.9839 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.075e-05/0.197, allocations: 4 kB / 0.9839 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.824e-05/0.1971, allocations: 4.125 kB / 0.9839 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.47e-05/0.1971, allocations: 3.938 kB / 0.9839 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.1971, allocations: 4 kB / 0.9839 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.631e-05/0.1972, allocations: 79.28 kB / 0.984 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.11e-07/0.1972, allocations: 0 / 0.984 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002286/0.1974, allocations: 31.92 kB / 0.984 GB, free: 22.65 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 (4): * Single equations (assignments): 4 * 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.0003176/0.1977, allocations: 0.6972 MB / 0.9847 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.611e-05/0.1978, allocations: 27.92 kB / 0.9847 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1978, allocations: 0 / 0.9847 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.423e-05/0.1978, allocations: 12.2 kB / 0.9847 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001261/0.198, allocations: 5.688 kB / 0.9847 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003548/0.1983, allocations: 166.3 kB / 0.9849 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.1984, allocations: 0.6848 MB / 0.9855 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.356e-05/0.1985, allocations: 4 kB / 0.9855 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.467e-05/0.1985, allocations: 11.44 kB / 0.9855 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of SimCode: time 2.41e-07/0.1985, allocations: 0 / 0.9855 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01068/0.2092, allocations: 1.186 MB / 0.9867 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00014/0.2094, allocations: 217.3 kB / 0.9869 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.462/1.671, allocations: 0.625 kB / 0.9869 GB, free: 19.7 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)