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.001304/0.001304, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001649/0.001649, allocations: 209.6 kB / 22.99 MB, free: 4.605 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.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.928/0.928, allocations: 149.9 MB / 463 MB, free: 10.39 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.002264/0.002264, allocations: 66.97 kB / 0.6411 GB, free: 10.14 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.1741, allocations: 89.17 MB / 0.7282 GB, free: 1.039 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5826/0.7567, allocations: 165.6 MB / 0.8899 GB, free: 15.57 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01741/0.7741, allocations: 12.02 MB / 0.9017 GB, free: 3.516 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001248/0.7754, allocations: 43.62 kB / 0.9017 GB, free: 3.473 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001575/0.7769, allocations: 437.1 kB / 0.9021 GB, free: 3.043 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00338/0.7803, allocations: 1.194 MB / 0.9033 GB, free: 1.844 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002054/0.7824, allocations: 0.7327 MB / 0.904 GB, free: 1.117 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00299/0.7854, allocations: 2.031 MB / 0.906 GB, free: 15.08 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001241/0.7866, allocations: 0.6176 MB / 0.9066 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004902/0.7915, allocations: 2.001 MB / 0.9085 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002004/0.7935, allocations: 0.6691 MB / 0.9092 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000293/0.7938, allocations: 80 kB / 0.9093 GB, free: 11.69 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00192/0.7957, allocations: 0.7208 MB / 0.91 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0006074/0.7963, allocations: 398.9 kB / 0.9103 GB, free: 10.57 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00101/0.7973, allocations: 422.1 kB / 0.9107 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002977/0.8003, allocations: 1.483 MB / 0.9122 GB, free: 8.672 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.8003, allocations: 4 kB / 0.9122 GB, free: 8.668 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.264e-06/0.8003, allocations: 0 / 0.9122 GB, free: 8.668 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.54e-05/0.8004, allocations: 0 / 0.9122 GB, free: 8.668 MB / 0.6856 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.002749/0.8031, allocations: 1.2 MB / 0.9134 GB, free: 7.434 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/0.8032, allocations: 12.03 kB / 0.9134 GB, free: 7.422 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002415/0.8034, allocations: 119.5 kB / 0.9135 GB, free: 7.297 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001422/0.8049, allocations: 223.2 kB / 0.9137 GB, free: 7.078 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001569/0.8064, allocations: 0.6038 MB / 0.9143 GB, free: 6.445 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.327e-05/0.8065, allocations: 58 kB / 0.9144 GB, free: 6.387 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001706/0.8067, allocations: 83.98 kB / 0.9144 GB, free: 6.305 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00165/0.8083, allocations: 1.066 MB / 0.9155 GB, free: 5.125 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.074e-05/0.8083, allocations: 7.938 kB / 0.9155 GB, free: 5.117 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.5e-05/0.8084, allocations: 32 kB / 0.9155 GB, free: 5.086 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.164e-05/0.8085, allocations: 29.31 kB / 0.9155 GB, free: 5.059 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001135/0.8096, allocations: 0.6099 MB / 0.9161 GB, free: 4.449 MB / 0.6856 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.005098/0.8147, allocations: 3.727 MB / 0.9198 GB, free: 0.582 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00083/0.8155, allocations: 468.8 kB / 0.9202 GB, free: 100 kB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003775/0.8159, allocations: 239 kB / 0.9205 GB, free: 15.86 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001596/0.8161, allocations: 19.98 kB / 0.9205 GB, free: 15.84 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.586e-05/0.8161, allocations: 48.62 kB / 0.9205 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=43): time 2.985e-06/0.8161, allocations: 3.938 kB / 0.9205 GB, free: 15.78 MB / 0.7012 GB Notification: Performance of matching and sorting (n=45): time 0.003111/0.8192, allocations: 1.533 MB / 0.922 GB, free: 14.21 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.805e-05/0.8193, allocations: 110.8 kB / 0.9221 GB, free: 14.08 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009681/0.8203, allocations: 0.7232 MB / 0.9228 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.13e-05/0.8203, allocations: 29.95 kB / 0.9229 GB, free: 13.31 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003647/0.8207, allocations: 432.5 kB / 0.9233 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001725/0.8208, allocations: 174.5 kB / 0.9234 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001786/0.821, allocations: 114.3 kB / 0.9235 GB, free: 12.59 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.8212, allocations: 337.9 kB / 0.9239 GB, free: 12.26 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003202/0.8215, allocations: 181.2 kB / 0.924 GB, free: 12.08 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006079/0.8221, allocations: 0.5617 MB / 0.9246 GB, free: 11.39 MB / 0.7012 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.00232/0.8244, allocations: 1.114 MB / 0.9257 GB, free: 10.19 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.8244, allocations: 0 / 0.9257 GB, free: 10.19 MB / 0.7012 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00114/0.8256, allocations: 0.6723 MB / 0.9263 GB, free: 9.508 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.8256, allocations: 8 kB / 0.9263 GB, free: 9.5 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/0.8256, allocations: 4 kB / 0.9263 GB, free: 9.496 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.975e-05/0.8256, allocations: 12 kB / 0.9264 GB, free: 9.484 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004665/0.8261, allocations: 119.8 kB / 0.9265 GB, free: 9.367 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.991e-05/0.8261, allocations: 19.92 kB / 0.9265 GB, free: 9.348 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005737/0.8267, allocations: 28.39 kB / 0.9265 GB, free: 9.32 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.822e-05/0.8268, allocations: 31.98 kB / 0.9265 GB, free: 9.289 MB / 0.7012 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.0004073/0.8272, allocations: 273.5 kB / 0.9268 GB, free: 9.012 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001864/0.8274, allocations: 91.42 kB / 0.9269 GB, free: 8.922 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001809/0.8275, allocations: 91.61 kB / 0.927 GB, free: 8.828 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.8276, allocations: 4 kB / 0.927 GB, free: 8.824 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.8276, allocations: 4.875 kB / 0.927 GB, free: 8.82 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008074/0.8284, allocations: 0.6924 MB / 0.9277 GB, free: 8.043 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002635/0.831, allocations: 1.52 MB / 0.9292 GB, free: 6.422 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.831, allocations: 4 kB / 0.9292 GB, free: 6.418 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004406/0.8315, allocations: 96.33 kB / 0.9292 GB, free: 6.324 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-05/0.8315, allocations: 12 kB / 0.9293 GB, free: 6.312 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.912e-05/0.8315, allocations: 19.88 kB / 0.9293 GB, free: 6.297 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.194e-06/0.8315, allocations: 4 kB / 0.9293 GB, free: 6.293 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.722e-06/0.8315, allocations: 11.88 kB / 0.9293 GB, free: 6.281 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001222/0.8327, allocations: 0.8768 MB / 0.9302 GB, free: 5.336 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000352/0.8331, allocations: 135.4 kB / 0.9303 GB, free: 5.203 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001205/0.8332, allocations: 12 kB / 0.9303 GB, free: 5.191 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004477/0.8337, allocations: 19.98 kB / 0.9303 GB, free: 5.172 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.315e-05/0.8337, allocations: 43.81 kB / 0.9304 GB, free: 5.129 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.441e-05/0.8338, allocations: 20 kB / 0.9304 GB, free: 5.109 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0006621/0.8344, allocations: 0.5107 MB / 0.9309 GB, free: 4.605 MB / 0.7012 GB Notification: Performance of sort global known variables: time 9e-08/0.8344, allocations: 4 kB / 0.9309 GB, free: 4.602 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.000775/0.8352, allocations: 199.9 kB / 0.9311 GB, free: 4.406 MB / 0.7012 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.001899/0.8371, allocations: 1.497 MB / 0.9325 GB, free: 2.848 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0008657/0.838, allocations: 463.8 kB / 0.933 GB, free: 2.395 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.838, allocations: 1.562 kB / 0.933 GB, free: 2.395 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0003201/0.8383, allocations: 209.5 kB / 0.9332 GB, free: 2.191 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002111/0.8404, allocations: 483.8 kB / 0.9336 GB, free: 1.75 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009637/0.85, allocations: 6.626 MB / 0.9401 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005381/0.8506, allocations: 440.8 kB / 0.9405 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0007219/0.8513, allocations: 199 kB / 0.9407 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004576/0.8518, allocations: 299.3 kB / 0.941 GB, free: 9.777 MB / 0.7169 GB Notification: Performance of SimCode: time 1.052e-06/0.8518, allocations: 0 / 0.941 GB, free: 9.777 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06431/0.9161, allocations: 24.59 MB / 0.965 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.63, allocations: 1.75 kB / 0.965 GB, free: 1.758 MB / 0.7325 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.38221088377759] Failed to read output from testmodel.py, exit status != 0: 12.751854092814028 12.767702906 11.963995412 Calling exit ...