Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.0009987/0.0009987, allocations: 80.55 kB / 19.96 MB, free: 4.598 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.001078/0.001078, allocations: 173.2 kB / 23.24 MB, free: 1.324 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.9768/0.9768, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.809/1.809, allocations: 389.6 MB / 0.6343 GB, free: 12.59 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="Buildings_13_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="Buildings_13_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 1.001 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.018e-05/2.206e-05, allocations: 9.594 kB / 1.001 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002131/0.002153, allocations: 1.274 MB / 1.002 GB, free: 12.25 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008879/0.003041, allocations: 0.5183 MB / 1.002 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.385e-05/0.003065, allocations: 0 / 1.002 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.601e-05/0.003081, allocations: 0 / 1.002 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.177e-05/0.003123, allocations: 0 / 1.002 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005005/0.003623, allocations: 147.2 kB / 1.003 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.437e-05/0.003678, allocations: 11.94 kB / 1.003 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.935e-05/0.003717, allocations: 0 / 1.003 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.255e-05/0.00375, allocations: 15.92 kB / 1.003 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.195e-05/0.003792, allocations: 0 / 1.003 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.003805, allocations: 4 kB / 1.003 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000396/0.004201, allocations: 271.4 kB / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.336e-05/0.004214, allocations: 0 / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.842e-05/0.004233, allocations: 7.938 kB / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002483/0.004481, allocations: 143.6 kB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.004484, allocations: 3.984 kB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.51e-07/0.004485, allocations: 0 / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.487e-06/0.004488, allocations: 0 / 1.003 GB, free: 11.14 MB / 0.9636 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.0003307/0.004819, allocations: 270.1 kB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.004859, allocations: 17.34 kB / 1.003 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.429e-05/0.004894, allocations: 30.75 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.189e-05/0.004916, allocations: 0.9375 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.359e-05/0.004999, allocations: 113.7 kB / 1.003 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-06/0.005009, allocations: 384 / 1.003 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.656e-06/0.005018, allocations: 4.359 kB / 1.003 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.828e-05/0.005106, allocations: 42.19 kB / 1.003 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.005114, allocations: 192 / 1.003 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.184e-06/0.005122, allocations: 384 / 1.003 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.005127, allocations: 4.125 kB / 1.003 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.315e-05/0.00515, allocations: 8 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001298/0.00528, allocations: 120.8 kB / 1.004 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 5.507e-05/0.005335, allocations: 22.59 kB / 1.004 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.968e-05/0.005354, allocations: 8.922 kB / 1.004 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.00537, allocations: 0 / 1.004 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.005391, allocations: 38.5 kB / 1.004 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.005392, allocations: 0 / 1.004 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.000132/0.005524, allocations: 37.7 kB / 1.004 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.92e-05/0.005553, allocations: 55.34 kB / 1.004 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.084e-05/0.005614, allocations: 109.9 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.005624, allocations: 25.7 kB / 1.004 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.567e-05/0.00565, allocations: 80.14 kB / 1.004 GB, free: 10 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-05/0.005671, allocations: 3.953 kB / 1.004 GB, free: 9.996 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.077e-05/0.005702, allocations: 17.72 kB / 1.004 GB, free: 9.973 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.202e-05/0.005794, allocations: 310.8 kB / 1.004 GB, free: 9.66 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.464e-05/0.005809, allocations: 7.984 kB / 1.004 GB, free: 9.652 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.766e-06/0.005818, allocations: 0 / 1.004 GB, free: 9.652 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.149e-05/0.005849, allocations: 20.8 kB / 1.004 GB, free: 9.629 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.005851, allocations: 192 / 1.004 GB, free: 9.629 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.011e-05/0.005911, allocations: 37.7 kB / 1.004 GB, free: 9.586 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.005923, allocations: 4 kB / 1.004 GB, free: 9.582 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.005927, allocations: 3.938 kB / 1.004 GB, free: 9.578 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.005939, allocations: 0 / 1.004 GB, free: 9.578 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.006089, allocations: 15.92 kB / 1.004 GB, free: 9.562 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003243/0.006413, allocations: 0.586 MB / 1.005 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.005e-05/0.006433, allocations: 4 kB / 1.005 GB, free: 8.949 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.006439, allocations: 0 / 1.005 GB, free: 8.949 MB / 0.9636 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 6.553e-05/0.006505, allocations: 114 kB / 1.005 GB, free: 8.828 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.266e-05/0.006517, allocations: 15.88 kB / 1.005 GB, free: 8.812 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.703e-05/0.006615, allocations: 45 kB / 1.005 GB, free: 8.758 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.006617, allocations: 0 / 1.005 GB, free: 8.758 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.00662, allocations: 0 / 1.005 GB, free: 8.758 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.006623, allocations: 0 / 1.005 GB, free: 8.758 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.911e-05/0.006702, allocations: 120.8 kB / 1.005 GB, free: 8.598 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.006706, allocations: 3.938 kB / 1.005 GB, free: 8.594 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.679e-05/0.006783, allocations: 11.98 kB / 1.005 GB, free: 8.582 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.006786, allocations: 32 / 1.005 GB, free: 8.582 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.006793, allocations: 11.94 kB / 1.005 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002649/0.007058, allocations: 0.5822 MB / 1.006 GB, free: 7.965 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.007059, allocations: 0 / 1.006 GB, free: 7.965 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.33e-05/0.007123, allocations: 61.06 kB / 1.006 GB, free: 7.887 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.588e-06/0.007132, allocations: 12 kB / 1.006 GB, free: 7.875 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.217e-06/0.007142, allocations: 0 / 1.006 GB, free: 7.875 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.442e-05/0.007156, allocations: 0 / 1.006 GB, free: 7.875 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.033e-05/0.007176, allocations: 3.938 kB / 1.006 GB, free: 7.871 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.00718, allocations: 4.062 kB / 1.006 GB, free: 7.867 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.057e-05/0.00721, allocations: 83.28 kB / 1.006 GB, free: 7.785 MB / 0.9636 GB Notification: Performance of sort global known variables: time 9e-08/0.00721, allocations: 0 / 1.006 GB, free: 7.785 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002104/0.007421, allocations: 15.88 kB / 1.006 GB, free: 7.77 MB / 0.9636 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.0003432/0.007764, allocations: 0.6074 MB / 1.007 GB, free: 7.137 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001513/0.007915, allocations: 23.92 kB / 1.007 GB, free: 7.113 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.007919, allocations: 4 kB / 1.007 GB, free: 7.109 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.005e-05/0.007979, allocations: 16.17 kB / 1.007 GB, free: 7.094 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001528/0.008132, allocations: 0 / 1.007 GB, free: 7.094 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004169/0.008549, allocations: 134.4 kB / 1.007 GB, free: 6.922 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.443e-05/0.008593, allocations: 59.36 kB / 1.007 GB, free: 6.844 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.745e-05/0.008611, allocations: 3.984 kB / 1.007 GB, free: 6.84 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.48e-05/0.008636, allocations: 8.5 kB / 1.007 GB, free: 6.832 MB / 0.9636 GB Notification: Performance of SimCode: time 7.21e-07/0.008636, allocations: 0 / 1.007 GB, free: 6.832 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07798/0.08662, allocations: 1.969 MB / 1.009 GB, free: 5.059 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.243/8.33, allocations: 7.984 kB / 1.009 GB, free: 5.051 MB / 0.9636 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu) > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu) > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.94495428726077]