Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001221/0.001221, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001566/0.001566, allocations: 214.5 kB / 23.04 MB, free: 5.074 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.371/1.371, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002406/0.002406, allocations: 282.1 kB / 313.5 MB, free: 2.812 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.191/1.191, allocations: 180.6 MB / 0.5377 GB, free: 12.87 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002644/0.002644, allocations: 95.61 kB / 0.7404 GB, free: 28.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1688, allocations: 95.39 MB / 0.8335 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5788/0.7476, allocations: 191.2 MB / 1.02 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01199/0.7596, allocations: 13.24 MB / 1.033 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001368/0.761, allocations: 46.53 kB / 1.033 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001162/0.7621, allocations: 439.8 kB / 1.034 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002783/0.7649, allocations: 1.23 MB / 1.035 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00162/0.7665, allocations: 0.7417 MB / 1.036 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002179/0.7687, allocations: 2.073 MB / 1.038 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007919/0.7695, allocations: 0.6191 MB / 1.038 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003882/0.7734, allocations: 1.919 MB / 1.04 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001704/0.7751, allocations: 0.7092 MB / 1.041 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001826/0.7753, allocations: 85.84 kB / 1.041 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001844/0.7771, allocations: 0.941 MB / 1.042 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004385/0.7775, allocations: 396.5 kB / 1.042 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006491/0.7782, allocations: 0.501 MB / 1.043 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002288/0.7805, allocations: 1.5 MB / 1.044 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.7805, allocations: 1.062 kB / 1.044 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7805, allocations: 0 / 1.044 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.435e-05/0.7805, allocations: 0 / 1.044 GB, free: 2.297 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.001925/0.7825, allocations: 1.19 MB / 1.045 GB, free: 17.66 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.7825, allocations: 9.094 kB / 1.045 GB, free: 17.66 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.472e-05/0.7825, allocations: 24.44 kB / 1.045 GB, free: 17.66 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001117/0.7826, allocations: 129 kB / 1.045 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00107/0.7837, allocations: 220.5 kB / 1.046 GB, free: 17.56 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/0.7847, allocations: 0.611 MB / 1.046 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.323e-05/0.7848, allocations: 58.28 kB / 1.046 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.7849, allocations: 77.66 kB / 1.046 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/0.786, allocations: 0.9297 MB / 1.047 GB, free: 17.06 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.643e-05/0.7861, allocations: 6.188 kB / 1.047 GB, free: 17.06 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.728e-05/0.7861, allocations: 31.28 kB / 1.047 GB, free: 17.06 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.639e-05/0.7862, allocations: 34.94 kB / 1.047 GB, free: 17.06 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008297/0.787, allocations: 0.6222 MB / 1.048 GB, free: 17.05 MB / 0.7325 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.003973/0.791, allocations: 4.542 MB / 1.052 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006383/0.7916, allocations: 455.9 kB / 1.053 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002648/0.7919, allocations: 233.3 kB / 1.053 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001311/0.792, allocations: 20.78 kB / 1.053 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.792, allocations: 46.62 kB / 1.053 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 2.084e-06/0.792, allocations: 1.031 kB / 1.053 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.002372/0.7944, allocations: 1.54 MB / 1.055 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.037e-05/0.7945, allocations: 110.1 kB / 1.055 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006807/0.7952, allocations: 0.715 MB / 1.055 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.06e-05/0.7952, allocations: 35.73 kB / 1.055 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002442/0.7954, allocations: 426.7 kB / 1.056 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.7956, allocations: 168.9 kB / 1.056 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001503/0.7957, allocations: 120 kB / 1.056 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.7958, allocations: 331.4 kB / 1.056 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002477/0.7961, allocations: 184.5 kB / 1.057 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004014/0.7965, allocations: 417.4 kB / 1.057 GB, free: 12.04 MB / 0.7325 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.001987/0.7985, allocations: 1.102 MB / 1.058 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.7985, allocations: 0 / 1.058 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009162/0.7994, allocations: 0.6751 MB / 1.059 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.7994, allocations: 12.88 kB / 1.059 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.7994, allocations: 5.562 kB / 1.059 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/0.7994, allocations: 11.81 kB / 1.059 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003975/0.7998, allocations: 123.4 kB / 1.059 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369e-05/0.7999, allocations: 14.59 kB / 1.059 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005069/0.8004, allocations: 31.2 kB / 1.059 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.491e-05/0.8004, allocations: 30.41 kB / 1.059 GB, free: 11.48 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.0003701/0.8008, allocations: 279.8 kB / 1.059 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/0.8009, allocations: 89.33 kB / 1.059 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001601/0.8011, allocations: 95.2 kB / 1.059 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.8011, allocations: 14.69 kB / 1.059 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.475e-06/0.8011, allocations: 2.188 kB / 1.059 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006846/0.8018, allocations: 0.6954 MB / 1.06 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002205/0.804, allocations: 1.615 MB / 1.062 GB, free: 9.703 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.804, allocations: 4.719 kB / 1.062 GB, free: 9.703 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003856/0.8044, allocations: 96.91 kB / 1.062 GB, free: 9.703 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.858e-06/0.8044, allocations: 8.688 kB / 1.062 GB, free: 9.699 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.443e-05/0.8044, allocations: 18.83 kB / 1.062 GB, free: 9.691 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.8044, allocations: 5.25 kB / 1.062 GB, free: 9.691 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.8044, allocations: 9.938 kB / 1.062 GB, free: 9.691 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.8054, allocations: 0.8631 MB / 1.063 GB, free: 9.176 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002834/0.8057, allocations: 135.4 kB / 1.063 GB, free: 9.102 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.791e-05/0.8058, allocations: 22.11 kB / 1.063 GB, free: 9.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003981/0.8062, allocations: 14.22 kB / 1.063 GB, free: 9.086 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.562e-05/0.8063, allocations: 42.94 kB / 1.063 GB, free: 9.078 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.107e-05/0.8063, allocations: 23.56 kB / 1.063 GB, free: 9.074 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005367/0.8069, allocations: 0.5111 MB / 1.063 GB, free: 8.859 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8069, allocations: 0.8125 kB / 1.063 GB, free: 8.859 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000649/0.8075, allocations: 195.5 kB / 1.064 GB, free: 8.844 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.001535/0.809, allocations: 1.492 MB / 1.065 GB, free: 7.781 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007105/0.8097, allocations: 468.9 kB / 1.065 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.8097, allocations: 0 / 1.065 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002407/0.81, allocations: 206.2 kB / 1.066 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001879/0.8119, allocations: 488.5 kB / 1.066 GB, free: 7.453 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007858/0.8197, allocations: 6.647 MB / 1.073 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005915/0.8203, allocations: 1.03 MB / 1.074 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0006541/0.821, allocations: 202.2 kB / 1.074 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003811/0.8214, allocations: 300.1 kB / 1.074 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of SimCode: time 7.91e-07/0.8214, allocations: 0 / 1.074 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05221/0.8736, allocations: 22.82 MB / 1.096 GB, free: 0.5117 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.59, allocations: 14.08 kB / 1.096 GB, free: 0.5 MB / 0.7481 GB " [Timeout remaining time 647] (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.665039990039077] Failed to read output from testmodel.py, exit status != 0: 12.753831743029878 12.769476414 11.985953399 Calling exit ...