Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8809/0.8809, allocations: 143.4 MB / 159.2 MB, free: 4.84 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 188.5 kB / 191.9 MB, free: 5.707 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 447.3 MB, free: 5.832 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 103.5 kB / 0.517 GB, free: 3.695 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001863/0.001863, allocations: 278.1 kB / 0.5973 GB, free: 49.37 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 84.2 kB / 0.6886 GB, free: 3.828 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.3544, allocations: 81.29 MB / 0.7679 GB, free: 27.66 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.0389/0.3933, allocations: 49.41 MB / 0.8162 GB, free: 10.07 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.01694/0.4103, allocations: 12.66 MB / 0.8286 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002788/0.4131, allocations: 71.5 kB / 0.8286 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001893/0.4151, allocations: 0.6135 MB / 0.8292 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.004702/0.4198, allocations: 1.691 MB / 0.8309 GB, free: 11 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003426/0.4232, allocations: 1.192 MB / 0.832 GB, free: 9.828 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.00486/0.4281, allocations: 4.368 MB / 0.8363 GB, free: 5.453 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001496/0.4296, allocations: 1.073 MB / 0.8373 GB, free: 4.34 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002228/0.4319, allocations: 1.124 MB / 0.8384 GB, free: 3.211 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001284/0.4332, allocations: 0.9524 MB / 0.8394 GB, free: 2.254 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001548/0.4333, allocations: 60 kB / 0.8394 GB, free: 2.195 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0024/0.4357, allocations: 1.056 MB / 0.8405 GB, free: 1.137 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.000299/0.4361, allocations: 262.8 kB / 0.8407 GB, free: 0.8789 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0008667/0.4369, allocations: 0.6331 MB / 0.8413 GB, free: 248 kB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.002959/0.4399, allocations: 1.912 MB / 0.8432 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.4399, allocations: 0 / 0.8432 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.535e-06/0.4399, allocations: 0 / 0.8432 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.413e-05/0.44, allocations: 3.938 kB / 0.8432 GB, free: 14.32 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002463/0.4424, allocations: 1.693 MB / 0.8449 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.4425, allocations: 8.031 kB / 0.8449 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006525/0.4431, allocations: 207.1 kB / 0.8451 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001864/0.445, allocations: 1.08 MB / 0.8461 GB, free: 11.23 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003651/0.4454, allocations: 118.2 kB / 0.8462 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.4455, allocations: 87.94 kB / 0.8463 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001658/0.4472, allocations: 0.9923 MB / 0.8473 GB, free: 9.965 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.4472, allocations: 0 / 0.8473 GB, free: 9.965 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.601e-05/0.4473, allocations: 40 kB / 0.8473 GB, free: 9.926 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.708e-05/0.4473, allocations: 20 kB / 0.8473 GB, free: 9.906 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001464/0.4488, allocations: 0.6594 MB / 0.848 GB, free: 9.246 MB / 0.5105 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.0048/0.4536, allocations: 4.398 MB / 0.8523 GB, free: 4.594 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001259/0.4549, allocations: 414.5 kB / 0.8527 GB, free: 4.18 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005799/0.4555, allocations: 224.7 kB / 0.8529 GB, free: 3.957 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007671/0.4562, allocations: 1.148 MB / 0.854 GB, free: 2.551 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.4563, allocations: 38.56 kB / 0.854 GB, free: 2.504 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=29): time 2.695e-06/0.4563, allocations: 0 / 0.854 GB, free: 2.504 MB / 0.5105 GB Notification: Performance of matching and sorting (n=29): time 0.002862/0.4592, allocations: 1.086 MB / 0.8551 GB, free: 1.348 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.4592, allocations: 59.34 kB / 0.8552 GB, free: 1.277 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/0.4603, allocations: 0.9271 MB / 0.8561 GB, free: 344 kB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.605e-05/0.4603, allocations: 33.7 kB / 0.8561 GB, free: 304 kB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004261/0.4608, allocations: 0.5812 MB / 0.8567 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.4609, allocations: 110.5 kB / 0.8568 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/0.461, allocations: 102.1 kB / 0.8569 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.4612, allocations: 326 kB / 0.8572 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005496/0.4617, allocations: 204.9 kB / 0.8574 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006966/0.4624, allocations: 374.9 kB / 0.8577 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/0.4637, allocations: 0.5791 MB / 0.8583 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.4637, allocations: 0 / 0.8583 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001692/0.4654, allocations: 0.7289 MB / 0.859 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.4654, allocations: 13.03 kB / 0.859 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.4654, allocations: 4 kB / 0.859 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006855/0.4661, allocations: 166.8 kB / 0.8592 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005865/0.4667, allocations: 135.8 kB / 0.8593 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001107/0.4679, allocations: 1.72 MB / 0.861 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008111/0.4687, allocations: 107.3 kB / 0.8611 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.709e-05/0.4687, allocations: 31.98 kB / 0.8611 GB, free: 10.88 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0005043/0.4693, allocations: 268.4 kB / 0.8614 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001845/0.4695, allocations: 110.6 kB / 0.8615 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001894/0.4714, allocations: 0.72 MB / 0.8622 GB, free: 9.758 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.661e-05/0.4714, allocations: 11.92 kB / 0.8622 GB, free: 9.746 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.4714, allocations: 0 / 0.8622 GB, free: 9.746 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.4714, allocations: 0 / 0.8622 GB, free: 9.746 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002919/0.4743, allocations: 1.644 MB / 0.8638 GB, free: 8.027 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.4743, allocations: 0 / 0.8638 GB, free: 8.027 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004887/0.4748, allocations: 96.03 kB / 0.8639 GB, free: 7.934 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005818/0.4754, allocations: 146.4 kB / 0.864 GB, free: 7.781 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.892e-05/0.4755, allocations: 8 kB / 0.8641 GB, free: 7.773 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000982/0.4765, allocations: 1.708 MB / 0.8657 GB, free: 5.988 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.4765, allocations: 8.156 kB / 0.8657 GB, free: 5.98 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002659/0.4791, allocations: 1.801 MB / 0.8675 GB, free: 4.094 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004278/0.4796, allocations: 247.4 kB / 0.8677 GB, free: 3.832 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.472e-05/0.4797, allocations: 16.05 kB / 0.8677 GB, free: 3.816 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006184/0.4803, allocations: 75.92 kB / 0.8678 GB, free: 3.742 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.162e-05/0.4804, allocations: 24.48 kB / 0.8678 GB, free: 3.719 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.552e-05/0.4805, allocations: 19.98 kB / 0.8679 GB, free: 3.699 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007625/0.4812, allocations: 0.6261 MB / 0.8685 GB, free: 3.066 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4812, allocations: 0 / 0.8685 GB, free: 3.066 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001106/0.4823, allocations: 371.1 kB / 0.8688 GB, free: 2.703 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * 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 (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,2), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007856/0.4831, allocations: 388.1 kB / 0.8692 GB, free: 2.324 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001555/0.4847, allocations: 0.5478 MB / 0.8697 GB, free: 1.777 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.4847, allocations: 8 kB / 0.8697 GB, free: 1.77 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008021/0.4855, allocations: 284 kB / 0.87 GB, free: 1.492 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002315/0.4879, allocations: 0.5019 MB / 0.8705 GB, free: 1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00327/0.4911, allocations: 2.499 MB / 0.8729 GB, free: 14.44 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006093/0.4918, allocations: 1.107 MB / 0.874 GB, free: 13.31 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0006827/0.4925, allocations: 183.5 kB / 0.8742 GB, free: 13.13 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.4926, allocations: 71.42 kB / 0.8743 GB, free: 13.06 MB / 0.5417 GB Notification: Performance of SimCode: time 6.82e-07/0.4926, allocations: 0 / 0.8743 GB, free: 13.06 MB / 0.5417 GB Notification: Performance of Templates: time 0.03509/0.5277, allocations: 19.58 MB / 0.8934 GB, free: 9.723 MB / 0.5573 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1)