Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 112.6 kB / 17.33 MB, free: 5.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001769/0.001769, allocations: 201.8 kB / 18.33 MB, free: 4.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.54/1.54, allocations: 225.6 MB / 244.8 MB, free: 13.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9116/0.9116, allocations: 128.4 MB / 426.1 MB, free: 7.18 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 65.28 kB / 0.5912 GB, free: 21.42 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.1858, allocations: 83.26 MB / 0.6725 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002494/0.1883, allocations: 1.269 MB / 0.6737 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001061/0.1893, allocations: 0.6035 MB / 0.6743 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.555e-05/0.1893, allocations: 0 / 0.6743 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.293e-05/0.1894, allocations: 0 / 0.6743 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.598e-05/0.1894, allocations: 7.922 kB / 0.6743 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005205/0.1899, allocations: 143.4 kB / 0.6744 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.371e-05/0.19, allocations: 19.94 kB / 0.6745 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.89e-05/0.19, allocations: 3.984 kB / 0.6745 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.069e-05/0.1901, allocations: 4 kB / 0.6745 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.465e-05/0.1901, allocations: 15.92 kB / 0.6745 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.1901, allocations: 0 / 0.6745 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00054/0.1907, allocations: 343.3 kB / 0.6748 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.233e-05/0.1907, allocations: 3.984 kB / 0.6748 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.711e-05/0.1907, allocations: 11.92 kB / 0.6748 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002608/0.191, allocations: 147.5 kB / 0.675 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.191, allocations: 4 kB / 0.675 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.453e-06/0.191, allocations: 0 / 0.675 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.191, allocations: 0 / 0.675 GB, free: 1.297 MB / 0.4981 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.0005089/0.1915, allocations: 359.1 kB / 0.6753 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.1915, allocations: 8.031 kB / 0.6753 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.455e-05/0.1916, allocations: 8.891 kB / 0.6753 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.1917, allocations: 164.4 kB / 0.6755 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.1917, allocations: 384 / 0.6755 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.1918, allocations: 4.375 kB / 0.6755 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.1919, allocations: 53.62 kB / 0.6755 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.1919, allocations: 3.984 kB / 0.6755 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.1919, allocations: 0 / 0.6755 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.1919, allocations: 0 / 0.6755 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.294e-05/0.192, allocations: 19.92 kB / 0.6756 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004228/0.1924, allocations: 256.8 kB / 0.6758 GB, free: 304 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/0.1926, allocations: 50.69 kB / 0.6759 GB, free: 244 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.192e-05/0.1926, allocations: 12.86 kB / 0.6759 GB, free: 228 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.901e-05/0.1927, allocations: 7.984 kB / 0.6759 GB, free: 220 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.1927, allocations: 30.56 kB / 0.6759 GB, free: 180 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1927, allocations: 0 / 0.6759 GB, free: 180 kB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001827/0.1929, allocations: 61.58 kB / 0.676 GB, free: 112 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.437e-05/0.1929, allocations: 55.41 kB / 0.676 GB, free: 44 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.951e-05/0.193, allocations: 97.86 kB / 0.6761 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.1931, allocations: 25.7 kB / 0.6761 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.217e-05/0.1931, allocations: 84.14 kB / 0.6762 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.787e-05/0.1931, allocations: 15.88 kB / 0.6762 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.403e-05/0.1932, allocations: 17.72 kB / 0.6762 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.1933, allocations: 322.7 kB / 0.6766 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.62e-05/0.1933, allocations: 11.98 kB / 0.6766 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.068e-05/0.1934, allocations: 13.72 kB / 0.6766 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.685e-05/0.1934, allocations: 37.66 kB / 0.6766 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1934, allocations: 0 / 0.6766 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001046/0.1935, allocations: 61.62 kB / 0.6767 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.1935, allocations: 4 kB / 0.6767 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.1935, allocations: 0 / 0.6767 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.1936, allocations: 3.984 kB / 0.6767 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.721e-05/0.1936, allocations: 8 kB / 0.6767 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.1936, allocations: 3.984 kB / 0.6767 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.843e-05/0.1936, allocations: 11.98 kB / 0.6767 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.1937, allocations: 0 / 0.6767 GB, free: 15.29 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.3e-05/0.1937, allocations: 121.7 kB / 0.6768 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.15e-05/0.1938, allocations: 0 / 0.6768 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001521/0.1939, allocations: 65.53 kB / 0.6769 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1939, allocations: 0 / 0.6769 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.1939, allocations: 0 / 0.6769 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.1939, allocations: 4.031 kB / 0.6769 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001762/0.1941, allocations: 165.6 kB / 0.677 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1941, allocations: 0 / 0.677 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.624e-05/0.1941, allocations: 4 kB / 0.6771 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1941, allocations: 0 / 0.6771 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.231e-06/0.1941, allocations: 3.938 kB / 0.6771 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.1941, allocations: 8.125 kB / 0.6771 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1941, allocations: 0 / 0.6771 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001313/0.1943, allocations: 151.4 kB / 0.6772 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.892e-05/0.1943, allocations: 85.05 kB / 0.6773 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.1943, allocations: 4 kB / 0.6773 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.139e-05/0.1944, allocations: 0 / 0.6773 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.673e-05/0.1944, allocations: 4 kB / 0.6773 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.716e-06/0.1944, allocations: 0 / 0.6773 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.207e-05/0.1945, allocations: 83.28 kB / 0.6774 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.1945, allocations: 0 / 0.6774 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002383/0.1947, allocations: 19.92 kB / 0.6774 GB, free: 14.48 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001916/0.1949, allocations: 119.1 kB / 0.6775 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001029/0.195, allocations: 27.92 kB / 0.6775 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.195, allocations: 0 / 0.6775 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.275e-05/0.195, allocations: 15.94 kB / 0.6775 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.1952, allocations: 0 / 0.6775 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003098/0.1955, allocations: 125.2 kB / 0.6777 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000306/0.1958, allocations: 0.6806 MB / 0.6783 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.063e-05/0.1959, allocations: 8.062 kB / 0.6783 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.933e-05/0.1959, allocations: 7.438 kB / 0.6783 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of SimCode: time 2.9e-07/0.1959, allocations: 4 kB / 0.6784 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of Templates: time 0.00296/0.1989, allocations: 0.5085 MB / 0.6788 GB, free: 12.93 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 480]