Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.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.0007774/0.0007774, allocations: 108.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.0007855/0.0007855, allocations: 220.3 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 0.9192/0.9192, allocations: 230.6 MB / 256.8 MB, free: 9.605 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 1.925/1.925, allocations: 0.5046 GB / 0.8104 GB, free: 2.734 MB / 0.6511 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.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,fileNamePrefix="Buildings_13_Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,fileNamePrefix="Buildings_13_Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 79.88 kB / 1.177 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7185/0.7197, allocations: 180 MB / 1.352 GB, free: 1.676 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01075/0.7305, allocations: 14.32 MB / 1.366 GB, free: 3.305 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.004366/0.7349, allocations: 4.246 MB / 1.371 GB, free: 15.05 MB / 1.057 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004814/0.7353, allocations: 27.75 kB / 1.371 GB, free: 15.02 MB / 1.057 GB Notification: Performance of NFTyping.typeComponents: time 0.0005675/0.7359, allocations: 194.6 kB / 1.371 GB, free: 14.83 MB / 1.057 GB Notification: Performance of NFTyping.typeBindings: time 0.001184/0.7371, allocations: 0.5803 MB / 1.371 GB, free: 14.25 MB / 1.057 GB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.7382, allocations: 0.5764 MB / 1.372 GB, free: 13.68 MB / 1.057 GB Notification: Performance of NFFlatten.flatten: time 0.0009555/0.7392, allocations: 0.9232 MB / 1.373 GB, free: 12.75 MB / 1.057 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000311/0.7395, allocations: 236.3 kB / 1.373 GB, free: 12.51 MB / 1.057 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005538/0.74, allocations: 474.1 kB / 1.374 GB, free: 12.04 MB / 1.057 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002856/0.7403, allocations: 286.6 kB / 1.374 GB, free: 11.76 MB / 1.057 GB Notification: Performance of NFPackage.collectConstants: time 3.244e-05/0.7404, allocations: 24 kB / 1.374 GB, free: 11.74 MB / 1.057 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003574/0.7407, allocations: 187.7 kB / 1.374 GB, free: 11.55 MB / 1.057 GB Notification: Performance of NFScalarize.scalarize: time 8.175e-05/0.7408, allocations: 87.55 kB / 1.374 GB, free: 11.47 MB / 1.057 GB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.7409, allocations: 163.1 kB / 1.374 GB, free: 11.31 MB / 1.057 GB Notification: Performance of NFConvertDAE.convert: time 0.0005253/0.7414, allocations: 0.5001 MB / 1.375 GB, free: 10.81 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.7414, allocations: 0 / 1.375 GB, free: 10.81 MB / 1.057 GB Notification: Performance of FrontEnd: time 2.114e-06/0.7414, allocations: 4 kB / 1.375 GB, free: 10.8 MB / 1.057 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.7415, allocations: 0 / 1.375 GB, free: 10.8 MB / 1.057 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007888/0.7422, allocations: 0.6407 MB / 1.375 GB, free: 10.13 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.7423, allocations: 16.86 kB / 1.375 GB, free: 10.11 MB / 1.057 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.584e-05/0.7423, allocations: 54.73 kB / 1.375 GB, free: 10.05 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.418e-05/0.7424, allocations: 44.66 kB / 1.375 GB, free: 10.01 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004517/0.7429, allocations: 335.2 kB / 1.376 GB, free: 9.66 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.7429, allocations: 24.31 kB / 1.376 GB, free: 9.637 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.634e-05/0.7429, allocations: 28 kB / 1.376 GB, free: 9.609 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002476/0.7431, allocations: 195.3 kB / 1.376 GB, free: 9.414 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.7432, allocations: 0 / 1.376 GB, free: 9.414 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.7432, allocations: 8 kB / 1.376 GB, free: 9.406 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.7432, allocations: 4 kB / 1.376 GB, free: 9.402 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001622/0.7433, allocations: 137.6 kB / 1.376 GB, free: 9.27 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008993/0.7442, allocations: 0.6856 MB / 1.377 GB, free: 8.539 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003156/0.7446, allocations: 114.6 kB / 1.377 GB, free: 8.418 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.587e-05/0.7446, allocations: 48.83 kB / 1.377 GB, free: 8.367 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001041/0.7447, allocations: 23.98 kB / 1.377 GB, free: 8.344 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.7447, allocations: 38.56 kB / 1.377 GB, free: 8.297 MB / 1.057 GB Notification: Performance of pre-optimization done (n=12): time 1.683e-06/0.7447, allocations: 0 / 1.377 GB, free: 8.297 MB / 1.057 GB Notification: Performance of matching and sorting (n=12): time 0.0002669/0.745, allocations: 177.3 kB / 1.377 GB, free: 8.117 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/0.745, allocations: 59.33 kB / 1.377 GB, free: 8.047 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003334/0.7454, allocations: 430 kB / 1.378 GB, free: 7.617 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.7454, allocations: 29.7 kB / 1.378 GB, free: 7.582 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.7455, allocations: 216.4 kB / 1.378 GB, free: 7.367 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.7455, allocations: 39.67 kB / 1.378 GB, free: 7.328 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.571e-05/0.7456, allocations: 53.66 kB / 1.378 GB, free: 7.27 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 8.785e-05/0.7457, allocations: 354.7 kB / 1.378 GB, free: 6.914 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.7e-05/0.7457, allocations: 55.97 kB / 1.378 GB, free: 6.859 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001466/0.7459, allocations: 263.2 kB / 1.379 GB, free: 6.547 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.746, allocations: 143.2 kB / 1.379 GB, free: 6.395 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.746, allocations: 4 kB / 1.379 GB, free: 6.391 MB / 1.057 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002422/0.7463, allocations: 213.3 kB / 1.379 GB, free: 6.176 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.7463, allocations: 4 kB / 1.379 GB, free: 6.172 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.7463, allocations: 4 kB / 1.379 GB, free: 6.168 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.7463, allocations: 0 / 1.379 GB, free: 6.168 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.7464, allocations: 43.92 kB / 1.379 GB, free: 6.125 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.7464, allocations: 0 / 1.379 GB, free: 6.125 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001452/0.7466, allocations: 43.75 kB / 1.379 GB, free: 6.082 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/0.7466, allocations: 12 kB / 1.379 GB, free: 6.07 MB / 1.057 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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 0.0001052/0.7467, allocations: 149.8 kB / 1.379 GB, free: 5.914 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.729e-05/0.7467, allocations: 39.72 kB / 1.379 GB, free: 5.875 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002443/0.747, allocations: 199.1 kB / 1.379 GB, free: 5.676 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.747, allocations: 0 / 1.379 GB, free: 5.676 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.747, allocations: 0 / 1.379 GB, free: 5.676 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.747, allocations: 7.984 kB / 1.379 GB, free: 5.668 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005146/0.7475, allocations: 0.5709 MB / 1.38 GB, free: 5.035 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.7475, allocations: 0 / 1.38 GB, free: 5.035 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.616e-05/0.7476, allocations: 31.92 kB / 1.38 GB, free: 5.004 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.7476, allocations: 4 kB / 1.38 GB, free: 5 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.7476, allocations: 0 / 1.38 GB, free: 5 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.7476, allocations: 7.938 kB / 1.38 GB, free: 4.992 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.7476, allocations: 0 / 1.38 GB, free: 4.992 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001932/0.7478, allocations: 298.7 kB / 1.38 GB, free: 4.672 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 6.676e-05/0.7479, allocations: 55.69 kB / 1.38 GB, free: 4.617 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.707e-05/0.7479, allocations: 4 kB / 1.38 GB, free: 4.613 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.748, allocations: 15.92 kB / 1.38 GB, free: 4.598 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.9e-05/0.748, allocations: 7.984 kB / 1.38 GB, free: 4.59 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.748, allocations: 12.28 kB / 1.38 GB, free: 4.578 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0002466/0.7483, allocations: 303.1 kB / 1.381 GB, free: 4.289 MB / 1.057 GB Notification: Performance of sort global known variables: time 8e-08/0.7483, allocations: 0 / 1.381 GB, free: 4.289 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0003145/0.7486, allocations: 111.7 kB / 1.381 GB, free: 4.18 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0005732/0.7492, allocations: 0.9326 MB / 1.382 GB, free: 3.211 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0002166/0.7494, allocations: 131.8 kB / 1.382 GB, free: 3.082 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.7494, allocations: 4 kB / 1.382 GB, free: 3.078 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 6.084e-05/0.7494, allocations: 55.86 kB / 1.382 GB, free: 3.023 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005483/0.75, allocations: 179.1 kB / 1.382 GB, free: 2.855 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002947/0.7529, allocations: 3.186 MB / 1.385 GB, free: 15.54 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001244/0.7531, allocations: 203.2 kB / 1.385 GB, free: 15.32 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.0001901/0.7533, allocations: 67 kB / 1.385 GB, free: 15.25 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.7534, allocations: 119.4 kB / 1.386 GB, free: 15.14 MB / 1.073 GB Notification: Performance of SimCode: time 6.61e-07/0.7534, allocations: 4 kB / 1.386 GB, free: 15.13 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1067/0.8601, allocations: 12.17 MB / 1.397 GB, free: 3.324 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.144/8.004, allocations: 8 kB / 1.397 GB, free: 3.316 MB / 1.073 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; mkfifo Buildings_13_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; head -c 1048576 < Buildings_13_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe >> ../files/Buildings_13_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.fmu) > Buildings_13_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_fmpy.pipe ; mkfifo Buildings_13_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_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_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.fmu) > Buildings_13_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.691987448371947]