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.001381/0.001381, 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.001712/0.001712, allocations: 223.2 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.402/1.402, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.9317/0.9317, allocations: 150 MB / 463.2 MB, free: 10.46 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.002075/0.002075, allocations: 67.09 kB / 0.6413 GB, free: 10.36 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1701, allocations: 89.18 MB / 0.7284 GB, free: 1.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5867/0.7567, allocations: 191.2 MB / 0.9151 GB, free: 8.051 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01693/0.7736, allocations: 13.24 MB / 0.928 GB, free: 10.77 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001095/0.7747, allocations: 43.62 kB / 0.9281 GB, free: 10.72 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001278/0.776, allocations: 457 kB / 0.9285 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.00288/0.7789, allocations: 1.213 MB / 0.9297 GB, free: 9.055 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.00179/0.7807, allocations: 0.7379 MB / 0.9304 GB, free: 8.32 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002612/0.7833, allocations: 2.054 MB / 0.9324 GB, free: 6.262 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00103/0.7843, allocations: 0.6372 MB / 0.9331 GB, free: 5.602 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004304/0.7886, allocations: 2.047 MB / 0.9351 GB, free: 3.547 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001641/0.7903, allocations: 0.6997 MB / 0.9357 GB, free: 2.852 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.000148/0.7904, allocations: 84 kB / 0.9358 GB, free: 2.77 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001776/0.7922, allocations: 0.9276 MB / 0.9367 GB, free: 1.84 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0004226/0.7926, allocations: 394.9 kB / 0.9371 GB, free: 1.453 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0005713/0.7932, allocations: 0.5015 MB / 0.9376 GB, free: 0.9492 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002126/0.7953, allocations: 1.502 MB / 0.9391 GB, free: 15.44 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.7953, allocations: 3.984 kB / 0.9391 GB, free: 15.44 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.763e-06/0.7953, allocations: 0 / 0.9391 GB, free: 15.44 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.108e-05/0.7953, allocations: 0 / 0.9391 GB, free: 15.44 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.001982/0.7973, allocations: 1.193 MB / 0.9402 GB, free: 14.21 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.7974, allocations: 8.031 kB / 0.9402 GB, free: 14.2 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001441/0.7975, allocations: 122.5 kB / 0.9404 GB, free: 14.07 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001146/0.7987, allocations: 219.2 kB / 0.9406 GB, free: 13.86 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001165/0.7998, allocations: 0.6116 MB / 0.9412 GB, free: 13.22 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.315e-05/0.7999, allocations: 59.62 kB / 0.9412 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/0.8, allocations: 79.95 kB / 0.9413 GB, free: 13.08 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001349/0.8014, allocations: 0.9404 MB / 0.9422 GB, free: 12.06 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.8014, allocations: 0 / 0.9422 GB, free: 12.06 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-05/0.8014, allocations: 31.98 kB / 0.9422 GB, free: 12.03 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-05/0.8015, allocations: 37.25 kB / 0.9423 GB, free: 11.99 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009816/0.8025, allocations: 0.6138 MB / 0.9429 GB, free: 11.38 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.004598/0.8071, allocations: 4.602 MB / 0.9474 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007728/0.8078, allocations: 463.6 kB / 0.9478 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003436/0.8082, allocations: 234.4 kB / 0.948 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001469/0.8083, allocations: 23.98 kB / 0.9481 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/0.8084, allocations: 46.5 kB / 0.9481 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=43): time 1.964e-06/0.8084, allocations: 0 / 0.9481 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of matching and sorting (n=45): time 0.002666/0.811, allocations: 1.533 MB / 0.9496 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.802e-05/0.8111, allocations: 115.1 kB / 0.9497 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008408/0.8119, allocations: 0.7116 MB / 0.9504 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.486e-05/0.812, allocations: 37.7 kB / 0.9504 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003348/0.8123, allocations: 424.5 kB / 0.9508 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001664/0.8125, allocations: 170.5 kB / 0.951 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001738/0.8127, allocations: 118.3 kB / 0.9511 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002334/0.8129, allocations: 330 kB / 0.9514 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000318/0.8132, allocations: 189.1 kB / 0.9516 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005143/0.8137, allocations: 421 kB / 0.952 GB, free: 1.473 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.002263/0.816, allocations: 1.107 MB / 0.9531 GB, free: 288 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.816, allocations: 0 / 0.9531 GB, free: 288 kB / 0.7169 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00106/0.8171, allocations: 0.6759 MB / 0.9538 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.8171, allocations: 8.781 kB / 0.9538 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.8171, allocations: 4 kB / 0.9538 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/0.8171, allocations: 16 kB / 0.9538 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004578/0.8176, allocations: 123.8 kB / 0.9539 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.844e-05/0.8176, allocations: 18.94 kB / 0.9539 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005069/0.8181, allocations: 31.86 kB / 0.954 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.212e-05/0.8181, allocations: 31.94 kB / 0.954 GB, free: 15.37 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.000385/0.8185, allocations: 274.7 kB / 0.9542 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002453/0.8188, allocations: 95.38 kB / 0.9543 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000217/0.819, allocations: 87.66 kB / 0.9544 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/0.819, allocations: 8 kB / 0.9544 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.819, allocations: 0 / 0.9544 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001058/0.8201, allocations: 0.6964 MB / 0.9551 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002556/0.8226, allocations: 1.614 MB / 0.9567 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/0.8226, allocations: 4 kB / 0.9567 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004583/0.8231, allocations: 99.83 kB / 0.9568 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-06/0.8231, allocations: 4 kB / 0.9568 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.535e-05/0.8231, allocations: 15.98 kB / 0.9568 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.015e-06/0.8231, allocations: 8 kB / 0.9568 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.8231, allocations: 4 kB / 0.9568 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/0.8243, allocations: 0.8768 MB / 0.9577 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002978/0.8246, allocations: 131.4 kB / 0.9578 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.819e-05/0.8247, allocations: 19.98 kB / 0.9578 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004319/0.8251, allocations: 25.08 kB / 0.9578 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.101e-05/0.8252, allocations: 47.81 kB / 0.9579 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-05/0.8253, allocations: 16 kB / 0.9579 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006469/0.8259, allocations: 0.5107 MB / 0.9584 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.8259, allocations: 0 / 0.9584 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000695/0.8266, allocations: 204 kB / 0.9586 GB, free: 10.39 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.001835/0.8284, allocations: 1.5 MB / 0.9601 GB, free: 8.84 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008174/0.8292, allocations: 457.2 kB / 0.9605 GB, free: 8.395 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.8292, allocations: 0 / 0.9605 GB, free: 8.395 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003034/0.8296, allocations: 204.6 kB / 0.9607 GB, free: 8.195 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001951/0.8315, allocations: 470 kB / 0.9611 GB, free: 7.758 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009063/0.8406, allocations: 6.649 MB / 0.9676 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007482/0.8413, allocations: 1.032 MB / 0.9686 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0006685/0.842, allocations: 203 kB / 0.9688 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004145/0.8424, allocations: 299.3 kB / 0.9691 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of SimCode: time 7.11e-07/0.8424, allocations: 0 / 0.9691 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05758/0.9, allocations: 22.78 MB / 0.9914 GB, free: 8.758 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/13.08, allocations: 1.719 kB / 0.9914 GB, free: 8.758 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 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.795362054836005] Failed to read output from testmodel.py, exit status != 0: 13.204596284078434 13.23067401 12.430547158 Calling exit ...