Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.0008893/0.0008893, allocations: 108.3 kB / 19.73 MB, free: 420 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.0008287/0.0008287, allocations: 214.8 kB / 23.03 MB, free: 2.953 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.003/1.003, allocations: 230.6 MB / 256.8 MB, free: 9.609 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.113/2.113, allocations: 0.5046 GB / 0.8104 GB, free: 2.754 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_dp,fileNamePrefix="Buildings_13_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_13_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001025/0.001025, allocations: 71.89 kB / 1.177 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7733/0.7743, allocations: 180 MB / 1.352 GB, free: 1.641 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001857/0.7761, allocations: 1.274 MB / 1.354 GB, free: 368 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.000725/0.7769, allocations: 0.5177 MB / 1.354 GB, free: 15.84 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.562e-05/0.7769, allocations: 0 / 1.354 GB, free: 15.84 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 2.023e-05/0.7769, allocations: 7.922 kB / 1.354 GB, free: 15.83 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 4.222e-05/0.777, allocations: 0 / 1.354 GB, free: 15.83 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004931/0.7774, allocations: 143.4 kB / 1.354 GB, free: 15.69 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 4.964e-05/0.7775, allocations: 11.92 kB / 1.354 GB, free: 15.68 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.164e-05/0.7775, allocations: 4 kB / 1.354 GB, free: 15.68 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.692e-05/0.7776, allocations: 4 kB / 1.354 GB, free: 15.67 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.168e-05/0.7776, allocations: 7.938 kB / 1.354 GB, free: 15.66 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.7776, allocations: 0 / 1.354 GB, free: 15.66 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003202/0.7779, allocations: 271.5 kB / 1.355 GB, free: 15.4 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.562e-05/0.7779, allocations: 4 kB / 1.355 GB, free: 15.39 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 1.891e-05/0.778, allocations: 0 / 1.355 GB, free: 15.39 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001967/0.7782, allocations: 137.7 kB / 1.355 GB, free: 15.26 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.7782, allocations: 4 kB / 1.355 GB, free: 15.26 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.292e-06/0.7782, allocations: 0 / 1.355 GB, free: 15.26 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.7782, allocations: 0 / 1.355 GB, free: 15.26 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.0003065/0.7785, allocations: 270.1 kB / 1.355 GB, free: 14.96 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.7785, allocations: 12.92 kB / 1.355 GB, free: 14.95 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.777e-05/0.7785, allocations: 30.75 kB / 1.355 GB, free: 14.91 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.123e-05/0.7786, allocations: 0.9375 kB / 1.355 GB, free: 14.91 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.842e-05/0.7786, allocations: 110.5 kB / 1.355 GB, free: 14.78 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.7787, allocations: 4.375 kB / 1.355 GB, free: 14.77 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.592e-06/0.7787, allocations: 384 / 1.355 GB, free: 14.77 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.788e-05/0.7787, allocations: 30.27 kB / 1.355 GB, free: 14.74 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.7788, allocations: 3.938 kB / 1.355 GB, free: 14.73 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.7788, allocations: 0 / 1.355 GB, free: 14.73 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.7788, allocations: 4 kB / 1.355 GB, free: 14.73 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.217e-05/0.7788, allocations: 7.938 kB / 1.355 GB, free: 14.72 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001302/0.7789, allocations: 128.8 kB / 1.355 GB, free: 14.55 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.82e-05/0.779, allocations: 22.58 kB / 1.355 GB, free: 14.52 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.499e-05/0.779, allocations: 4.859 kB / 1.355 GB, free: 14.52 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.779, allocations: 4.062 kB / 1.355 GB, free: 14.51 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.779, allocations: 30.56 kB / 1.355 GB, free: 14.47 MB / 1.042 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.779, allocations: 0 / 1.355 GB, free: 14.47 MB / 1.042 GB Notification: Performance of matching and sorting (n=2): time 0.000126/0.7791, allocations: 53.52 kB / 1.355 GB, free: 14.41 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.775e-05/0.7792, allocations: 55.53 kB / 1.356 GB, free: 14.35 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.165e-05/0.7792, allocations: 93.86 kB / 1.356 GB, free: 14.25 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 9.427e-06/0.7792, allocations: 25.7 kB / 1.356 GB, free: 14.21 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 2.337e-05/0.7793, allocations: 84.14 kB / 1.356 GB, free: 14.13 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.458e-05/0.7793, allocations: 19.81 kB / 1.356 GB, free: 14.11 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.131e-05/0.7793, allocations: 13.72 kB / 1.356 GB, free: 14.09 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.194e-05/0.7794, allocations: 310.8 kB / 1.356 GB, free: 13.78 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.026e-05/0.7794, allocations: 0 / 1.356 GB, free: 13.78 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.725e-06/0.7794, allocations: 4 kB / 1.356 GB, free: 13.77 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.636e-05/0.7794, allocations: 13.05 kB / 1.356 GB, free: 13.76 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.7794, allocations: 7.938 kB / 1.356 GB, free: 13.75 MB / 1.042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.007e-05/0.7795, allocations: 41.69 kB / 1.356 GB, free: 13.7 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.7795, allocations: 11.94 kB / 1.356 GB, free: 13.69 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.7795, allocations: 0 / 1.356 GB, free: 13.69 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.7795, allocations: 0 / 1.356 GB, free: 13.69 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.7797, allocations: 8 kB / 1.356 GB, free: 13.68 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005369/0.7802, allocations: 0.5821 MB / 1.357 GB, free: 13.08 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.785e-05/0.7802, allocations: 0 / 1.357 GB, free: 13.08 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.7802, allocations: 11.91 kB / 1.357 GB, free: 13.07 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 5.969e-05/0.7803, allocations: 117.9 kB / 1.357 GB, free: 12.94 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.268e-06/0.7803, allocations: 0 / 1.357 GB, free: 12.94 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.5e-05/0.7804, allocations: 45 kB / 1.357 GB, free: 12.89 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.7804, allocations: 4 kB / 1.357 GB, free: 12.89 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.7804, allocations: 0 / 1.357 GB, free: 12.89 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.7804, allocations: 0 / 1.357 GB, free: 12.89 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.628e-05/0.7804, allocations: 124.7 kB / 1.357 GB, free: 12.73 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.7804, allocations: 3.984 kB / 1.357 GB, free: 12.72 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.15e-05/0.7805, allocations: 8 kB / 1.357 GB, free: 12.71 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.7805, allocations: 4.031 kB / 1.357 GB, free: 12.71 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.7805, allocations: 4 kB / 1.357 GB, free: 12.71 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001965/0.7807, allocations: 0.5859 MB / 1.358 GB, free: 12.1 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/0.7807, allocations: 3.938 kB / 1.358 GB, free: 12.09 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.939e-05/0.7808, allocations: 65.16 kB / 1.358 GB, free: 12.01 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.592e-06/0.7808, allocations: 0 / 1.358 GB, free: 12.01 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.776e-06/0.7808, allocations: 0 / 1.358 GB, free: 12.01 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.165e-06/0.7808, allocations: 4 kB / 1.358 GB, free: 12.01 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.413e-05/0.7808, allocations: 11.92 kB / 1.358 GB, free: 12 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-06/0.7808, allocations: 4.125 kB / 1.358 GB, free: 11.99 MB / 1.042 GB Notification: Performance of sorting global known variables: time 2.426e-05/0.7808, allocations: 79.28 kB / 1.358 GB, free: 11.91 MB / 1.042 GB Notification: Performance of sort global known variables: time 7e-08/0.7808, allocations: 3.938 kB / 1.358 GB, free: 11.91 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001384/0.781, allocations: 11.88 kB / 1.358 GB, free: 11.9 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.000278/0.7812, allocations: 0.6125 MB / 1.358 GB, free: 11.25 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001319/0.7814, allocations: 16 kB / 1.358 GB, free: 11.24 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.7814, allocations: 192 / 1.358 GB, free: 11.24 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 3.295e-05/0.7814, allocations: 19.92 kB / 1.358 GB, free: 11.22 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001126/0.7815, allocations: 10 kB / 1.358 GB, free: 11.21 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004117/0.7819, allocations: 131.9 kB / 1.359 GB, free: 11.04 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.859e-05/0.782, allocations: 59.34 kB / 1.359 GB, free: 10.96 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 1.541e-05/0.782, allocations: 0 / 1.359 GB, free: 10.96 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.402e-05/0.782, allocations: 7.438 kB / 1.359 GB, free: 10.95 MB / 1.042 GB Notification: Performance of SimCode: time 4.31e-07/0.782, allocations: 4.062 kB / 1.359 GB, free: 10.95 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07976/0.8618, allocations: 1.786 MB / 1.36 GB, free: 9.312 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.752/8.613, allocations: 1.656 kB / 1.36 GB, free: 9.312 MB / 1.042 GB " [Timeout remaining time 291] (rm -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu) > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_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_dp.fmu) > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.754528890363872]