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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001696/0.001696, allocations: 113.5 kB / 17.12 MB, free: 5.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001883/0.001883, allocations: 196.6 kB / 20.08 MB, free: 3 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 225.6 MB / 248.5 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.867/0.867, allocations: 129.2 MB / 432.5 MB, free: 13.06 MB / 350.1 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002156/0.002156, allocations: 67.89 kB / 0.5987 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.484/0.4862, allocations: 83.43 MB / 0.6802 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002542/0.4887, allocations: 1.269 MB / 0.6814 GB, free: 5 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001066/0.4898, allocations: 0.5873 MB / 0.682 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.718e-05/0.4898, allocations: 0 / 0.682 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.143e-05/0.4898, allocations: 7.922 kB / 0.682 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.522e-05/0.4899, allocations: 1.062 kB / 0.682 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006208/0.4905, allocations: 135 kB / 0.6821 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.434e-05/0.4906, allocations: 8.281 kB / 0.6821 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.759e-05/0.4906, allocations: 6.062 kB / 0.6821 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.362e-05/0.4907, allocations: 6.156 kB / 0.6821 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.756e-05/0.4907, allocations: 6.188 kB / 0.6821 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.4908, allocations: 0 / 0.6821 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005912/0.4914, allocations: 344.6 kB / 0.6825 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.253e-05/0.4914, allocations: 1.25 kB / 0.6825 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.731e-05/0.4914, allocations: 5.359 kB / 0.6825 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003044/0.4917, allocations: 141.4 kB / 0.6826 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.4917, allocations: 0 / 0.6826 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4917, allocations: 0 / 0.6826 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.421e-05/0.4917, allocations: 1.188 kB / 0.6826 GB, free: 4.141 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.0004443/0.4922, allocations: 354.1 kB / 0.6829 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/0.4922, allocations: 10.47 kB / 0.683 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.83e-05/0.4923, allocations: 30.75 kB / 0.683 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.821e-05/0.4923, allocations: 5.953 kB / 0.683 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.586e-05/0.4924, allocations: 161.5 kB / 0.6831 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.4924, allocations: 384 / 0.6831 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/0.4924, allocations: 5.219 kB / 0.6832 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.4925, allocations: 33.16 kB / 0.6832 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.4925, allocations: 7.984 kB / 0.6832 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.4925, allocations: 9 kB / 0.6832 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.4925, allocations: 3.938 kB / 0.6832 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.096e-05/0.4926, allocations: 6.938 kB / 0.6832 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001549/0.4927, allocations: 153 kB / 0.6834 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.473e-05/0.4928, allocations: 22.95 kB / 0.6834 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.082e-05/0.4928, allocations: 11.11 kB / 0.6834 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.4928, allocations: 5.188 kB / 0.6834 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.4929, allocations: 30.56 kB / 0.6834 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.4929, allocations: 1.125 kB / 0.6834 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001671/0.493, allocations: 46.16 kB / 0.6835 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.62e-05/0.4931, allocations: 52.5 kB / 0.6835 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.919e-05/0.4931, allocations: 92.14 kB / 0.6836 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.187e-06/0.4931, allocations: 26.83 kB / 0.6836 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.577e-05/0.4932, allocations: 88.39 kB / 0.6837 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.986e-05/0.4932, allocations: 9.109 kB / 0.6837 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.814e-05/0.4932, allocations: 16.05 kB / 0.6837 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.881e-05/0.4933, allocations: 312.1 kB / 0.684 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.505e-05/0.4933, allocations: 6.344 kB / 0.684 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.08e-05/0.4933, allocations: 2.125 kB / 0.684 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.833e-05/0.4933, allocations: 9.391 kB / 0.6841 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4933, allocations: 4.062 kB / 0.6841 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.418e-05/0.4934, allocations: 50.78 kB / 0.6841 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.4934, allocations: 5.031 kB / 0.6841 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.4934, allocations: 0 / 0.6841 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.4935, allocations: 1.438 kB / 0.6841 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001886/0.4936, allocations: 7.281 kB / 0.6841 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002925/0.4939, allocations: 0.5824 MB / 0.6847 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.086e-05/0.494, allocations: 5.375 kB / 0.6847 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.494, allocations: 3.938 kB / 0.6847 GB, free: 1.852 MB / 0.4981 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 5.793e-05/0.494, allocations: 107.2 kB / 0.6848 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.017e-05/0.494, allocations: 6.078 kB / 0.6848 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001129/0.4941, allocations: 53.06 kB / 0.6849 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.4941, allocations: 0 / 0.6849 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.4941, allocations: 0 / 0.6849 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.4942, allocations: 1.25 kB / 0.6849 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.228e-05/0.4942, allocations: 156.5 kB / 0.685 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4942, allocations: 0 / 0.685 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.059e-05/0.4943, allocations: 11.75 kB / 0.685 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.4943, allocations: 0 / 0.685 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.4943, allocations: 1.469 kB / 0.685 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002096/0.4945, allocations: 0.5856 MB / 0.6856 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.4946, allocations: 5.359 kB / 0.6856 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.57e-05/0.4946, allocations: 66.17 kB / 0.6857 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.082e-05/0.4946, allocations: 77.11 kB / 0.6857 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.4947, allocations: 9.031 kB / 0.6857 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.731e-05/0.4947, allocations: 8.922 kB / 0.6858 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.476e-05/0.4947, allocations: 1.031 kB / 0.6858 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.4947, allocations: 0.9375 kB / 0.6858 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.339e-05/0.4947, allocations: 80.41 kB / 0.6858 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.4947, allocations: 1.094 kB / 0.6858 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002228/0.4949, allocations: 9.906 kB / 0.6858 GB, free: 0.6172 MB / 0.4981 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.0003389/0.4953, allocations: 0.6173 MB / 0.6864 GB, free: 4 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002294/0.4955, allocations: 29.03 kB / 0.6865 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4955, allocations: 0 / 0.6865 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.9e-05/0.4956, allocations: 9.719 kB / 0.6865 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001592/0.4957, allocations: 2.719 kB / 0.6865 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006565/0.4964, allocations: 135.5 kB / 0.6866 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.4967, allocations: 0.6752 MB / 0.6873 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.734e-05/0.4967, allocations: 4.125 kB / 0.6873 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.082e-05/0.4968, allocations: 8.688 kB / 0.6873 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of SimCode: time 6.11e-07/0.4968, allocations: 0 / 0.6873 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.029/0.5258, allocations: 1.39 MB / 0.6886 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/12.54, allocations: 9.219 kB / 0.6886 GB, free: 14.39 MB / 0.5137 GB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.018550214823335] Failed to read output from testmodel.py, exit status != 0: 12.629963951651007 12.645265484 12.150116651 Calling exit ...