Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 111.8 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.001243/0.001243, allocations: 202.6 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.424/1.424, allocations: 225.6 MB / 244.8 MB, free: 13.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8522/0.8522, allocations: 128.4 MB / 426.1 MB, free: 7.211 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002585/0.002585, allocations: 66.52 kB / 0.5912 GB, free: 21.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.2349, allocations: 83.25 MB / 0.6725 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.003051/0.238, allocations: 1.254 MB / 0.6737 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001348/0.2393, allocations: 0.5983 MB / 0.6743 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.536e-05/0.2394, allocations: 0 / 0.6743 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.28e-05/0.2394, allocations: 0 / 0.6743 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.504e-05/0.2395, allocations: 3.938 kB / 0.6743 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006289/0.2401, allocations: 135.4 kB / 0.6744 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.977e-05/0.2402, allocations: 4 kB / 0.6744 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.552e-05/0.2402, allocations: 3.984 kB / 0.6744 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.876e-05/0.2403, allocations: 11.98 kB / 0.6744 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.841e-05/0.2403, allocations: 11.94 kB / 0.6744 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.2403, allocations: 0 / 0.6744 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006252/0.241, allocations: 339.3 kB / 0.6748 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.376e-05/0.241, allocations: 3.984 kB / 0.6748 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.374e-05/0.241, allocations: 4 kB / 0.6748 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002729/0.2413, allocations: 143.5 kB / 0.6749 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2413, allocations: 0 / 0.6749 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2413, allocations: 0 / 0.6749 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.503e-06/0.2413, allocations: 4 kB / 0.6749 GB, free: 1.387 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.0005149/0.2418, allocations: 355.2 kB / 0.6752 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.2418, allocations: 8.625 kB / 0.6752 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.327e-05/0.2419, allocations: 4.891 kB / 0.6753 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.242, allocations: 164.3 kB / 0.6754 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.242, allocations: 4.375 kB / 0.6754 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.2421, allocations: 4.312 kB / 0.6754 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.2422, allocations: 33.64 kB / 0.6754 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.2422, allocations: 0 / 0.6754 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.218e-06/0.2422, allocations: 0 / 0.6754 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.2422, allocations: 3.984 kB / 0.6755 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.736e-05/0.2422, allocations: 8 kB / 0.6755 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002053/0.2424, allocations: 145.7 kB / 0.6756 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.271e-05/0.2425, allocations: 34.53 kB / 0.6756 GB, free: 500 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.077e-05/0.2425, allocations: 8.797 kB / 0.6756 GB, free: 488 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.2425, allocations: 3.938 kB / 0.6756 GB, free: 484 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.2426, allocations: 30.62 kB / 0.6757 GB, free: 444 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.2426, allocations: 8 kB / 0.6757 GB, free: 436 kB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001605/0.2427, allocations: 37.7 kB / 0.6757 GB, free: 392 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.2428, allocations: 51.41 kB / 0.6758 GB, free: 328 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.177e-05/0.2429, allocations: 97.84 kB / 0.6759 GB, free: 220 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.2429, allocations: 25.7 kB / 0.6759 GB, free: 188 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.702e-05/0.2429, allocations: 80.14 kB / 0.676 GB, free: 104 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.11e-05/0.243, allocations: 11.89 kB / 0.676 GB, free: 92 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/0.243, allocations: 17.97 kB / 0.676 GB, free: 68 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.2432, allocations: 310.8 kB / 0.6763 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.465e-05/0.2432, allocations: 7.938 kB / 0.6763 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.192e-05/0.2432, allocations: 7.984 kB / 0.6763 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.041e-05/0.2432, allocations: 8.859 kB / 0.6763 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2432, allocations: 0 / 0.6763 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.612e-05/0.2433, allocations: 45.64 kB / 0.6764 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.2433, allocations: 4 kB / 0.6764 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.2433, allocations: 4.094 kB / 0.6764 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.2433, allocations: 0 / 0.6764 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.2435, allocations: 15.98 kB / 0.6764 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004446/0.2439, allocations: 0.5821 MB / 0.6769 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.152e-05/0.244, allocations: 3.984 kB / 0.6769 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.727e-06/0.244, allocations: 4.031 kB / 0.677 GB, free: 15.04 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 0.0001019/0.2441, allocations: 113.9 kB / 0.6771 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.405e-06/0.2441, allocations: 3.953 kB / 0.6771 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001111/0.2442, allocations: 48.75 kB / 0.6771 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.2442, allocations: 0 / 0.6771 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.2442, allocations: 0 / 0.6771 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.2442, allocations: 4 kB / 0.6771 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001335/0.2443, allocations: 153.6 kB / 0.6773 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.2443, allocations: 0 / 0.6773 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.293e-05/0.2444, allocations: 11.98 kB / 0.6773 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.2444, allocations: 4.031 kB / 0.6773 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.2444, allocations: 4 kB / 0.6773 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003677/0.2448, allocations: 0.5859 MB / 0.6779 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.2448, allocations: 0 / 0.6779 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.378e-05/0.2449, allocations: 69.19 kB / 0.6779 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.63e-05/0.2449, allocations: 77.11 kB / 0.678 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.2449, allocations: 7.938 kB / 0.678 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.396e-05/0.2449, allocations: 0 / 0.678 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.731e-05/0.245, allocations: 0 / 0.678 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-06/0.245, allocations: 4 kB / 0.678 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.396e-05/0.245, allocations: 79.28 kB / 0.6781 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.245, allocations: 0 / 0.6781 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002101/0.2452, allocations: 11.92 kB / 0.6781 GB, free: 13.75 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.0001849/0.2454, allocations: 115.3 kB / 0.6782 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001648/0.2456, allocations: 15.98 kB / 0.6782 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2456, allocations: 0 / 0.6782 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.471e-05/0.2457, allocations: 23.92 kB / 0.6782 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001433/0.2458, allocations: 3.938 kB / 0.6782 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003835/0.2462, allocations: 117.3 kB / 0.6784 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003449/0.2465, allocations: 0.6768 MB / 0.679 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.447e-05/0.2465, allocations: 0 / 0.679 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.479e-05/0.2466, allocations: 7.438 kB / 0.679 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of SimCode: time 2.81e-07/0.2466, allocations: 0 / 0.679 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of Templates: time 0.003214/0.2498, allocations: 469.6 kB / 0.6795 GB, free: 12.29 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 480]