Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001753/0.001753, allocations: 112.3 kB / 17.33 MB, free: 5.043 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.001779/0.001779, allocations: 201.9 kB / 18.33 MB, free: 4.055 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.452/1.452, allocations: 225.6 MB / 244.8 MB, free: 13.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8635/0.8635, allocations: 128.4 MB / 426.1 MB, free: 7.18 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 64.44 kB / 0.5912 GB, free: 21.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.1862, allocations: 83.26 MB / 0.6725 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.00261/0.1888, allocations: 1.247 MB / 0.6737 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001197/0.19, allocations: 0.5905 MB / 0.6743 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.207e-05/0.19, allocations: 4 kB / 0.6743 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.917e-05/0.19, allocations: 4 kB / 0.6743 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.403e-05/0.1901, allocations: 0 / 0.6743 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000512/0.1906, allocations: 135.4 kB / 0.6744 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.581e-05/0.1906, allocations: 11.92 kB / 0.6744 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.028e-05/0.1907, allocations: 0 / 0.6744 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.177e-05/0.1907, allocations: 4 kB / 0.6744 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.517e-05/0.1908, allocations: 7.922 kB / 0.6744 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.1908, allocations: 0 / 0.6744 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005577/0.1913, allocations: 351.3 kB / 0.6748 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.114e-05/0.1914, allocations: 0 / 0.6748 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.106e-05/0.1914, allocations: 4 kB / 0.6748 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002601/0.1916, allocations: 143.5 kB / 0.6749 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1916, allocations: 0 / 0.6749 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.834e-06/0.1916, allocations: 0 / 0.6749 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.1916, allocations: 0 / 0.6749 GB, free: 1.371 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004955/0.1921, allocations: 347.2 kB / 0.6752 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.1922, allocations: 12.62 kB / 0.6752 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.761e-05/0.1922, allocations: 12.89 kB / 0.6752 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.1924, allocations: 164.3 kB / 0.6754 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.855e-06/0.1924, allocations: 384 / 0.6754 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.1924, allocations: 384 / 0.6754 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.1925, allocations: 49.55 kB / 0.6755 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.1925, allocations: 0 / 0.6755 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.1925, allocations: 3.938 kB / 0.6755 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.1925, allocations: 4 kB / 0.6755 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.456e-05/0.1925, allocations: 0 / 0.6755 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001928/0.1927, allocations: 157.7 kB / 0.6756 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.01e-05/0.1928, allocations: 22.55 kB / 0.6756 GB, free: 476 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.208e-05/0.1928, allocations: 8.922 kB / 0.6756 GB, free: 464 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.1928, allocations: 7.938 kB / 0.6756 GB, free: 456 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.1929, allocations: 30.56 kB / 0.6757 GB, free: 416 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1929, allocations: 0 / 0.6757 GB, free: 416 kB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001665/0.193, allocations: 49.62 kB / 0.6757 GB, free: 360 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.1931, allocations: 51.41 kB / 0.6758 GB, free: 296 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.977e-05/0.1931, allocations: 93.86 kB / 0.6759 GB, free: 192 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.1932, allocations: 25.7 kB / 0.6759 GB, free: 160 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.577e-05/0.1932, allocations: 84.14 kB / 0.676 GB, free: 72 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/0.1932, allocations: 3.953 kB / 0.676 GB, free: 68 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.459e-05/0.1933, allocations: 21.7 kB / 0.676 GB, free: 40 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002913/0.1936, allocations: 311.1 kB / 0.6763 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.215e-05/0.1936, allocations: 4 kB / 0.6763 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.056e-05/0.1936, allocations: 4 kB / 0.6763 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.1937, allocations: 16.8 kB / 0.6763 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1937, allocations: 0 / 0.6763 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.613e-05/0.1938, allocations: 41.62 kB / 0.6764 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.1938, allocations: 8 kB / 0.6764 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.1938, allocations: 0 / 0.6764 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.1939, allocations: 0 / 0.6764 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.194, allocations: 12.09 kB / 0.6764 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004368/0.1944, allocations: 0.586 MB / 0.6769 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.129e-05/0.1945, allocations: 4 kB / 0.6769 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.1945, allocations: 0 / 0.6769 GB, free: 15.02 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.189e-05/0.1946, allocations: 113.8 kB / 0.6771 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.448e-06/0.1946, allocations: 4.047 kB / 0.6771 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/0.1947, allocations: 48.81 kB / 0.6771 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1947, allocations: 0 / 0.6771 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1947, allocations: 0 / 0.6771 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.1947, allocations: 0 / 0.6771 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.1948, allocations: 161.6 kB / 0.6773 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.1948, allocations: 0 / 0.6773 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.659e-05/0.1949, allocations: 8 kB / 0.6773 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1949, allocations: 0 / 0.6773 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.1949, allocations: 0 / 0.6773 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005616/0.1955, allocations: 0.6014 MB / 0.6779 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1955, allocations: 4 kB / 0.6779 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.418e-05/0.1956, allocations: 61.17 kB / 0.6779 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.769e-05/0.1956, allocations: 77.11 kB / 0.678 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.1956, allocations: 7.922 kB / 0.678 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.396e-05/0.1957, allocations: 4.125 kB / 0.678 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.724e-05/0.1957, allocations: 4 kB / 0.678 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.1957, allocations: 3.938 kB / 0.678 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.706e-05/0.1957, allocations: 75.28 kB / 0.6781 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6e-08/0.1957, allocations: 0 / 0.6781 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001975/0.1959, allocations: 11.94 kB / 0.6781 GB, free: 13.72 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001905/0.1961, allocations: 117 kB / 0.6782 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001673/0.1963, allocations: 20.08 kB / 0.6782 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1963, allocations: 0 / 0.6782 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.578e-05/0.1964, allocations: 15.98 kB / 0.6782 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001438/0.1965, allocations: 0 / 0.6782 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003813/0.1969, allocations: 113.1 kB / 0.6783 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/0.1972, allocations: 0.673 MB / 0.679 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.649e-05/0.1972, allocations: 4 kB / 0.679 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.923e-05/0.1972, allocations: 11.44 kB / 0.679 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of SimCode: time 2.81e-07/0.1972, allocations: 0 / 0.679 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of Templates: time 0.002963/0.2002, allocations: 457.3 kB / 0.6795 GB, free: 12.28 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 480]