Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.001202/0.001202, allocations: 80.52 kB / 19.95 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.001284/0.001284, 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.9063/0.9063, 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.868/1.868, allocations: 389.6 MB / 0.6343 GB, free: 12.57 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.InverseFlowFunctions,fileNamePrefix="Buildings_13_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_13_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 1.001 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.482e-05/1.623e-05, allocations: 13.67 kB / 1.001 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.00146/0.001476, allocations: 1.302 MB / 1.002 GB, free: 12.18 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0006388/0.002115, allocations: 0.5261 MB / 1.002 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.119e-05/0.002136, allocations: 0 / 1.002 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.528e-05/0.002152, allocations: 4 kB / 1.002 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.826e-05/0.00219, allocations: 3.984 kB / 1.002 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003811/0.002571, allocations: 146 kB / 1.003 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.407e-05/0.002625, allocations: 23.86 kB / 1.003 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.674e-05/0.002662, allocations: 0 / 1.003 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.324e-05/0.002695, allocations: 15.98 kB / 1.003 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.633e-05/0.002741, allocations: 7.984 kB / 1.003 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.002754, allocations: 0 / 1.003 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002653/0.003019, allocations: 283.3 kB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.249e-05/0.003031, allocations: 0 / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.682e-05/0.003048, allocations: 4 kB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.003231, allocations: 151.5 kB / 1.003 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.003233, allocations: 0 / 1.003 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.21e-07/0.003234, allocations: 0 / 1.003 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.407e-06/0.003237, allocations: 0 / 1.003 GB, free: 11.03 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003136/0.003551, allocations: 282 kB / 1.003 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.003587, allocations: 9.344 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.987e-05/0.003617, allocations: 38.75 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.058e-05/0.003637, allocations: 12.83 kB / 1.003 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.535e-05/0.003703, allocations: 105.7 kB / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.236e-06/0.003711, allocations: 4.375 kB / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.524e-06/0.003719, allocations: 4.359 kB / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.131e-05/0.0038, allocations: 38.27 kB / 1.004 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.003807, allocations: 4.125 kB / 1.004 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.003816, allocations: 4.359 kB / 1.004 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.00382, allocations: 4.125 kB / 1.004 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.828e-05/0.003858, allocations: 19.98 kB / 1.004 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002362/0.004095, allocations: 224.1 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001538/0.004249, allocations: 46.5 kB / 1.004 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.5e-05/0.004274, allocations: 16.92 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.004289, allocations: 0 / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.004308, allocations: 38.5 kB / 1.004 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 7.42e-07/0.004309, allocations: 0 / 1.004 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0001282/0.004437, allocations: 57.67 kB / 1.004 GB, free: 9.996 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.545e-05/0.004462, allocations: 59.34 kB / 1.004 GB, free: 9.926 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.168e-05/0.004514, allocations: 101.8 kB / 1.004 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.004524, allocations: 25.7 kB / 1.004 GB, free: 9.785 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.25e-05/0.004556, allocations: 84.08 kB / 1.004 GB, free: 9.699 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 9.498e-06/0.004566, allocations: 15.89 kB / 1.004 GB, free: 9.684 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.614e-05/0.004592, allocations: 21.72 kB / 1.004 GB, free: 9.656 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.622e-05/0.004658, allocations: 314.8 kB / 1.005 GB, free: 9.34 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.401e-05/0.004672, allocations: 4 kB / 1.005 GB, free: 9.336 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.399e-05/0.004696, allocations: 25.7 kB / 1.005 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.53e-05/0.004732, allocations: 21.72 kB / 1.005 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.004733, allocations: 4 kB / 1.005 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of matching and sorting (n=5) (initialization): time 5.894e-05/0.004792, allocations: 61.56 kB / 1.005 GB, free: 9.207 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.004803, allocations: 4 kB / 1.005 GB, free: 9.203 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.004808, allocations: 8.031 kB / 1.005 GB, free: 9.195 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.004818, allocations: 0 / 1.005 GB, free: 9.195 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.926e-05/0.004847, allocations: 11.98 kB / 1.005 GB, free: 9.184 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.004851, allocations: 128 / 1.005 GB, free: 9.184 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.612e-05/0.004867, allocations: 7.953 kB / 1.005 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.004872, allocations: 4 kB / 1.005 GB, free: 9.172 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.661e-05/0.004919, allocations: 113.8 kB / 1.005 GB, free: 9.051 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.19e-05/0.004931, allocations: 7.875 kB / 1.005 GB, free: 9.043 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.187e-05/0.005022, allocations: 57.8 kB / 1.005 GB, free: 8.973 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.005025, allocations: 7.984 kB / 1.005 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.005028, allocations: 4 kB / 1.005 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.005031, allocations: 0 / 1.005 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.248e-05/0.005123, allocations: 120.8 kB / 1.005 GB, free: 8.801 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.005124, allocations: 48 / 1.005 GB, free: 8.801 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.876e-05/0.005143, allocations: 15.97 kB / 1.005 GB, free: 8.785 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.005146, allocations: 3.938 kB / 1.005 GB, free: 8.781 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.999e-06/0.005151, allocations: 0 / 1.005 GB, free: 8.781 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.005152, allocations: 0 / 1.005 GB, free: 8.781 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.005154, allocations: 7.875 kB / 1.005 GB, free: 8.773 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.987e-05/0.005223, allocations: 143.5 kB / 1.005 GB, free: 8.617 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.995e-06/0.005231, allocations: 19.83 kB / 1.005 GB, free: 8.598 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.025e-06/0.00524, allocations: 0 / 1.005 GB, free: 8.598 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.674e-05/0.005266, allocations: 0 / 1.005 GB, free: 8.598 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.551e-05/0.005282, allocations: 11.98 kB / 1.005 GB, free: 8.586 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-06/0.005284, allocations: 0 / 1.005 GB, free: 8.586 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.285e-05/0.005306, allocations: 79.28 kB / 1.005 GB, free: 8.508 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005306, allocations: 0 / 1.005 GB, free: 8.508 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000164/0.00547, allocations: 15.94 kB / 1.005 GB, free: 8.492 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002786/0.005749, allocations: 0.7006 MB / 1.006 GB, free: 7.766 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 6.77e-05/0.005817, allocations: 24 kB / 1.006 GB, free: 7.742 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.005818, allocations: 0 / 1.006 GB, free: 7.742 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.406e-05/0.005832, allocations: 19.92 kB / 1.006 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001468/0.005979, allocations: 3.938 kB / 1.006 GB, free: 7.719 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003116/0.006291, allocations: 150.4 kB / 1.006 GB, free: 7.531 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.756e-05/0.006328, allocations: 63.34 kB / 1.006 GB, free: 7.449 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.231e-05/0.00635, allocations: 4.062 kB / 1.006 GB, free: 7.445 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.261e-05/0.006373, allocations: 12.5 kB / 1.006 GB, free: 7.434 MB / 0.9636 GB Notification: Performance of SimCode: time 3.6e-07/0.006373, allocations: 3.938 kB / 1.006 GB, free: 7.43 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07886/0.08523, allocations: 2.034 MB / 1.008 GB, free: 5.535 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.338/7.423, allocations: 8.25 kB / 1.008 GB, free: 5.535 MB / 0.9636 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu) > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_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_InverseFlowFunctions.fmu) > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.067019605077803]