Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001034, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001322/0.001322, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001803/0.001803, allocations: 285.1 kB / 291.4 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9557/0.9557, allocations: 169.5 MB / 0.5 GB, free: 14.19 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003938/0.0003938, allocations: 18.44 kB / 0.598 GB, free: 28.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1337, allocations: 88.54 MB / 0.6845 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.4313/0.5651, allocations: 173.1 MB / 0.8536 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007677/0.5728, allocations: 5.354 MB / 0.8588 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000747/0.5736, allocations: 35.72 kB / 0.8588 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009692/0.5746, allocations: 392.1 kB / 0.8592 GB, free: 6.801 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.002621/0.5772, allocations: 1.213 MB / 0.8604 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002196/0.5794, allocations: 0.8888 MB / 0.8613 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002732/0.5822, allocations: 2.94 MB / 0.8641 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008874/0.5831, allocations: 0.6926 MB / 0.8648 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001335/0.5844, allocations: 0.8557 MB / 0.8656 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009328/0.5853, allocations: 0.7667 MB / 0.8664 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.27e-05/0.5854, allocations: 40.56 kB / 0.8664 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001819/0.5873, allocations: 0.9058 MB / 0.8673 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003842/0.5877, allocations: 424.4 kB / 0.8677 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002221/0.5879, allocations: 246.5 kB / 0.8679 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001343/0.5892, allocations: 1.485 MB / 0.8694 GB, free: 452 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.5893, allocations: 0 / 0.8694 GB, free: 452 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.402e-06/0.5893, allocations: 0 / 0.8694 GB, free: 452 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.278e-05/0.5893, allocations: 0 / 0.8694 GB, free: 452 kB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.00179/0.5911, allocations: 1.258 MB / 0.8706 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.985e-05/0.5911, allocations: 7.812 kB / 0.8706 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001816/0.5929, allocations: 351.4 kB / 0.871 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/0.594, allocations: 0.7511 MB / 0.8717 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003097/0.5943, allocations: 130.8 kB / 0.8718 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.5945, allocations: 87.45 kB / 0.8719 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001666/0.5961, allocations: 1.064 MB / 0.873 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.5962, allocations: 7.875 kB / 0.873 GB, free: 14 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.557e-05/0.5963, allocations: 38.41 kB / 0.873 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.012e-05/0.5963, allocations: 36.05 kB / 0.873 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001416/0.5977, allocations: 0.842 MB / 0.8739 GB, free: 13.56 MB / 0.5919 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.004804/0.6025, allocations: 4.058 MB / 0.8778 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005764/0.6031, allocations: 367.2 kB / 0.8782 GB, free: 9.645 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002954/0.6034, allocations: 212.8 kB / 0.8784 GB, free: 9.434 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001662/0.6036, allocations: 101.6 kB / 0.8785 GB, free: 9.316 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.6037, allocations: 50.5 kB / 0.8785 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=36): time 1.904e-06/0.6037, allocations: 0 / 0.8785 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of matching and sorting (n=38): time 0.002329/0.606, allocations: 1.326 MB / 0.8798 GB, free: 7.875 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.606, allocations: 59.36 kB / 0.8799 GB, free: 7.805 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001298/0.6073, allocations: 0.9842 MB / 0.8808 GB, free: 6.797 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.241e-05/0.6074, allocations: 37.7 kB / 0.8809 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003541/0.6078, allocations: 499.3 kB / 0.8813 GB, free: 6.262 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/0.6079, allocations: 145.9 kB / 0.8815 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/0.6079, allocations: 12 kB / 0.8815 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.608, allocations: 330 kB / 0.8818 GB, free: 5.777 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004637/0.6085, allocations: 237.2 kB / 0.882 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005732/0.6091, allocations: 405.2 kB / 0.8824 GB, free: 5.082 MB / 0.5919 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00181/0.6109, allocations: 0.7316 MB / 0.8831 GB, free: 4.332 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.6109, allocations: 0 / 0.8831 GB, free: 4.332 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001331/0.6123, allocations: 0.7653 MB / 0.8839 GB, free: 3.559 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.6123, allocations: 8 kB / 0.8839 GB, free: 3.551 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.6123, allocations: 4 kB / 0.8839 GB, free: 3.547 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.6123, allocations: 8 kB / 0.8839 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005572/0.6129, allocations: 135.8 kB / 0.884 GB, free: 3.406 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.808e-05/0.6129, allocations: 17.61 kB / 0.884 GB, free: 3.391 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008534/0.6138, allocations: 99.83 kB / 0.8841 GB, free: 3.293 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.257e-05/0.6138, allocations: 31.98 kB / 0.8842 GB, free: 3.262 MB / 0.5919 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (71): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003886/0.6142, allocations: 305.6 kB / 0.8845 GB, free: 2.953 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/0.6144, allocations: 94.88 kB / 0.8846 GB, free: 2.859 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001791/0.6146, allocations: 105 kB / 0.8847 GB, free: 2.758 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.6146, allocations: 4 kB / 0.8847 GB, free: 2.754 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.6146, allocations: 0 / 0.8847 GB, free: 2.754 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006595/0.6152, allocations: 0.6752 MB / 0.8853 GB, free: 1.992 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002212/0.6175, allocations: 1.594 MB / 0.8869 GB, free: 300 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.6175, allocations: 4 kB / 0.8869 GB, free: 296 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003873/0.6179, allocations: 79.84 kB / 0.8869 GB, free: 216 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/0.6179, allocations: 8.5 kB / 0.887 GB, free: 208 kB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.402e-05/0.6179, allocations: 20.86 kB / 0.887 GB, free: 188 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.6179, allocations: 8 kB / 0.887 GB, free: 180 kB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.618, allocations: 7.938 kB / 0.887 GB, free: 172 kB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009933/0.619, allocations: 0.8217 MB / 0.8878 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003163/0.6193, allocations: 239.9 kB / 0.888 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/0.6194, allocations: 15.98 kB / 0.888 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006754/0.6201, allocations: 61.11 kB / 0.8881 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.181e-05/0.6202, allocations: 36.36 kB / 0.8881 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.078e-05/0.6202, allocations: 27.98 kB / 0.8882 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0009455/0.6212, allocations: 0.7034 MB / 0.8888 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6212, allocations: 4 kB / 0.8888 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007724/0.622, allocations: 252 kB / 0.8891 GB, free: 13.93 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004013/0.6224, allocations: 212.6 kB / 0.8893 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008775/0.6233, allocations: 495.6 kB / 0.8898 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.6233, allocations: 4 kB / 0.8898 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002609/0.6235, allocations: 189.3 kB / 0.8899 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002486/0.626, allocations: 0.5946 MB / 0.8905 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002606/0.6286, allocations: 2.187 MB / 0.8927 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006358/0.6293, allocations: 1.099 MB / 0.8937 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008004/0.6301, allocations: 232.2 kB / 0.894 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001722/0.6303, allocations: 71.42 kB / 0.894 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of SimCode: time 3.2e-07/0.6303, allocations: 0 / 0.894 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of Templates: time 0.02729/0.6576, allocations: 18.32 MB / 0.9119 GB, free: 6.742 MB / 0.6231 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)