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.001179/0.001179, allocations: 80.55 kB / 19.96 MB, free: 4.602 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.001478/0.001478, allocations: 177.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.9294/0.9294, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.807/1.807, allocations: 389.6 MB / 0.6343 GB, free: 12.61 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_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 4.639e-06/4.639e-06, allocations: 4 kB / 1.001 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.02e-05/2.484e-05, allocations: 5.656 kB / 1.001 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002509/0.002534, allocations: 1.274 MB / 1.002 GB, free: 12.24 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001003/0.003537, allocations: 0.5145 MB / 1.002 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.091e-05/0.003568, allocations: 3.938 kB / 1.002 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.762e-05/0.003585, allocations: 0 / 1.002 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.754e-05/0.003633, allocations: 11.88 kB / 1.002 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006/0.004233, allocations: 135.4 kB / 1.003 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.554e-05/0.004288, allocations: 11.92 kB / 1.003 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.277e-05/0.004331, allocations: 4 kB / 1.003 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.355e-05/0.004365, allocations: 4 kB / 1.003 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.356e-05/0.004408, allocations: 4 kB / 1.003 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.004421, allocations: 3.938 kB / 1.003 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002962/0.004718, allocations: 267.4 kB / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.462e-05/0.004732, allocations: 7.984 kB / 1.003 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.073e-05/0.004753, allocations: 11.94 kB / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000201/0.004954, allocations: 143.6 kB / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.004959, allocations: 4 kB / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.222e-06/0.00496, allocations: 0 / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.004964, allocations: 0 / 1.003 GB, free: 11.12 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.0003219/0.005286, allocations: 274 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.005329, allocations: 9.344 kB / 1.003 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.273e-05/0.005362, allocations: 34.75 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.367e-05/0.005385, allocations: 4.938 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.587e-05/0.005461, allocations: 113.7 kB / 1.003 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.355e-06/0.005469, allocations: 384 / 1.003 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.775e-06/0.005477, allocations: 4.375 kB / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.712e-05/0.005554, allocations: 26.27 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.005561, allocations: 192 / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.00557, allocations: 4.375 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.005577, allocations: 4.125 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.159e-05/0.005599, allocations: 4 kB / 1.003 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001164/0.005715, allocations: 120.8 kB / 1.004 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.981e-05/0.005765, allocations: 30.55 kB / 1.004 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.487e-05/0.00579, allocations: 8.859 kB / 1.004 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.005809, allocations: 0 / 1.004 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.005827, allocations: 34.62 kB / 1.004 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.005828, allocations: 0 / 1.004 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001232/0.005951, allocations: 45.62 kB / 1.004 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.687e-05/0.005978, allocations: 55.34 kB / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.795e-05/0.006036, allocations: 93.86 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.897e-06/0.006045, allocations: 25.7 kB / 1.004 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.298e-05/0.006068, allocations: 80.39 kB / 1.004 GB, free: 9.996 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.364e-05/0.006092, allocations: 19.89 kB / 1.004 GB, free: 9.977 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.508e-05/0.006117, allocations: 13.7 kB / 1.004 GB, free: 9.957 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.797e-05/0.006195, allocations: 318.8 kB / 1.004 GB, free: 9.637 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.122e-05/0.006206, allocations: 0 / 1.004 GB, free: 9.637 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.367e-06/0.006215, allocations: 8 kB / 1.004 GB, free: 9.629 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.555e-05/0.006241, allocations: 8.859 kB / 1.004 GB, free: 9.617 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.006243, allocations: 0 / 1.004 GB, free: 9.617 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.724e-05/0.00629, allocations: 45.62 kB / 1.004 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.006303, allocations: 6.031 kB / 1.004 GB, free: 9.562 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.006309, allocations: 12.03 kB / 1.004 GB, free: 9.551 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.00632, allocations: 0 / 1.004 GB, free: 9.551 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.006454, allocations: 11.94 kB / 1.004 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002744/0.006728, allocations: 0.5821 MB / 1.005 GB, free: 8.934 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.642e-05/0.006745, allocations: 0 / 1.005 GB, free: 8.934 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.006749, allocations: 0 / 1.005 GB, free: 8.934 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.119e-05/0.006811, allocations: 109.9 kB / 1.005 GB, free: 8.816 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.533e-06/0.006817, allocations: 7.891 kB / 1.005 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.173e-05/0.006909, allocations: 57.02 kB / 1.005 GB, free: 8.742 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.006911, allocations: 0 / 1.005 GB, free: 8.742 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.006915, allocations: 4 kB / 1.005 GB, free: 8.738 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.006918, allocations: 0 / 1.005 GB, free: 8.738 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.63e-05/0.006984, allocations: 120.8 kB / 1.005 GB, free: 8.578 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.006986, allocations: 3.938 kB / 1.005 GB, free: 8.574 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.403e-05/0.00704, allocations: 11.98 kB / 1.005 GB, free: 8.562 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.007043, allocations: 0 / 1.005 GB, free: 8.562 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.007049, allocations: 4 kB / 1.005 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001967/0.007246, allocations: 0.5783 MB / 1.006 GB, free: 7.957 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.007247, allocations: 4.062 kB / 1.006 GB, free: 7.953 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.339e-05/0.0073, allocations: 77.02 kB / 1.006 GB, free: 7.859 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.522e-06/0.007307, allocations: 0 / 1.006 GB, free: 7.859 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.367e-06/0.007316, allocations: 0 / 1.006 GB, free: 7.859 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.825e-06/0.007324, allocations: 0 / 1.006 GB, free: 7.859 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.785e-05/0.007342, allocations: 7.984 kB / 1.006 GB, free: 7.852 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.007344, allocations: 0 / 1.006 GB, free: 7.852 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.433e-05/0.007369, allocations: 75.28 kB / 1.006 GB, free: 7.777 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.007369, allocations: 0 / 1.006 GB, free: 7.777 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000146/0.007515, allocations: 20 kB / 1.006 GB, free: 7.758 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.0002979/0.007813, allocations: 0.6085 MB / 1.007 GB, free: 7.121 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001219/0.007934, allocations: 15.98 kB / 1.007 GB, free: 7.105 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.007936, allocations: 0 / 1.007 GB, free: 7.105 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.282e-05/0.007969, allocations: 11.98 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.0001134/0.008082, allocations: 11.94 kB / 1.007 GB, free: 7.082 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004112/0.008493, allocations: 150.4 kB / 1.007 GB, free: 6.895 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.699e-05/0.00853, allocations: 59.34 kB / 1.007 GB, free: 6.816 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.514e-05/0.008545, allocations: 0 / 1.007 GB, free: 6.816 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.336e-05/0.008569, allocations: 8.5 kB / 1.007 GB, free: 6.809 MB / 0.9636 GB Notification: Performance of SimCode: time 5.81e-07/0.008569, allocations: 0 / 1.007 GB, free: 6.809 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07957/0.08814, allocations: 1.936 MB / 1.009 GB, free: 5.035 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.254/8.342, allocations: 6.422 kB / 1.009 GB, free: 5.031 MB / 0.9636 GB " [Timeout remaining time 292] (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: 12.9055986572057]