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/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 197.4 kB / 16.14 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 222.9 MB / 239.8 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00206/0.00206, allocations: 283.1 kB / 290.2 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9495/0.9495, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001657/0.001657, allocations: 98.2 kB / 0.5945 GB, free: 28.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/0.1908, allocations: 86.98 MB / 0.6794 GB, free: 1.207 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.04751/0.2384, allocations: 49.44 MB / 0.7277 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01845/0.2569, allocations: 12.72 MB / 0.7401 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002874/0.2598, allocations: 71.5 kB / 0.7402 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002376/0.2622, allocations: 0.6174 MB / 0.7408 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006493/0.2688, allocations: 1.705 MB / 0.7425 GB, free: 484 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003745/0.2725, allocations: 1.211 MB / 0.7436 GB, free: 15.28 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.005311/0.2778, allocations: 4.368 MB / 0.7479 GB, free: 10.9 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001938/0.2798, allocations: 1.077 MB / 0.749 GB, free: 9.785 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00276/0.2826, allocations: 1.108 MB / 0.75 GB, free: 8.672 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001949/0.2845, allocations: 0.9525 MB / 0.751 GB, free: 7.715 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003801/0.2849, allocations: 67.88 kB / 0.751 GB, free: 7.648 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003058/0.288, allocations: 1.048 MB / 0.7521 GB, free: 6.598 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005344/0.2885, allocations: 254.8 kB / 0.7523 GB, free: 6.348 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00145/0.29, allocations: 0.6332 MB / 0.7529 GB, free: 5.711 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00399/0.294, allocations: 1.92 MB / 0.7548 GB, free: 3.785 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.294, allocations: 0 / 0.7548 GB, free: 3.785 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.803e-06/0.294, allocations: 3.938 kB / 0.7548 GB, free: 3.781 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.728e-05/0.2941, allocations: 0 / 0.7548 GB, free: 3.781 MB / 0.545 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.00379/0.2979, allocations: 1.697 MB / 0.7565 GB, free: 2.031 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.298, allocations: 8.031 kB / 0.7565 GB, free: 2.023 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000776/0.2988, allocations: 207.1 kB / 0.7567 GB, free: 1.82 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002245/0.301, allocations: 1.094 MB / 0.7577 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003526/0.3014, allocations: 126.2 kB / 0.7579 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/0.3015, allocations: 80 kB / 0.7579 GB, free: 480 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001993/0.3035, allocations: 0.9962 MB / 0.7589 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.718e-05/0.3036, allocations: 7.938 kB / 0.7589 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.788e-05/0.3037, allocations: 36 kB / 0.7589 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.41e-05/0.3037, allocations: 24 kB / 0.759 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001599/0.3053, allocations: 0.6517 MB / 0.7596 GB, free: 14.68 MB / 0.5606 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.005657/0.311, allocations: 4.41 MB / 0.7639 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001229/0.3122, allocations: 414.5 kB / 0.7643 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005278/0.3127, allocations: 224.7 kB / 0.7645 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008534/0.3136, allocations: 1.148 MB / 0.7656 GB, free: 7.977 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.3136, allocations: 38.56 kB / 0.7657 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=29): time 2.204e-06/0.3137, allocations: 0 / 0.7657 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29): time 0.002967/0.3166, allocations: 1.093 MB / 0.7668 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.3167, allocations: 63.34 kB / 0.7668 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001228/0.3179, allocations: 0.9318 MB / 0.7677 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.225e-05/0.318, allocations: 33.7 kB / 0.7678 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004264/0.3184, allocations: 0.5773 MB / 0.7683 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.3185, allocations: 106.5 kB / 0.7684 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000188/0.3187, allocations: 106 kB / 0.7685 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.3188, allocations: 326 kB / 0.7688 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000534/0.3194, allocations: 193 kB / 0.769 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006615/0.3201, allocations: 387.5 kB / 0.7694 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/0.3213, allocations: 0.5727 MB / 0.7699 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.246e-06/0.3213, allocations: 4 kB / 0.7699 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001649/0.3229, allocations: 0.7326 MB / 0.7707 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.323, allocations: 8 kB / 0.7707 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.323, allocations: 8 kB / 0.7707 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006895/0.3237, allocations: 163 kB / 0.7708 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005774/0.3243, allocations: 147.8 kB / 0.771 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001078/0.3253, allocations: 1.716 MB / 0.7726 GB, free: 432 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007254/0.3261, allocations: 107.4 kB / 0.7728 GB, free: 324 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.983e-05/0.3262, allocations: 31.98 kB / 0.7728 GB, free: 292 kB / 0.5606 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.0003951/0.3266, allocations: 262.3 kB / 0.773 GB, free: 20 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.3103/0.6369, allocations: 107.9 kB / 0.7731 GB, free: 96.01 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002151/0.6391, allocations: 0.7333 MB / 0.7739 GB, free: 95.92 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-05/0.6391, allocations: 8.328 kB / 0.7739 GB, free: 95.92 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.6391, allocations: 0.6562 kB / 0.7739 GB, free: 95.92 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.6391, allocations: 1.219 kB / 0.7739 GB, free: 95.92 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002945/0.6421, allocations: 1.642 MB / 0.7755 GB, free: 95.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/0.6421, allocations: 2.406 kB / 0.7755 GB, free: 95.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005077/0.6426, allocations: 89.44 kB / 0.7756 GB, free: 95.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005749/0.6432, allocations: 150.9 kB / 0.7757 GB, free: 95.44 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.171e-05/0.6432, allocations: 13.23 kB / 0.7757 GB, free: 95.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007154/0.644, allocations: 1.7 MB / 0.7774 GB, free: 93.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.644, allocations: 4.281 kB / 0.7774 GB, free: 93.82 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001546/0.6455, allocations: 0.7915 MB / 0.7781 GB, free: 93.47 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003329/0.6459, allocations: 255.5 kB / 0.7784 GB, free: 93.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.646, allocations: 7.031 kB / 0.7784 GB, free: 93.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006382/0.6466, allocations: 73.02 kB / 0.7785 GB, free: 93.29 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.262e-05/0.6467, allocations: 26.34 kB / 0.7785 GB, free: 93.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.977e-05/0.6468, allocations: 22.42 kB / 0.7785 GB, free: 93.28 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007876/0.6476, allocations: 0.6326 MB / 0.7791 GB, free: 93.02 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.01e-07/0.6476, allocations: 0 / 0.7791 GB, free: 93.02 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009854/0.6486, allocations: 364.3 kB / 0.7795 GB, free: 92.97 MB / 0.5606 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.0007567/0.6493, allocations: 391.6 kB / 0.7799 GB, free: 92.87 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001521/0.6509, allocations: 0.5365 MB / 0.7804 GB, free: 92.74 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.6509, allocations: 0 / 0.7804 GB, free: 92.74 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007862/0.6517, allocations: 290.4 kB / 0.7807 GB, free: 92.67 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002148/0.6538, allocations: 0.5007 MB / 0.7811 GB, free: 92.57 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00278/0.6566, allocations: 2.276 MB / 0.7834 GB, free: 91.22 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004064/0.6571, allocations: 1.099 MB / 0.7844 GB, free: 90.51 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006752/0.6577, allocations: 185 kB / 0.7846 GB, free: 90.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/0.6579, allocations: 67.77 kB / 0.7847 GB, free: 90.49 MB / 0.5606 GB Notification: Performance of SimCode: time 6.62e-07/0.6579, allocations: 0 / 0.7847 GB, free: 90.49 MB / 0.5606 GB Notification: Performance of Templates: time 0.03255/0.6904, allocations: 19.16 MB / 0.8034 GB, free: 83.45 MB / 0.5606 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)