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.0009028/0.0009028, allocations: 100.3 kB / 19.72 MB, free: 428 kB / 13.93 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.001014/0.001014, allocations: 214.8 kB / 23.03 MB, free: 2.969 MB / 13.93 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 1.038/1.038, allocations: 230.6 MB / 256.8 MB, free: 9.602 MB / 202.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 2.069/2.069, allocations: 0.5045 GB / 0.8104 GB, free: 2.797 MB / 0.6511 GB " [Timeout remaining time 177] 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 0.00157/0.00157, allocations: 67.89 kB / 1.177 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7904/0.7919, allocations: 180 MB / 1.352 GB, free: 1.586 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001872/0.7938, allocations: 1.276 MB / 1.354 GB, free: 308 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.000764/0.7946, allocations: 0.5177 MB / 1.354 GB, free: 15.78 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.604e-05/0.7946, allocations: 0 / 1.354 GB, free: 15.78 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 1.974e-05/0.7946, allocations: 0 / 1.354 GB, free: 15.78 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 4.125e-05/0.7946, allocations: 0 / 1.354 GB, free: 15.78 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004606/0.7951, allocations: 148.9 kB / 1.354 GB, free: 15.64 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 5.106e-05/0.7952, allocations: 11.92 kB / 1.354 GB, free: 15.62 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.295e-05/0.7952, allocations: 4 kB / 1.354 GB, free: 15.62 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.817e-05/0.7952, allocations: 0 / 1.354 GB, free: 15.62 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.701e-05/0.7953, allocations: 15.92 kB / 1.354 GB, free: 15.61 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.037e-05/0.7953, allocations: 0 / 1.354 GB, free: 15.61 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002952/0.7956, allocations: 263.5 kB / 1.355 GB, free: 15.35 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.443e-05/0.7956, allocations: 4 kB / 1.355 GB, free: 15.34 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 1.671e-05/0.7956, allocations: 0 / 1.355 GB, free: 15.34 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.7958, allocations: 141.8 kB / 1.355 GB, free: 15.21 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.7958, allocations: 4 kB / 1.355 GB, free: 15.2 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7958, allocations: 0 / 1.355 GB, free: 15.2 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.7958, allocations: 0 / 1.355 GB, free: 15.2 MB / 1.042 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.0005908/0.7964, allocations: 270.1 kB / 1.355 GB, free: 14.91 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.7964, allocations: 12.92 kB / 1.355 GB, free: 14.89 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.8e-05/0.7965, allocations: 30.75 kB / 1.355 GB, free: 14.86 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.213e-05/0.7965, allocations: 0.9375 kB / 1.355 GB, free: 14.86 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.575e-05/0.7966, allocations: 106.5 kB / 1.355 GB, free: 14.73 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.958e-06/0.7966, allocations: 4.375 kB / 1.355 GB, free: 14.72 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.402e-06/0.7966, allocations: 384 / 1.355 GB, free: 14.72 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.193e-05/0.7967, allocations: 38.2 kB / 1.355 GB, free: 14.68 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.7967, allocations: 7.875 kB / 1.355 GB, free: 14.67 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.7967, allocations: 4 kB / 1.355 GB, free: 14.67 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.7967, allocations: 0 / 1.355 GB, free: 14.67 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.193e-05/0.7967, allocations: 4 kB / 1.355 GB, free: 14.66 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001251/0.7969, allocations: 132.7 kB / 1.355 GB, free: 14.49 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.603e-05/0.7969, allocations: 18.58 kB / 1.355 GB, free: 14.46 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.526e-05/0.7969, allocations: 4.859 kB / 1.355 GB, free: 14.46 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.7969, allocations: 4.062 kB / 1.355 GB, free: 14.45 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.797, allocations: 34.5 kB / 1.355 GB, free: 14.41 MB / 1.042 GB Notification: Performance of pre-optimization done (n=2): time 6.61e-07/0.797, allocations: 4 kB / 1.355 GB, free: 14.41 MB / 1.042 GB Notification: Performance of matching and sorting (n=2): time 0.0001278/0.7971, allocations: 49.58 kB / 1.355 GB, free: 14.35 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.7971, allocations: 55.41 kB / 1.356 GB, free: 14.29 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.26e-05/0.7972, allocations: 93.86 kB / 1.356 GB, free: 14.18 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.7972, allocations: 29.7 kB / 1.356 GB, free: 14.15 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 2.026e-05/0.7972, allocations: 80.14 kB / 1.356 GB, free: 14.07 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.499e-05/0.7972, allocations: 7.891 kB / 1.356 GB, free: 14.06 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.388e-05/0.7973, allocations: 17.7 kB / 1.356 GB, free: 14.04 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.365e-05/0.7973, allocations: 315.1 kB / 1.356 GB, free: 13.72 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.177e-05/0.7973, allocations: 4 kB / 1.356 GB, free: 13.71 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.474e-06/0.7973, allocations: 4 kB / 1.356 GB, free: 13.71 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.392e-05/0.7974, allocations: 12.8 kB / 1.356 GB, free: 13.7 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.7974, allocations: 0 / 1.356 GB, free: 13.7 MB / 1.042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.534e-05/0.7974, allocations: 41.69 kB / 1.356 GB, free: 13.65 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.7974, allocations: 11.94 kB / 1.356 GB, free: 13.64 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.808e-06/0.7974, allocations: 0 / 1.356 GB, free: 13.64 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.7974, allocations: 0 / 1.356 GB, free: 13.64 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.7976, allocations: 8 kB / 1.356 GB, free: 13.63 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002678/0.7979, allocations: 0.59 MB / 1.357 GB, free: 13.02 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.485e-05/0.7979, allocations: 0 / 1.357 GB, free: 13.02 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.7979, allocations: 4.031 kB / 1.357 GB, free: 13.01 MB / 1.042 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.19e-05/0.7979, allocations: 117.8 kB / 1.357 GB, free: 12.89 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.356e-06/0.7979, allocations: 0 / 1.357 GB, free: 12.89 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.59e-05/0.798, allocations: 45 kB / 1.357 GB, free: 12.84 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.798, allocations: 4 kB / 1.357 GB, free: 12.84 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.798, allocations: 0 / 1.357 GB, free: 12.84 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.798, allocations: 4.125 kB / 1.357 GB, free: 12.83 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.491e-05/0.7981, allocations: 120.7 kB / 1.357 GB, free: 12.67 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.7981, allocations: 0 / 1.357 GB, free: 12.67 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.084e-05/0.7982, allocations: 15.92 kB / 1.357 GB, free: 12.66 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.7982, allocations: 0 / 1.357 GB, free: 12.66 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.15e-06/0.7982, allocations: 3.938 kB / 1.357 GB, free: 12.65 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001992/0.7984, allocations: 0.586 MB / 1.358 GB, free: 12.04 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.7984, allocations: 7.875 kB / 1.358 GB, free: 12.04 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.803e-05/0.7984, allocations: 65.16 kB / 1.358 GB, free: 11.95 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.839e-06/0.7984, allocations: 8.062 kB / 1.358 GB, free: 11.95 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.397e-06/0.7984, allocations: 0 / 1.358 GB, free: 11.95 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.715e-06/0.7984, allocations: 4 kB / 1.358 GB, free: 11.94 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.39e-05/0.7984, allocations: 3.938 kB / 1.358 GB, free: 11.94 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.7985, allocations: 7.984 kB / 1.358 GB, free: 11.93 MB / 1.042 GB Notification: Performance of sorting global known variables: time 2.83e-05/0.7985, allocations: 79.28 kB / 1.358 GB, free: 11.85 MB / 1.042 GB Notification: Performance of sort global known variables: time 6e-08/0.7985, allocations: 0 / 1.358 GB, free: 11.85 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001351/0.7986, allocations: 7.938 kB / 1.358 GB, free: 11.84 MB / 1.042 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.0002933/0.7989, allocations: 0.6126 MB / 1.358 GB, free: 11.2 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001301/0.799, allocations: 19.92 kB / 1.358 GB, free: 11.18 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.799, allocations: 0 / 1.358 GB, free: 11.18 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 3.122e-05/0.7991, allocations: 15.98 kB / 1.358 GB, free: 11.16 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001148/0.7992, allocations: 10 kB / 1.358 GB, free: 11.16 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004192/0.7996, allocations: 131.9 kB / 1.359 GB, free: 10.98 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.83e-05/0.7996, allocations: 63.34 kB / 1.359 GB, free: 10.9 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 1.539e-05/0.7997, allocations: 4.125 kB / 1.359 GB, free: 10.9 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.385e-05/0.7997, allocations: 7.438 kB / 1.359 GB, free: 10.89 MB / 1.042 GB Notification: Performance of SimCode: time 3.91e-07/0.7997, allocations: 0 / 1.359 GB, free: 10.89 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08984/0.8895, allocations: 1.803 MB / 1.36 GB, free: 9.258 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.672/8.562, allocations: 8.125 kB / 1.36 GB, free: 9.254 MB / 1.042 GB " [Timeout remaining time 291] (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: 13.64690989535302]