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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8478/0.8478, allocations: 143.4 MB / 159.2 MB, free: 4.914 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001641/0.00164, allocations: 191.2 kB / 191.9 MB, free: 5.719 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 222.9 MB / 447.3 MB, free: 5.855 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 103.1 kB / 0.517 GB, free: 3.703 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001974/0.001974, allocations: 277.8 kB / 0.5973 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001473, allocations: 84.2 kB / 0.6885 GB, free: 3.848 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3498, allocations: 81.29 MB / 0.7679 GB, free: 27.66 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.5276/0.8775, allocations: 188.1 MB / 0.9516 GB, free: 20 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.008229/0.8857, allocations: 5.714 MB / 0.9572 GB, free: 15.85 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001668/0.8874, allocations: 31.91 kB / 0.9572 GB, free: 15.85 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001407/0.8889, allocations: 498.4 kB / 0.9577 GB, free: 15.84 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.003833/0.8927, allocations: 1.514 MB / 0.9592 GB, free: 15.75 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002886/0.8956, allocations: 1.071 MB / 0.9602 GB, free: 15.71 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.003383/0.899, allocations: 3.479 MB / 0.9636 GB, free: 15.7 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009962/0.9, allocations: 0.8437 MB / 0.9644 GB, free: 15.56 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001507/0.9016, allocations: 0.8982 MB / 0.9653 GB, free: 15.55 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001781/0.9033, allocations: 0.846 MB / 0.9661 GB, free: 15.43 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001342/0.9035, allocations: 53.66 kB / 0.9662 GB, free: 15.43 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003197/0.9067, allocations: 1.704 MB / 0.9678 GB, free: 15.42 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.000525/0.9072, allocations: 450.8 kB / 0.9683 GB, free: 15.38 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0007054/0.908, allocations: 0.5764 MB / 0.9688 GB, free: 15.21 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.003605/0.9116, allocations: 2.131 MB / 0.9709 GB, free: 14.41 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.9116, allocations: 0 / 0.9709 GB, free: 14.41 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9116, allocations: 0 / 0.9709 GB, free: 14.41 MB / 0.573 GB Notification: Performance of Transformations before backend: time 2.091e-05/0.9116, allocations: 0 / 0.9709 GB, free: 14.41 MB / 0.573 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.002659/0.9143, allocations: 1.488 MB / 0.9724 GB, free: 13.3 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.9143, allocations: 11.34 kB / 0.9724 GB, free: 13.3 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001782/0.9161, allocations: 316.2 kB / 0.9727 GB, free: 13.16 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001242/0.9174, allocations: 0.7682 MB / 0.9734 GB, free: 12.6 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003452/0.9177, allocations: 122.1 kB / 0.9735 GB, free: 12.55 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001572/0.9179, allocations: 91.61 kB / 0.9736 GB, free: 12.51 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001824/0.9197, allocations: 1.073 MB / 0.9747 GB, free: 11.88 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.664e-05/0.9198, allocations: 6.125 kB / 0.9747 GB, free: 11.87 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.864e-05/0.9199, allocations: 40.47 kB / 0.9747 GB, free: 11.84 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.968e-05/0.9199, allocations: 38.45 kB / 0.9748 GB, free: 11.83 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00154/0.9215, allocations: 0.8338 MB / 0.9756 GB, free: 11.44 MB / 0.573 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.005427/0.9269, allocations: 4.035 MB / 0.9795 GB, free: 8.168 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005509/0.9275, allocations: 376.6 kB / 0.9799 GB, free: 7.973 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002876/0.9278, allocations: 217.2 kB / 0.9801 GB, free: 7.867 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001744/0.928, allocations: 99.92 kB / 0.9802 GB, free: 7.77 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.563e-05/0.928, allocations: 51.33 kB / 0.9802 GB, free: 7.715 MB / 0.573 GB Notification: Performance of pre-optimization done (n=36): time 3.927e-06/0.928, allocations: 0 / 0.9802 GB, free: 7.715 MB / 0.573 GB Notification: Performance of matching and sorting (n=38): time 0.00258/0.9306, allocations: 1.329 MB / 0.9815 GB, free: 6.863 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.9307, allocations: 56.66 kB / 0.9816 GB, free: 6.801 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001265/0.9319, allocations: 0.9856 MB / 0.9825 GB, free: 6.25 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 4.468e-05/0.932, allocations: 38.02 kB / 0.9826 GB, free: 6.211 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00033/0.9323, allocations: 488.8 kB / 0.983 GB, free: 5.789 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/0.9325, allocations: 140 kB / 0.9832 GB, free: 5.672 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001856/0.9327, allocations: 121.2 kB / 0.9833 GB, free: 5.598 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.9328, allocations: 326.8 kB / 0.9836 GB, free: 5.277 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004504/0.9332, allocations: 238.8 kB / 0.9838 GB, free: 5.164 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005646/0.9338, allocations: 410.6 kB / 0.9842 GB, free: 4.836 MB / 0.573 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.002301/0.9361, allocations: 1.176 MB / 0.9854 GB, free: 4.09 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.9361, allocations: 2.062 kB / 0.9854 GB, free: 4.09 MB / 0.573 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001397/0.9375, allocations: 0.7542 MB / 0.9861 GB, free: 3.738 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.9376, allocations: 7.219 kB / 0.9861 GB, free: 3.738 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.9376, allocations: 2.875 kB / 0.9861 GB, free: 3.738 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/0.9376, allocations: 14.09 kB / 0.9861 GB, free: 3.734 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006184/0.9382, allocations: 141.1 kB / 0.9863 GB, free: 3.707 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.9383, allocations: 10.22 kB / 0.9863 GB, free: 3.707 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001021/0.9393, allocations: 88.8 kB / 0.9864 GB, free: 3.664 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.028e-05/0.9393, allocations: 24.41 kB / 0.9864 GB, free: 3.66 MB / 0.573 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004677/0.9398, allocations: 321.8 kB / 0.9867 GB, free: 3.43 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/0.94, allocations: 96.59 kB / 0.9868 GB, free: 3.383 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001797/0.9402, allocations: 102 kB / 0.9869 GB, free: 3.316 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/0.9402, allocations: 5.031 kB / 0.9869 GB, free: 3.316 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.9402, allocations: 0 / 0.9869 GB, free: 3.316 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000669/0.9409, allocations: 0.6746 MB / 0.9875 GB, free: 2.727 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002539/0.9434, allocations: 1.58 MB / 0.9891 GB, free: 1.594 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.9434, allocations: 3.438 kB / 0.9891 GB, free: 1.594 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000426/0.9439, allocations: 89.28 kB / 0.9892 GB, free: 1.578 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.801e-05/0.9439, allocations: 9.266 kB / 0.9892 GB, free: 1.574 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.677e-05/0.9439, allocations: 12.56 kB / 0.9892 GB, free: 1.57 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-05/0.944, allocations: 16 kB / 0.9892 GB, free: 1.562 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.643e-06/0.944, allocations: 4.438 kB / 0.9892 GB, free: 1.562 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005215/0.9492, allocations: 3.655 MB / 0.9928 GB, free: 14.26 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004187/0.9496, allocations: 231.9 kB / 0.993 GB, free: 14.01 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.9497, allocations: 15.98 kB / 0.993 GB, free: 14 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007233/0.9505, allocations: 58.86 kB / 0.9931 GB, free: 13.94 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.672e-05/0.9506, allocations: 43.55 kB / 0.9931 GB, free: 13.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.676e-05/0.9506, allocations: 27.98 kB / 0.9931 GB, free: 13.88 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001019/0.9516, allocations: 0.6955 MB / 0.9938 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9517, allocations: 4 kB / 0.9938 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001178/0.9528, allocations: 384 kB / 0.9942 GB, free: 12.79 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],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 (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.0004597/0.9533, allocations: 201.5 kB / 0.9944 GB, free: 12.61 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0009614/0.9543, allocations: 0.5026 MB / 0.9949 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.9543, allocations: 0 / 0.9949 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002595/0.9546, allocations: 184.3 kB / 0.9951 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002736/0.9573, allocations: 0.5998 MB / 0.9956 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003106/0.9604, allocations: 2.433 MB / 0.998 GB, free: 8.859 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006592/0.9611, allocations: 1.103 MB / 0.9991 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0009315/0.962, allocations: 256.3 kB / 0.9993 GB, free: 7.473 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001864/0.9622, allocations: 71.44 kB / 0.9994 GB, free: 7.402 MB / 0.5886 GB Notification: Performance of SimCode: time 1.353e-06/0.9622, allocations: 0 / 0.9994 GB, free: 7.402 MB / 0.5886 GB Notification: Performance of Templates: time 0.03259/0.9948, allocations: 19.98 MB / 1.019 GB, free: 3.738 MB / 0.6042 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)