Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001832/0.001832, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.301/1.301, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00218/0.00218, allocations: 284.2 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9192/0.9192, allocations: 169.3 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001676, allocations: 95.86 kB / 0.6821 GB, free: 6.91 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4398/0.4415, allocations: 86.99 MB / 0.7671 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.1888/0.6304, allocations: 187.1 MB / 0.9498 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4572/1.088, allocations: 13.02 MB / 0.9625 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001175/1.089, allocations: 29.41 kB / 0.9625 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001276/1.09, allocations: 418.9 kB / 0.9629 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00232/1.093, allocations: 0.9175 MB / 0.9638 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001951/1.094, allocations: 0.7121 MB / 0.9645 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002064/1.097, allocations: 1.497 MB / 0.966 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009074/1.097, allocations: 0.6575 MB / 0.9666 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003799/1.101, allocations: 1.734 MB / 0.9683 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001219/1.103, allocations: 0.504 MB / 0.9688 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001122/1.103, allocations: 54.94 kB / 0.9688 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001719/1.104, allocations: 0.8717 MB / 0.9697 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002879/1.105, allocations: 278.2 kB / 0.97 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004624/1.105, allocations: 388 kB / 0.9703 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001717/1.107, allocations: 1.182 MB / 0.9715 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/1.107, allocations: 4.719 kB / 0.9715 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.834e-06/1.107, allocations: 0 / 0.9715 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.765e-05/1.107, allocations: 1.375 kB / 0.9715 GB, free: 1.648 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001482/1.108, allocations: 1.05 MB / 0.9725 GB, free: 17 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/1.108, allocations: 8.594 kB / 0.9725 GB, free: 17 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009277/1.109, allocations: 188.1 kB / 0.9727 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008022/1.11, allocations: 0.5643 MB / 0.9732 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.62e-05/1.11, allocations: 43.03 kB / 0.9733 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.319e-05/1.11, allocations: 60.02 kB / 0.9733 GB, free: 16.67 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009368/1.111, allocations: 0.7745 MB / 0.9741 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/1.111, allocations: 6.594 kB / 0.9741 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.669e-05/1.111, allocations: 27.69 kB / 0.9741 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.882e-05/1.111, allocations: 23.77 kB / 0.9742 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007713/1.112, allocations: 459.5 kB / 0.9746 GB, free: 16.37 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.003905/1.116, allocations: 4.377 MB / 0.9789 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001111/1.116, allocations: 107.3 kB / 0.979 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.876e-05/1.116, allocations: 73.55 kB / 0.979 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001754/1.116, allocations: 92.89 kB / 0.9791 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/1.117, allocations: 42.48 kB / 0.9792 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.913e-06/1.117, allocations: 0 / 0.9792 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0006388/1.117, allocations: 239.5 kB / 0.9794 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.207e-05/1.117, allocations: 138.8 kB / 0.9795 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009088/1.118, allocations: 0.8425 MB / 0.9804 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/1.118, allocations: 31.7 kB / 0.9804 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000263/1.118, allocations: 406.7 kB / 0.9808 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/1.119, allocations: 33.83 kB / 0.9808 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/1.119, allocations: 92.88 kB / 0.9809 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000136/1.119, allocations: 328 kB / 0.9812 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002355/1.119, allocations: 109 kB / 0.9813 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000407/1.119, allocations: 359.6 kB / 0.9817 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00052/1.12, allocations: 443.6 kB / 0.9821 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/1.12, allocations: 2.719 kB / 0.9821 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007876/1.121, allocations: 499.1 kB / 0.9826 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/1.121, allocations: 12.53 kB / 0.9826 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/1.121, allocations: 7.875 kB / 0.9826 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.405e-05/1.121, allocations: 11.22 kB / 0.9826 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000284/1.121, allocations: 101.7 kB / 0.9827 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.451e-05/1.121, allocations: 16.55 kB / 0.9827 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006433/1.122, allocations: 117.7 kB / 0.9828 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/1.122, allocations: 27.14 kB / 0.9828 GB, free: 11.18 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (46): * Single equations (assignments): 46 * 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.0002158/1.122, allocations: 233.2 kB / 0.9831 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/1.122, allocations: 71.66 kB / 0.9831 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.39e-05/1.122, allocations: 71.23 kB / 0.9832 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/1.122, allocations: 7.359 kB / 0.9832 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/1.122, allocations: 1 kB / 0.9832 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/1.122, allocations: 3.188 kB / 0.9832 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001195/1.124, allocations: 1.131 MB / 0.9843 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/1.124, allocations: 4.891 kB / 0.9843 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.785e-05/1.124, allocations: 19.27 kB / 0.9843 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/1.124, allocations: 2.344 kB / 0.9843 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/1.124, allocations: 9.438 kB / 0.9843 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/1.124, allocations: 3.406 kB / 0.9843 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.124, allocations: 0.8438 kB / 0.9843 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002833/1.124, allocations: 272.3 kB / 0.9846 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002684/1.124, allocations: 167.1 kB / 0.9848 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.277e-05/1.124, allocations: 3.281 kB / 0.9848 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003078/1.125, allocations: 24.75 kB / 0.9848 GB, free: 10 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.156e-05/1.125, allocations: 9.438 kB / 0.9848 GB, free: 10 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/1.125, allocations: 11.58 kB / 0.9848 GB, free: 10 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006459/1.125, allocations: 0.5907 MB / 0.9854 GB, free: 9.906 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.9e-07/1.125, allocations: 0 / 0.9854 GB, free: 9.906 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005377/1.126, allocations: 159.9 kB / 0.9855 GB, free: 9.891 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (10): * Single equations (assignments): 10 * 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.0004/1.126, allocations: 177 kB / 0.9857 GB, free: 9.797 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004497/1.127, allocations: 244 kB / 0.9859 GB, free: 9.793 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/1.127, allocations: 6.375 kB / 0.986 GB, free: 9.793 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.544e-05/1.127, allocations: 46.91 kB / 0.986 GB, free: 9.793 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001452/1.128, allocations: 387.3 kB / 0.9864 GB, free: 9.738 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/1.13, allocations: 1.108 MB / 0.9874 GB, free: 9.184 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004603/1.13, allocations: 0.9321 MB / 0.9884 GB, free: 8.484 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/1.13, allocations: 55.33 kB / 0.9884 GB, free: 8.477 MB / 0.7325 GB Notification: Performance of SimCode: time 5.11e-07/1.13, allocations: 3.031 kB / 0.9884 GB, free: 8.477 MB / 0.7325 GB Notification: Performance of Templates: time 0.01437/1.145, allocations: 10.76 MB / 0.9989 GB, free: 7.668 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1)