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.001679/0.001679, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001878/0.001878, allocations: 189.7 kB / 16.25 MB, free: 6.633 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.517/1.517, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002546/0.002546, allocations: 294.5 kB / 290.4 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.097/1.097, allocations: 178.6 MB / 0.507 GB, free: 4.734 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002688/0.002688, allocations: 102.5 kB / 0.6059 GB, free: 25.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.1834, allocations: 89.15 MB / 0.693 GB, free: 4.734 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.05205/0.2355, allocations: 49.33 MB / 0.7412 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01926/0.2548, allocations: 12.59 MB / 0.7535 GB, free: 6.609 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002212/0.2571, allocations: 75.56 kB / 0.7535 GB, free: 6.535 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001798/0.2589, allocations: 0.6525 MB / 0.7542 GB, free: 5.879 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004807/0.2637, allocations: 1.707 MB / 0.7558 GB, free: 4.164 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003252/0.267, allocations: 1.217 MB / 0.757 GB, free: 2.961 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.3409/0.6079, allocations: 3.281 MB / 0.7602 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002563/0.6105, allocations: 1.232 MB / 0.7614 GB, free: 9.945 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004203/0.6148, allocations: 1.306 MB / 0.7627 GB, free: 9.945 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001724/0.6165, allocations: 0.9632 MB / 0.7636 GB, free: 9.859 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002123/0.6167, allocations: 96.72 kB / 0.7637 GB, free: 9.859 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002513/0.6192, allocations: 1.071 MB / 0.7648 GB, free: 9.859 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003897/0.6196, allocations: 292.4 kB / 0.7651 GB, free: 9.809 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000956/0.6206, allocations: 0.6772 MB / 0.7657 GB, free: 9.598 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003377/0.624, allocations: 1.945 MB / 0.7676 GB, free: 9.383 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.624, allocations: 3.562 kB / 0.7676 GB, free: 9.383 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.673e-06/0.624, allocations: 0 / 0.7676 GB, free: 9.383 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.942e-05/0.624, allocations: 4 kB / 0.7676 GB, free: 9.379 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.003293/0.6273, allocations: 1.703 MB / 0.7693 GB, free: 24.5 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/0.6274, allocations: 9.594 kB / 0.7693 GB, free: 24.5 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007954/0.6282, allocations: 211.4 kB / 0.7695 GB, free: 24.41 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00209/0.6303, allocations: 1.09 MB / 0.7706 GB, free: 24.03 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003797/0.6307, allocations: 118.1 kB / 0.7707 GB, free: 24.02 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/0.6308, allocations: 88.03 kB / 0.7708 GB, free: 24.02 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002042/0.6329, allocations: 0.9934 MB / 0.7717 GB, free: 23.79 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.624e-05/0.6329, allocations: 1.609 kB / 0.7717 GB, free: 23.79 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.956e-05/0.633, allocations: 40.34 kB / 0.7718 GB, free: 23.79 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.741e-05/0.633, allocations: 22.03 kB / 0.7718 GB, free: 23.79 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001601/0.6346, allocations: 0.6565 MB / 0.7724 GB, free: 23.77 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.00599/0.6406, allocations: 4.412 MB / 0.7767 GB, free: 21.07 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001236/0.6419, allocations: 403.5 kB / 0.7771 GB, free: 21.04 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005783/0.6425, allocations: 223.5 kB / 0.7773 GB, free: 21.02 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001316/0.6438, allocations: 1.158 MB / 0.7785 GB, free: 19.71 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/0.6439, allocations: 33.19 kB / 0.7785 GB, free: 19.67 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=29): time 3.126e-06/0.6439, allocations: 0 / 0.7785 GB, free: 19.67 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29): time 0.003251/0.6471, allocations: 1.087 MB / 0.7796 GB, free: 19.25 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.664e-05/0.6472, allocations: 59.83 kB / 0.7796 GB, free: 19.19 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00132/0.6486, allocations: 0.9429 MB / 0.7805 GB, free: 19.03 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.098e-05/0.6486, allocations: 32.14 kB / 0.7806 GB, free: 19 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004532/0.6491, allocations: 0.5801 MB / 0.7811 GB, free: 18.77 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.6492, allocations: 101.9 kB / 0.7812 GB, free: 18.71 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001786/0.6494, allocations: 104.9 kB / 0.7813 GB, free: 18.69 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.6496, allocations: 323.6 kB / 0.7816 GB, free: 18.38 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005599/0.6501, allocations: 196.4 kB / 0.7818 GB, free: 18.38 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006753/0.6508, allocations: 383.9 kB / 0.7822 GB, free: 18.17 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001135/0.652, allocations: 0.5653 MB / 0.7828 GB, free: 17.96 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.652, allocations: 2.156 kB / 0.7828 GB, free: 17.96 MB / 0.5606 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001798/0.6538, allocations: 0.7397 MB / 0.7835 GB, free: 17.83 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.6538, allocations: 7.531 kB / 0.7835 GB, free: 17.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.6538, allocations: 6.375 kB / 0.7835 GB, free: 17.83 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007658/0.6546, allocations: 158.1 kB / 0.7836 GB, free: 17.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006606/0.6553, allocations: 142.6 kB / 0.7838 GB, free: 17.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001467/0.6567, allocations: 1.717 MB / 0.7855 GB, free: 16.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001031/0.6578, allocations: 113 kB / 0.7856 GB, free: 16.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.496e-05/0.6579, allocations: 29.56 kB / 0.7856 GB, free: 16.2 MB / 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.0005561/0.6584, allocations: 262.9 kB / 0.7858 GB, free: 16.08 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001563/0.6586, allocations: 105.9 kB / 0.7859 GB, free: 16.03 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001854/0.6605, allocations: 0.7484 MB / 0.7867 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.916e-05/0.6605, allocations: 8.5 kB / 0.7867 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/0.6605, allocations: 5.438 kB / 0.7867 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.6605, allocations: 0 / 0.7867 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003102/0.6636, allocations: 1.634 MB / 0.7883 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.6636, allocations: 2.016 kB / 0.7883 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004825/0.6641, allocations: 94.25 kB / 0.7884 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005768/0.6647, allocations: 149.8 kB / 0.7885 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.2e-05/0.6648, allocations: 16.28 kB / 0.7885 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001242/0.666, allocations: 1.716 MB / 0.7902 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.666, allocations: 1.281 kB / 0.7902 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001668/0.6677, allocations: 0.783 MB / 0.791 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004797/0.6682, allocations: 254.3 kB / 0.7912 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/0.6683, allocations: 9.812 kB / 0.7912 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006627/0.669, allocations: 69.41 kB / 0.7913 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.548e-05/0.6691, allocations: 34.69 kB / 0.7913 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.158e-05/0.6691, allocations: 24.17 kB / 0.7913 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000924/0.6701, allocations: 0.6281 MB / 0.792 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6701, allocations: 4 kB / 0.792 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001514/0.6716, allocations: 361.5 kB / 0.7923 GB, free: 13.29 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.0009724/0.6726, allocations: 394.1 kB / 0.7927 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001883/0.6745, allocations: 0.562 MB / 0.7932 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.6745, allocations: 1 kB / 0.7932 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008251/0.6753, allocations: 305 kB / 0.7935 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002366/0.6777, allocations: 0.5275 MB / 0.794 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003818/0.6815, allocations: 2.251 MB / 0.7962 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008192/0.6824, allocations: 1.101 MB / 0.7973 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007631/0.6831, allocations: 184.8 kB / 0.7975 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001584/0.6833, allocations: 71.08 kB / 0.7976 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of SimCode: time 1.253e-06/0.6833, allocations: 0 / 0.7976 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of Templates: time 0.0378/0.7211, allocations: 19.85 MB / 0.8169 GB, free: 3.766 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)