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.001258/0.001258, allocations: 105 kB / 20.48 MB, free: 1.488 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.001396/0.001396, allocations: 214.8 kB / 23.79 MB, free: 4.703 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.398/1.398, allocations: 230.6 MB / 257.6 MB, free: 8.051 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.9114/0.9114, allocations: 150 MB / 464 MB, free: 10.55 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="cs",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.001898/0.001898, allocations: 66.94 kB / 0.6421 GB, free: 10.47 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1893/0.1912, allocations: 89.17 MB / 0.7291 GB, free: 1.355 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.596/0.7872, allocations: 191.2 MB / 0.9159 GB, free: 8.082 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01756/0.8048, allocations: 13.25 MB / 0.9288 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001441/0.8062, allocations: 43.62 kB / 0.9289 GB, free: 10.75 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001667/0.8079, allocations: 449.1 kB / 0.9293 GB, free: 10.31 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.003514/0.8114, allocations: 1.213 MB / 0.9305 GB, free: 9.09 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002115/0.8135, allocations: 0.7338 MB / 0.9312 GB, free: 8.359 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.003052/0.8166, allocations: 2.063 MB / 0.9332 GB, free: 6.289 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00119/0.8178, allocations: 0.6294 MB / 0.9338 GB, free: 5.637 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004755/0.8225, allocations: 2.043 MB / 0.9358 GB, free: 3.586 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001881/0.8244, allocations: 0.707 MB / 0.9365 GB, free: 2.887 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0002488/0.8247, allocations: 83.94 kB / 0.9366 GB, free: 2.805 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002169/0.8268, allocations: 0.9354 MB / 0.9375 GB, free: 1.867 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0006063/0.8274, allocations: 394.8 kB / 0.9379 GB, free: 1.48 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001005/0.8284, allocations: 0.4938 MB / 0.9384 GB, free: 0.9844 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002504/0.8309, allocations: 1.506 MB / 0.9398 GB, free: 15.47 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.8309, allocations: 0 / 0.9398 GB, free: 15.47 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8309, allocations: 0 / 0.9398 GB, free: 15.47 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.301e-05/0.831, allocations: 0 / 0.9398 GB, free: 15.47 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.001843/0.8328, allocations: 1.197 MB / 0.941 GB, free: 14.24 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.8328, allocations: 8.031 kB / 0.941 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.468e-05/0.8329, allocations: 18 kB / 0.941 GB, free: 14.21 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001357/0.833, allocations: 122.5 kB / 0.9411 GB, free: 14.09 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001193/0.8342, allocations: 227.2 kB / 0.9414 GB, free: 13.86 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001097/0.8353, allocations: 0.6038 MB / 0.9419 GB, free: 13.23 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.015e-05/0.8353, allocations: 58 kB / 0.942 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/0.8355, allocations: 83.95 kB / 0.9421 GB, free: 13.09 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001361/0.8368, allocations: 0.9335 MB / 0.943 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.648e-05/0.8369, allocations: 7.938 kB / 0.943 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.727e-05/0.8369, allocations: 28 kB / 0.943 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.184e-05/0.837, allocations: 33.3 kB / 0.9431 GB, free: 12.01 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000993/0.838, allocations: 0.6099 MB / 0.9437 GB, free: 11.4 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.004683/0.8426, allocations: 4.61 MB / 0.9482 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008085/0.8435, allocations: 467.8 kB / 0.9486 GB, free: 6 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003463/0.8438, allocations: 228.2 kB / 0.9488 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001568/0.844, allocations: 27.92 kB / 0.9488 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.844, allocations: 43.19 kB / 0.9489 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=43): time 1.994e-06/0.844, allocations: 0 / 0.9489 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of matching and sorting (n=45): time 0.002764/0.8468, allocations: 1.537 MB / 0.9504 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.334e-05/0.8468, allocations: 111.1 kB / 0.9505 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000911/0.8477, allocations: 0.7155 MB / 0.9512 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.896e-05/0.8478, allocations: 37.7 kB / 0.9512 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003325/0.8481, allocations: 428.5 kB / 0.9516 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001463/0.8483, allocations: 170.5 kB / 0.9518 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001692/0.8484, allocations: 114.3 kB / 0.9519 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.8486, allocations: 330 kB / 0.9522 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003007/0.8489, allocations: 193.2 kB / 0.9524 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004968/0.8494, allocations: 420.9 kB / 0.9528 GB, free: 1.48 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.8516, allocations: 1.107 MB / 0.9539 GB, free: 296 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.8516, allocations: 4 kB / 0.9539 GB, free: 292 kB / 0.7169 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001084/0.8527, allocations: 0.6689 MB / 0.9545 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.8527, allocations: 8 kB / 0.9546 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/0.8527, allocations: 8 kB / 0.9546 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.633e-05/0.8528, allocations: 12 kB / 0.9546 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004472/0.8532, allocations: 132.9 kB / 0.9547 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.616e-05/0.8532, allocations: 11.94 kB / 0.9547 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005223/0.8538, allocations: 31.17 kB / 0.9547 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.038e-05/0.8538, allocations: 28 kB / 0.9548 GB, free: 15.38 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.0003896/0.8542, allocations: 277.5 kB / 0.955 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001553/0.8544, allocations: 87.44 kB / 0.9551 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001643/0.8545, allocations: 95.59 kB / 0.9552 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.8545, allocations: 8 kB / 0.9552 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.8545, allocations: 0 / 0.9552 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007595/0.8553, allocations: 0.7002 MB / 0.9559 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002419/0.8577, allocations: 1.611 MB / 0.9575 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.8577, allocations: 4 kB / 0.9575 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004261/0.8581, allocations: 99.88 kB / 0.9576 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.618e-06/0.8582, allocations: 8 kB / 0.9576 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.358e-05/0.8582, allocations: 12 kB / 0.9576 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.524e-06/0.8582, allocations: 7.938 kB / 0.9576 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.8582, allocations: 7.875 kB / 0.9576 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.8594, allocations: 0.8777 MB / 0.9585 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002903/0.8596, allocations: 135.4 kB / 0.9586 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.8597, allocations: 20 kB / 0.9586 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004177/0.8602, allocations: 15.98 kB / 0.9586 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.971e-05/0.8602, allocations: 43.83 kB / 0.9587 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.283e-05/0.8603, allocations: 23.98 kB / 0.9587 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006605/0.8609, allocations: 0.5029 MB / 0.9592 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.8609, allocations: 0 / 0.9592 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007525/0.8617, allocations: 204 kB / 0.9594 GB, free: 10.41 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.001725/0.8634, allocations: 1.501 MB / 0.9608 GB, free: 8.844 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008159/0.8642, allocations: 462 kB / 0.9613 GB, free: 8.395 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.8642, allocations: 0 / 0.9613 GB, free: 8.395 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003115/0.8645, allocations: 199.7 kB / 0.9615 GB, free: 8.199 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002046/0.8666, allocations: 474.2 kB / 0.9619 GB, free: 7.77 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008768/0.8754, allocations: 6.65 MB / 0.9684 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006875/0.876, allocations: 1.032 MB / 0.9694 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0007309/0.8768, allocations: 199 kB / 0.9696 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000412/0.8772, allocations: 295.3 kB / 0.9699 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of SimCode: time 1.152e-06/0.8772, allocations: 0 / 0.9699 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05529/0.9325, allocations: 22.81 MB / 0.9922 GB, free: 8.762 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/13.08, allocations: 12.05 kB / 0.9922 GB, free: 8.75 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.823808042972814] Failed to read output from testmodel.py, exit status != 0: 13.251545319973957 13.275336139 12.439856023 Calling exit ...