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.0007905/0.0007905, allocations: 104.3 kB / 19.72 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.001049/0.001049, allocations: 207.8 kB / 23.02 MB, free: 2.961 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 0.9427/0.9427, allocations: 230.6 MB / 256.8 MB, free: 9.586 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.033/2.033, allocations: 0.5045 GB / 0.8104 GB, free: 2.676 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.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 0.001385/0.001385, allocations: 71.89 kB / 1.177 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.822/0.8234, allocations: 180 MB / 1.352 GB, free: 1.637 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001809/0.8252, allocations: 1.307 MB / 1.354 GB, free: 328 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0007208/0.826, allocations: 0.5215 MB / 1.354 GB, free: 15.8 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.439e-05/0.826, allocations: 4 kB / 1.354 GB, free: 15.79 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 1.941e-05/0.826, allocations: 3.984 kB / 1.354 GB, free: 15.79 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 4.253e-05/0.826, allocations: 3.938 kB / 1.354 GB, free: 15.79 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004216/0.8265, allocations: 138.5 kB / 1.354 GB, free: 15.65 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 5.396e-05/0.8265, allocations: 19.94 kB / 1.354 GB, free: 15.63 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.123e-05/0.8266, allocations: 3.984 kB / 1.354 GB, free: 15.63 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.338e-05/0.8266, allocations: 15.92 kB / 1.354 GB, free: 15.61 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.633e-05/0.8266, allocations: 8 kB / 1.354 GB, free: 15.61 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.06e-05/0.8266, allocations: 3.938 kB / 1.354 GB, free: 15.6 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002826/0.8269, allocations: 267.5 kB / 1.355 GB, free: 15.34 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.463e-05/0.8269, allocations: 3.984 kB / 1.355 GB, free: 15.34 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 1.945e-05/0.827, allocations: 11.92 kB / 1.355 GB, free: 15.32 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001815/0.8271, allocations: 137.8 kB / 1.355 GB, free: 15.19 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.8271, allocations: 0 / 1.355 GB, free: 15.19 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.485e-06/0.8271, allocations: 0 / 1.355 GB, free: 15.19 MB / 1.042 GB Notification: Performance of Transformations before backend: time 9.227e-06/0.8272, allocations: 0 / 1.355 GB, free: 15.19 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003446/0.8275, allocations: 282 kB / 1.355 GB, free: 14.88 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.8275, allocations: 12.92 kB / 1.355 GB, free: 14.87 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002803/0.8278, allocations: 38.73 kB / 1.355 GB, free: 14.82 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.248e-05/0.8278, allocations: 4.875 kB / 1.355 GB, free: 14.82 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.645e-05/0.8279, allocations: 114.4 kB / 1.355 GB, free: 14.68 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-06/0.8279, allocations: 384 / 1.355 GB, free: 14.68 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.995e-06/0.8279, allocations: 4.375 kB / 1.355 GB, free: 14.68 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.051e-05/0.828, allocations: 38.25 kB / 1.355 GB, free: 14.64 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.828, allocations: 7.938 kB / 1.355 GB, free: 14.63 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.828, allocations: 0 / 1.355 GB, free: 14.63 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.828, allocations: 4 kB / 1.355 GB, free: 14.62 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.972e-05/0.8281, allocations: 15.98 kB / 1.355 GB, free: 14.61 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002643/0.8284, allocations: 216.1 kB / 1.356 GB, free: 14.36 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.8285, allocations: 50.5 kB / 1.356 GB, free: 14.3 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.657e-05/0.8285, allocations: 20.84 kB / 1.356 GB, free: 14.27 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.8286, allocations: 0 / 1.356 GB, free: 14.27 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.692e-05/0.8286, allocations: 34.56 kB / 1.356 GB, free: 14.23 MB / 1.042 GB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.8286, allocations: 0 / 1.356 GB, free: 14.23 MB / 1.042 GB Notification: Performance of matching and sorting (n=4): time 0.0001415/0.8287, allocations: 61.62 kB / 1.356 GB, free: 14.16 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/0.8288, allocations: 51.41 kB / 1.356 GB, free: 14.1 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.351e-05/0.8288, allocations: 101.9 kB / 1.356 GB, free: 13.99 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/0.8288, allocations: 29.69 kB / 1.356 GB, free: 13.96 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 3.471e-05/0.8289, allocations: 88.08 kB / 1.356 GB, free: 13.87 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 1.069e-05/0.8289, allocations: 19.84 kB / 1.356 GB, free: 13.85 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.195e-05/0.8289, allocations: 13.72 kB / 1.356 GB, free: 13.83 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.879e-05/0.829, allocations: 318.8 kB / 1.356 GB, free: 13.51 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.511e-05/0.829, allocations: 4 kB / 1.356 GB, free: 13.5 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.368e-05/0.829, allocations: 21.72 kB / 1.356 GB, free: 13.48 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.079e-05/0.829, allocations: 38.08 kB / 1.356 GB, free: 13.43 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.829, allocations: 11.88 kB / 1.356 GB, free: 13.42 MB / 1.042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.2e-05/0.8291, allocations: 53.67 kB / 1.356 GB, free: 13.36 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.8291, allocations: 8 kB / 1.356 GB, free: 13.36 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.8291, allocations: 0 / 1.356 GB, free: 13.36 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.8291, allocations: 0 / 1.356 GB, free: 13.36 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.69e-05/0.8292, allocations: 8 kB / 1.356 GB, free: 13.35 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.8292, allocations: 3.938 kB / 1.356 GB, free: 13.34 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.515e-05/0.8292, allocations: 7.938 kB / 1.356 GB, free: 13.34 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.8292, allocations: 0 / 1.356 GB, free: 13.34 MB / 1.042 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 5.267e-05/0.8293, allocations: 117.8 kB / 1.357 GB, free: 13.21 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.273e-05/0.8293, allocations: 11.92 kB / 1.357 GB, free: 13.2 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001055/0.8294, allocations: 61.36 kB / 1.357 GB, free: 13.13 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.8294, allocations: 0 / 1.357 GB, free: 13.13 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.8294, allocations: 0 / 1.357 GB, free: 13.13 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.8294, allocations: 0 / 1.357 GB, free: 13.13 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.621e-05/0.8295, allocations: 132.7 kB / 1.357 GB, free: 12.96 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.8295, allocations: 0 / 1.357 GB, free: 12.96 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.153e-05/0.8295, allocations: 7.938 kB / 1.357 GB, free: 12.95 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.8295, allocations: 0 / 1.357 GB, free: 12.95 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.8295, allocations: 0 / 1.357 GB, free: 12.95 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.8295, allocations: 8 kB / 1.357 GB, free: 12.95 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.8295, allocations: 0 / 1.357 GB, free: 12.95 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.827e-05/0.8296, allocations: 147.5 kB / 1.357 GB, free: 12.79 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.616e-06/0.8296, allocations: 11.89 kB / 1.357 GB, free: 12.77 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.698e-06/0.8296, allocations: 3.984 kB / 1.357 GB, free: 12.77 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.5e-05/0.8296, allocations: 4 kB / 1.357 GB, free: 12.77 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.155e-05/0.8297, allocations: 128 / 1.357 GB, free: 12.77 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.8297, allocations: 4 kB / 1.357 GB, free: 12.76 MB / 1.042 GB Notification: Performance of sorting global known variables: time 2.377e-05/0.8297, allocations: 79.28 kB / 1.357 GB, free: 12.68 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.8297, allocations: 0 / 1.357 GB, free: 12.68 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001694/0.8298, allocations: 23.92 kB / 1.357 GB, free: 12.66 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 (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.0003223/0.8302, allocations: 0.7045 MB / 1.358 GB, free: 11.93 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 8.116e-05/0.8303, allocations: 23.98 kB / 1.358 GB, free: 11.9 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.8303, allocations: 0 / 1.358 GB, free: 11.9 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 1.118e-05/0.8303, allocations: 11.94 kB / 1.358 GB, free: 11.89 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001591/0.8304, allocations: 4 kB / 1.358 GB, free: 11.89 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003497/0.8308, allocations: 157 kB / 1.358 GB, free: 11.69 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.038e-05/0.8308, allocations: 63.36 kB / 1.358 GB, free: 11.61 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 2.617e-05/0.8308, allocations: 12.05 kB / 1.358 GB, free: 11.6 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.47e-05/0.8309, allocations: 7.438 kB / 1.358 GB, free: 11.59 MB / 1.042 GB Notification: Performance of SimCode: time 4.81e-07/0.8309, allocations: 3.938 kB / 1.358 GB, free: 11.59 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07414/0.905, allocations: 1.896 MB / 1.36 GB, free: 9.824 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.898/7.803, allocations: 6.812 kB / 1.36 GB, free: 9.82 MB / 1.042 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.768932197242975]