Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.00125/0.00125, allocations: 119 kB / 19.69 MB, free: 2.199 MB / 14.72 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.001388/0.001388, allocations: 224.3 kB / 23.01 MB, free: 5.047 MB / 14.72 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.496/1.496, allocations: 230.6 MB / 256.8 MB, free: 7.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9416/0.9416, allocations: 150 MB / 463.2 MB, free: 10.45 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 62.88 kB / 0.6413 GB, free: 10.3 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.1915, allocations: 89.17 MB / 0.7284 GB, free: 1.195 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5785/0.77, allocations: 191.2 MB / 0.9151 GB, free: 7.988 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.0163/0.7863, allocations: 13.26 MB / 0.9281 GB, free: 10.69 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001132/0.7874, allocations: 43.62 kB / 0.9281 GB, free: 10.65 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001341/0.7888, allocations: 445.1 kB / 0.9285 GB, free: 10.21 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.003033/0.7918, allocations: 1.217 MB / 0.9297 GB, free: 8.988 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001813/0.7936, allocations: 0.7421 MB / 0.9304 GB, free: 8.25 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002665/0.7963, allocations: 2.059 MB / 0.9324 GB, free: 6.184 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000925/0.7972, allocations: 0.6294 MB / 0.9331 GB, free: 5.531 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004548/0.8018, allocations: 2.043 MB / 0.9351 GB, free: 3.48 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001612/0.8034, allocations: 0.6954 MB / 0.9357 GB, free: 2.789 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001216/0.8035, allocations: 80 kB / 0.9358 GB, free: 2.711 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001807/0.8053, allocations: 0.9315 MB / 0.9367 GB, free: 1.777 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0004246/0.8057, allocations: 398.8 kB / 0.9371 GB, free: 1.387 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0005554/0.8063, allocations: 0.4937 MB / 0.9376 GB, free: 0.8906 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002155/0.8084, allocations: 1.502 MB / 0.9391 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.8084, allocations: 0 / 0.9391 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.452e-06/0.8084, allocations: 3.938 kB / 0.9391 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.364e-05/0.8085, allocations: 4 kB / 0.9391 GB, free: 15.38 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001948/0.8104, allocations: 1.193 MB / 0.9402 GB, free: 14.14 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.8105, allocations: 8.031 kB / 0.9402 GB, free: 14.14 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001454/0.8106, allocations: 119.3 kB / 0.9403 GB, free: 14.01 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001143/0.8117, allocations: 227.2 kB / 0.9406 GB, free: 13.79 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001131/0.8129, allocations: 0.5999 MB / 0.9411 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.848e-05/0.8129, allocations: 62 kB / 0.9412 GB, free: 13.1 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.813, allocations: 83.95 kB / 0.9413 GB, free: 13.02 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001358/0.8144, allocations: 0.9384 MB / 0.9422 GB, free: 12 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.821e-05/0.8144, allocations: 8.875 kB / 0.9422 GB, free: 11.99 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.111e-05/0.8145, allocations: 35.92 kB / 0.9422 GB, free: 11.96 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.194e-05/0.8145, allocations: 33.25 kB / 0.9423 GB, free: 11.93 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/0.8156, allocations: 0.6177 MB / 0.9429 GB, free: 11.31 MB / 0.7169 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004816/0.8204, allocations: 4.599 MB / 0.9474 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007771/0.8211, allocations: 464.8 kB / 0.9478 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003532/0.8215, allocations: 228.2 kB / 0.948 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000152/0.8217, allocations: 23.98 kB / 0.9481 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.143e-05/0.8217, allocations: 51.31 kB / 0.9481 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=43): time 1.694e-06/0.8217, allocations: 0 / 0.9481 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of matching and sorting (n=45): time 0.00279/0.8245, allocations: 1.533 MB / 0.9496 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.941e-05/0.8246, allocations: 115 kB / 0.9497 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008628/0.8254, allocations: 0.7116 MB / 0.9504 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.49e-05/0.8255, allocations: 37.7 kB / 0.9504 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003369/0.8258, allocations: 424.5 kB / 0.9508 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001494/0.826, allocations: 174.5 kB / 0.951 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000165/0.8261, allocations: 114.3 kB / 0.9511 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.8263, allocations: 330 kB / 0.9514 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002972/0.8266, allocations: 189.2 kB / 0.9516 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004933/0.8271, allocations: 420.9 kB / 0.952 GB, free: 1.406 MB / 0.7169 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002227/0.8293, allocations: 1.102 MB / 0.9531 GB, free: 224 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.254e-05/0.8293, allocations: 4 kB / 0.9531 GB, free: 220 kB / 0.7169 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001044/0.8303, allocations: 0.672 MB / 0.9538 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.8304, allocations: 11.98 kB / 0.9538 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.8304, allocations: 12.47 kB / 0.9538 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.664e-05/0.8304, allocations: 8 kB / 0.9538 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004529/0.8309, allocations: 131.8 kB / 0.9539 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.147e-05/0.8309, allocations: 11.94 kB / 0.9539 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004861/0.8314, allocations: 27.92 kB / 0.954 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-05/0.8314, allocations: 28 kB / 0.954 GB, free: 15.31 MB / 0.7325 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0003684/0.8318, allocations: 276.3 kB / 0.9542 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001546/0.8319, allocations: 95.45 kB / 0.9543 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001681/0.8321, allocations: 87.66 kB / 0.9544 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.8321, allocations: 8 kB / 0.9544 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.8321, allocations: 4 kB / 0.9544 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007417/0.8329, allocations: 0.7002 MB / 0.9551 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002508/0.8354, allocations: 1.607 MB / 0.9567 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/0.8354, allocations: 12.08 kB / 0.9567 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004432/0.8358, allocations: 95.89 kB / 0.9568 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.1e-05/0.8358, allocations: 8 kB / 0.9568 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.267e-05/0.8359, allocations: 12 kB / 0.9568 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.854e-06/0.8359, allocations: 7.938 kB / 0.9568 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.8359, allocations: 7.938 kB / 0.9568 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.837, allocations: 0.8768 MB / 0.9577 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003035/0.8373, allocations: 135.4 kB / 0.9578 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.643e-05/0.8374, allocations: 16 kB / 0.9578 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004173/0.8378, allocations: 32.06 kB / 0.9578 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.163e-05/0.8379, allocations: 35.89 kB / 0.9579 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.431e-05/0.8379, allocations: 23.98 kB / 0.9579 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006179/0.8386, allocations: 0.5068 MB / 0.9584 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of sort global known variables: time 7e-08/0.8386, allocations: 0 / 0.9584 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000698/0.8393, allocations: 200 kB / 0.9586 GB, free: 10.33 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (45): * Single equations (assignments): 45 * 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.001783/0.841, allocations: 1.499 MB / 0.9601 GB, free: 8.777 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008179/0.8419, allocations: 457.3 kB / 0.9605 GB, free: 8.332 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.8419, allocations: 4 kB / 0.9605 GB, free: 8.328 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002945/0.8422, allocations: 200.7 kB / 0.9607 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001944/0.8441, allocations: 476.7 kB / 0.9611 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008746/0.8528, allocations: 6.649 MB / 0.9676 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007503/0.8536, allocations: 1.036 MB / 0.9686 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0006456/0.8542, allocations: 199 kB / 0.9688 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004055/0.8546, allocations: 299.3 kB / 0.9691 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of SimCode: time 1.042e-06/0.8547, allocations: 0 / 0.9691 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05869/0.9133, allocations: 22.77 MB / 0.9914 GB, free: 8.695 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.68, allocations: 6.5 kB / 0.9914 GB, free: 8.691 MB / 0.7637 GB " [Timeout remaining time 647] (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.59501033899869] Failed to read output from testmodel.py, exit status != 0: 12.802686708000692 12.827541868 12.014529696 Calling exit ...