Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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.MixingVolumeInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005605/0.005613, allocations: 100.2 kB / 15.73 MB, free: 6.469 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.001463/0.001463, allocations: 193.1 kB / 16.67 MB, free: 6.379 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.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002093/0.002093, allocations: 279 kB / 290.8 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9728/0.9728, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001683, allocations: 95.84 kB / 0.6814 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.186, allocations: 86.97 MB / 0.7664 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.5523/0.7383, allocations: 187.9 MB / 0.9498 GB, free: 6.852 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01592/0.7543, allocations: 10.75 MB / 0.9603 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00127/0.7556, allocations: 47.69 kB / 0.9604 GB, free: 12.03 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001347/0.757, allocations: 0.4892 MB / 0.9609 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005883/0.7629, allocations: 2.579 MB / 0.9634 GB, free: 8.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005695/0.7686, allocations: 2.46 MB / 0.9658 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003555/0.7722, allocations: 2.774 MB / 0.9685 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001126/0.7733, allocations: 0.7722 MB / 0.9692 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001631/0.775, allocations: 1.016 MB / 0.9702 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001947/0.7769, allocations: 1.065 MB / 0.9713 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001626/0.7771, allocations: 99.94 kB / 0.9714 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005176/0.7823, allocations: 3.005 MB / 0.9743 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004793/0.7828, allocations: 438.8 kB / 0.9747 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0006873/0.7835, allocations: 0.5794 MB / 0.9753 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004643/0.7882, allocations: 2.965 MB / 0.9782 GB, free: 9.746 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.7882, allocations: 0 / 0.9782 GB, free: 9.746 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.362e-06/0.7882, allocations: 4 kB / 0.9782 GB, free: 9.742 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.496e-05/0.7882, allocations: 0 / 0.9782 GB, free: 9.742 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.003322/0.7915, allocations: 1.674 MB / 0.9798 GB, free: 8.016 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.7916, allocations: 8.031 kB / 0.9798 GB, free: 8.008 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001744/0.7933, allocations: 290.4 kB / 0.9801 GB, free: 7.723 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/0.7947, allocations: 0.835 MB / 0.9809 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.981e-05/0.7948, allocations: 57.28 kB / 0.981 GB, free: 6.785 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.7949, allocations: 63.98 kB / 0.981 GB, free: 6.723 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001502/0.7964, allocations: 0.9922 MB / 0.982 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.7965, allocations: 0 / 0.982 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.417e-05/0.7965, allocations: 33.48 kB / 0.982 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.963e-05/0.7966, allocations: 73.95 kB / 0.9821 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001521/0.7982, allocations: 1.007 MB / 0.9831 GB, free: 4.605 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.005681/0.8039, allocations: 3.583 MB / 0.9866 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.8049, allocations: 0.6535 MB / 0.9872 GB, free: 128 kB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005258/0.8054, allocations: 387.9 kB / 0.9876 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002493/0.8057, allocations: 186.8 kB / 0.9878 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.678e-05/0.8057, allocations: 47.11 kB / 0.9878 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=62): time 2.084e-06/0.8058, allocations: 0 / 0.9878 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of matching and sorting (n=62): time 0.001803/0.8076, allocations: 1.025 MB / 0.9888 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.871e-05/0.8076, allocations: 111.4 kB / 0.9889 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009027/0.8085, allocations: 0.798 MB / 0.9897 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.281e-05/0.8086, allocations: 41.69 kB / 0.9897 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003031/0.8089, allocations: 432 kB / 0.9902 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001766/0.8091, allocations: 216.8 kB / 0.9904 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000237/0.8093, allocations: 138.6 kB / 0.9905 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.8095, allocations: 341.9 kB / 0.9908 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005275/0.81, allocations: 344.7 kB / 0.9912 GB, free: 12 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006018/0.8106, allocations: 456.8 kB / 0.9916 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/0.8117, allocations: 0.7665 MB / 0.9923 GB, free: 10.72 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.8117, allocations: 4 kB / 0.9923 GB, free: 10.72 MB / 0.7481 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001508/0.8132, allocations: 0.9333 MB / 0.9933 GB, free: 9.777 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.8133, allocations: 4 kB / 0.9933 GB, free: 9.773 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.8133, allocations: 6.281 kB / 0.9933 GB, free: 9.77 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.8133, allocations: 8 kB / 0.9933 GB, free: 9.762 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006649/0.814, allocations: 147.8 kB / 0.9934 GB, free: 9.617 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.588e-05/0.814, allocations: 11.92 kB / 0.9934 GB, free: 9.605 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007472/0.8148, allocations: 83.11 kB / 0.9935 GB, free: 9.523 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.36e-05/0.8148, allocations: 27.94 kB / 0.9935 GB, free: 9.496 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008301/0.8157, allocations: 0.537 MB / 0.9941 GB, free: 8.953 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005936/0.8163, allocations: 450.5 kB / 0.9945 GB, free: 8.469 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001008/0.8173, allocations: 0.7447 MB / 0.9952 GB, free: 7.691 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.124e-06/0.8173, allocations: 0 / 0.9952 GB, free: 7.691 MB / 0.7481 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001299/0.8186, allocations: 0.8942 MB / 0.9961 GB, free: 6.789 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.8186, allocations: 10.03 kB / 0.9961 GB, free: 6.781 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.8186, allocations: 4 kB / 0.9961 GB, free: 6.777 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.236e-06/0.8187, allocations: 4 kB / 0.9961 GB, free: 6.773 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006249/0.8193, allocations: 143.8 kB / 0.9962 GB, free: 6.633 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.8193, allocations: 4 kB / 0.9962 GB, free: 6.629 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007028/0.82, allocations: 71.72 kB / 0.9963 GB, free: 6.559 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.769e-05/0.8201, allocations: 28 kB / 0.9963 GB, free: 6.531 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (88): * Single equations (assignments): 88 * 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.0002057/0.8203, allocations: 220.3 kB / 0.9965 GB, free: 6.312 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/0.8205, allocations: 94.81 kB / 0.9966 GB, free: 6.219 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/0.8217, allocations: 0.8021 MB / 0.9974 GB, free: 5.406 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.8218, allocations: 8 kB / 0.9974 GB, free: 5.398 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.8218, allocations: 0 / 0.9974 GB, free: 5.398 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009883/0.8228, allocations: 0.7438 MB / 0.9982 GB, free: 4.625 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00322/0.826, allocations: 2.093 MB / 1 GB, free: 2.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.826, allocations: 4 kB / 1 GB, free: 2.426 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006122/0.8266, allocations: 139.7 kB / 1 GB, free: 2.289 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.8267, allocations: 4 kB / 1 GB, free: 2.285 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.743e-05/0.8267, allocations: 16.44 kB / 1 GB, free: 2.27 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.053e-05/0.8267, allocations: 12.69 kB / 1 GB, free: 2.258 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/0.8267, allocations: 5.25 kB / 1 GB, free: 2.254 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001774/0.8285, allocations: 1.363 MB / 1.002 GB, free: 0.832 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004525/0.829, allocations: 259.8 kB / 1.002 GB, free: 0.5586 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/0.8291, allocations: 16 kB / 1.002 GB, free: 0.543 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005274/0.8296, allocations: 23.98 kB / 1.002 GB, free: 0.5195 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.922e-05/0.8297, allocations: 44.27 kB / 1.002 GB, free: 492 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.804e-05/0.8298, allocations: 31.92 kB / 1.002 GB, free: 460 kB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006848/0.8305, allocations: 0.5576 MB / 1.003 GB, free: 15.9 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.513e-06/0.8305, allocations: 4 kB / 1.003 GB, free: 15.89 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001589/0.8321, allocations: 0.7489 MB / 1.003 GB, free: 15.14 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m) * 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 (64): * Single equations (assignments): 64 * 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.001179/0.8333, allocations: 0.5398 MB / 1.004 GB, free: 14.61 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001917/0.8352, allocations: 1.182 MB / 1.005 GB, free: 13.43 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.8352, allocations: 1.125 kB / 1.005 GB, free: 13.43 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.000505/0.8357, allocations: 378.8 kB / 1.005 GB, free: 13.06 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002402/0.8381, allocations: 0.5261 MB / 1.006 GB, free: 12.54 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00269/0.8408, allocations: 1.904 MB / 1.008 GB, free: 10.57 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006319/0.8415, allocations: 1.077 MB / 1.009 GB, free: 9.461 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001119/0.8426, allocations: 422.2 kB / 1.009 GB, free: 9.047 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002288/0.8428, allocations: 71.44 kB / 1.009 GB, free: 8.977 MB / 0.7637 GB Notification: Performance of SimCode: time 3.5e-07/0.8428, allocations: 0 / 1.009 GB, free: 8.977 MB / 0.7637 GB Notification: Performance of Templates: time 0.03645/0.8793, allocations: 23.3 MB / 1.032 GB, free: 1.938 MB / 0.7794 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1)