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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008612/0.0008612, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 169.9 kB / 23.21 MB, free: 1.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9118/0.9118, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5592/0.5592, allocations: 114 MB / 373.9 MB, free: 8.707 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 2.254e-06/2.254e-06, allocations: 0 / 0.5542 GB, free: 1.707 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.339e-05/2.565e-05, allocations: 2.281 kB / 0.5542 GB, free: 1.703 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001697/0.001723, allocations: 1.279 MB / 0.5554 GB, free: 432 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007185/0.002442, allocations: 0.5098 MB / 0.5559 GB, free: 15.91 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.891e-05/0.00247, allocations: 0 / 0.5559 GB, free: 15.91 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.944e-05/0.00249, allocations: 4 kB / 0.5559 GB, free: 15.91 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.2e-05/0.002532, allocations: 0 / 0.5559 GB, free: 15.91 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004742/0.003006, allocations: 139.3 kB / 0.5561 GB, free: 15.77 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.193e-05/0.003078, allocations: 15.92 kB / 0.5561 GB, free: 15.75 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.127e-05/0.003139, allocations: 4 kB / 0.5561 GB, free: 15.75 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.955e-05/0.003179, allocations: 3.984 kB / 0.5561 GB, free: 15.75 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.755e-05/0.003226, allocations: 4 kB / 0.5561 GB, free: 15.74 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.003241, allocations: 0 / 0.5561 GB, free: 15.74 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002919/0.003533, allocations: 279.3 kB / 0.5564 GB, free: 15.47 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.299e-05/0.003546, allocations: 0 / 0.5564 GB, free: 15.47 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.751e-05/0.003564, allocations: 4 kB / 0.5564 GB, free: 15.46 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002067/0.00377, allocations: 147.5 kB / 0.5565 GB, free: 15.32 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.003774, allocations: 4 kB / 0.5565 GB, free: 15.32 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.003776, allocations: 0 / 0.5565 GB, free: 15.32 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.82e-06/0.003781, allocations: 0 / 0.5565 GB, free: 15.32 MB / 490.7 MB 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.0003117/0.004093, allocations: 270.1 kB / 0.5568 GB, free: 15.02 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.004133, allocations: 8.625 kB / 0.5568 GB, free: 15.02 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.619e-05/0.004159, allocations: 30.75 kB / 0.5568 GB, free: 14.98 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.226e-05/0.004182, allocations: 4.938 kB / 0.5568 GB, free: 14.97 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.646e-05/0.004258, allocations: 109.8 kB / 0.5569 GB, free: 14.84 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.004268, allocations: 384 / 0.5569 GB, free: 14.84 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.216e-06/0.004276, allocations: 8.312 kB / 0.5569 GB, free: 14.83 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.25e-05/0.004359, allocations: 37.95 kB / 0.557 GB, free: 14.79 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.004366, allocations: 0 / 0.557 GB, free: 14.79 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.515e-06/0.004373, allocations: 7.938 kB / 0.557 GB, free: 14.78 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.004378, allocations: 0 / 0.557 GB, free: 14.78 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.165e-05/0.004399, allocations: 0 / 0.557 GB, free: 14.78 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001181/0.004517, allocations: 124.8 kB / 0.5571 GB, free: 14.62 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.99e-05/0.004567, allocations: 30.59 kB / 0.5571 GB, free: 14.58 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.486e-05/0.004582, allocations: 8.797 kB / 0.5571 GB, free: 14.57 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.004602, allocations: 4 kB / 0.5571 GB, free: 14.56 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.004622, allocations: 38.56 kB / 0.5572 GB, free: 14.52 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 7.01e-07/0.004623, allocations: 0 / 0.5572 GB, free: 14.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001267/0.00475, allocations: 41.64 kB / 0.5572 GB, free: 14.47 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.004777, allocations: 51.41 kB / 0.5572 GB, free: 14.41 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.223e-05/0.00483, allocations: 97.86 kB / 0.5573 GB, free: 14.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.205e-06/0.004838, allocations: 25.7 kB / 0.5574 GB, free: 14.27 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.32e-05/0.004861, allocations: 80.39 kB / 0.5574 GB, free: 14.19 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.004884, allocations: 15.89 kB / 0.5575 GB, free: 14.17 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.438e-05/0.004908, allocations: 17.7 kB / 0.5575 GB, free: 14.15 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.524e-05/0.004983, allocations: 314.8 kB / 0.5578 GB, free: 13.83 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.107e-05/0.004994, allocations: 3.938 kB / 0.5578 GB, free: 13.83 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.324e-06/0.005002, allocations: 4 kB / 0.5578 GB, free: 13.82 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.564e-05/0.005027, allocations: 12.86 kB / 0.5578 GB, free: 13.81 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.005029, allocations: 0 / 0.5578 GB, free: 13.81 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.129e-05/0.00507, allocations: 37.69 kB / 0.5578 GB, free: 13.77 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.005083, allocations: 7.938 kB / 0.5578 GB, free: 13.76 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.005087, allocations: 8.094 kB / 0.5578 GB, free: 13.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.005099, allocations: 0 / 0.5578 GB, free: 13.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.005245, allocations: 8 kB / 0.5579 GB, free: 13.74 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000335/0.00558, allocations: 0.586 MB / 0.5584 GB, free: 13.13 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.558e-05/0.005595, allocations: 0 / 0.5584 GB, free: 13.13 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-06/0.005602, allocations: 4 kB / 0.5584 GB, free: 13.13 MB / 490.7 MB 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 7.376e-05/0.005675, allocations: 113.8 kB / 0.5585 GB, free: 13.01 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.659e-06/0.00568, allocations: 0 / 0.5585 GB, free: 13.01 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/0.005803, allocations: 49.09 kB / 0.5586 GB, free: 12.96 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.005807, allocations: 0 / 0.5586 GB, free: 12.96 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/0.005817, allocations: 4 kB / 0.5586 GB, free: 12.95 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.005823, allocations: 4 kB / 0.5586 GB, free: 12.95 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.347e-05/0.005886, allocations: 120.6 kB / 0.5587 GB, free: 12.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.005888, allocations: 3.938 kB / 0.5587 GB, free: 12.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.445e-05/0.005942, allocations: 15.98 kB / 0.5587 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.005944, allocations: 0 / 0.5587 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.00595, allocations: 4 kB / 0.5587 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001956/0.006145, allocations: 0.5899 MB / 0.5593 GB, free: 12.15 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.006147, allocations: 3.938 kB / 0.5593 GB, free: 12.15 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.488e-05/0.006192, allocations: 69.09 kB / 0.5594 GB, free: 12.06 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.282e-06/0.006199, allocations: 0 / 0.5594 GB, free: 12.06 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.706e-06/0.006207, allocations: 0 / 0.5594 GB, free: 12.06 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.583e-06/0.006214, allocations: 0 / 0.5594 GB, free: 12.06 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.458e-05/0.006228, allocations: 11.92 kB / 0.5594 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-06/0.00623, allocations: 0 / 0.5594 GB, free: 12.05 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.254e-05/0.006253, allocations: 75.28 kB / 0.5595 GB, free: 11.98 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006253, allocations: 224 / 0.5595 GB, free: 11.98 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001282/0.006381, allocations: 15.94 kB / 0.5595 GB, free: 11.96 MB / 490.7 MB 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.0005486/0.00693, allocations: 0.6008 MB / 0.5601 GB, free: 11.33 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001331/0.007063, allocations: 27.92 kB / 0.5601 GB, free: 11.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.007064, allocations: 0 / 0.5601 GB, free: 11.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.92e-05/0.007094, allocations: 11.98 kB / 0.5601 GB, free: 11.29 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001048/0.007198, allocations: 3.938 kB / 0.5601 GB, free: 11.29 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003834/0.007582, allocations: 138.6 kB / 0.5602 GB, free: 11.11 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.34e-05/0.007615, allocations: 59.34 kB / 0.5603 GB, free: 11.04 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.532e-05/0.007631, allocations: 0 / 0.5603 GB, free: 11.04 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.348e-05/0.007654, allocations: 8.5 kB / 0.5603 GB, free: 11.02 MB / 490.7 MB Notification: Performance of SimCode: time 5.41e-07/0.007655, allocations: 0 / 0.5603 GB, free: 11.02 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01487/0.02252, allocations: 1.959 MB / 0.5622 GB, free: 9.266 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.347/8.369, allocations: 9.312 kB / 0.5622 GB, free: 9.262 MB / 490.7 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 10.971940246410668] Failed to read output from testmodel.py, exit status != 0: 8.45888454746455 8.47327621 8.467320253 Calling exit ...