Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 115.5 kB / 16.42 MB, free: 6.031 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.00102/0.00102, allocations: 186.2 kB / 17.35 MB, free: 5.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.286/1.286, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002112/0.002112, allocations: 285.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.9248/0.9248, allocations: 169.3 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001749/0.001749, allocations: 95.84 kB / 0.6821 GB, free: 6.902 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.356, allocations: 86.97 MB / 0.7671 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1759/0.532, allocations: 187.3 MB / 0.9499 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.3529/0.885, allocations: 13.06 MB / 0.9627 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009245/0.8859, allocations: 38.34 kB / 0.9627 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001089/0.887, allocations: 426.6 kB / 0.9632 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00225/0.8893, allocations: 1.158 MB / 0.9643 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001513/0.8908, allocations: 0.7055 MB / 0.965 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001913/0.8928, allocations: 2.018 MB / 0.9669 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000984/0.8938, allocations: 0.8447 MB / 0.9678 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003129/0.8969, allocations: 1.826 MB / 0.9695 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001203/0.8981, allocations: 0.6667 MB / 0.9702 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001301/0.8983, allocations: 81.12 kB / 0.9703 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001406/0.8997, allocations: 0.8707 MB / 0.9711 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003123/0.9, allocations: 383.7 kB / 0.9715 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000459/0.9005, allocations: 0.5008 MB / 0.972 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001407/0.9019, allocations: 1.503 MB / 0.9735 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.9019, allocations: 0 / 0.9735 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.253e-06/0.9019, allocations: 0 / 0.9735 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.169e-05/0.9019, allocations: 0.875 kB / 0.9735 GB, free: 1.613 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001479/0.9034, allocations: 1.238 MB / 0.9747 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.9034, allocations: 8.531 kB / 0.9747 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001138/0.9046, allocations: 214.5 kB / 0.9749 GB, free: 16.87 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008474/0.9054, allocations: 0.6793 MB / 0.9755 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.352e-05/0.9055, allocations: 62.97 kB / 0.9756 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.343e-05/0.9056, allocations: 78.89 kB / 0.9757 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/0.9067, allocations: 0.932 MB / 0.9766 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.9067, allocations: 3.438 kB / 0.9766 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.505e-05/0.9068, allocations: 36.78 kB / 0.9766 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.025e-05/0.9068, allocations: 30.34 kB / 0.9766 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007927/0.9076, allocations: 0.6122 MB / 0.9772 GB, free: 16.3 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.003449/0.911, allocations: 4.584 MB / 0.9817 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006292/0.9117, allocations: 0.5394 MB / 0.9823 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002676/0.912, allocations: 244 kB / 0.9825 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001786/0.9121, allocations: 110.1 kB / 0.9826 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.9122, allocations: 45.53 kB / 0.9826 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 1.993e-06/0.9122, allocations: 4.406 kB / 0.9826 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.002271/0.9145, allocations: 1.585 MB / 0.9842 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.202e-05/0.9145, allocations: 108.3 kB / 0.9843 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007356/0.9153, allocations: 0.714 MB / 0.985 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.538e-05/0.9153, allocations: 37.45 kB / 0.985 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002399/0.9156, allocations: 422.4 kB / 0.9854 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/0.9157, allocations: 160.2 kB / 0.9856 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001409/0.9158, allocations: 121.8 kB / 0.9857 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.916, allocations: 330.1 kB / 0.986 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002516/0.9162, allocations: 185.7 kB / 0.9862 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003843/0.9166, allocations: 414.3 kB / 0.9866 GB, free: 11.06 MB / 0.7325 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001948/0.9186, allocations: 1.179 MB / 0.9877 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.9186, allocations: 1.812 kB / 0.9877 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008153/0.9194, allocations: 0.6691 MB / 0.9884 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.9194, allocations: 12.94 kB / 0.9884 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.9194, allocations: 4.219 kB / 0.9884 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.9195, allocations: 15.09 kB / 0.9884 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004183/0.9199, allocations: 130 kB / 0.9885 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.579e-05/0.9199, allocations: 16.03 kB / 0.9886 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000546/0.9205, allocations: 21.47 kB / 0.9886 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.116e-05/0.9205, allocations: 31.38 kB / 0.9886 GB, free: 10.65 MB / 0.7325 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0002899/0.9208, allocations: 274.2 kB / 0.9889 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/0.921, allocations: 80.03 kB / 0.9889 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001555/0.9211, allocations: 98.33 kB / 0.989 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005995/0.9217, allocations: 0.6961 MB / 0.9897 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.9217, allocations: 0 / 0.9897 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002201/0.922, allocations: 209.3 kB / 0.9899 GB, free: 9.891 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.873e-05/0.9221, allocations: 14.12 kB / 0.9899 GB, free: 9.891 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000475/0.9226, allocations: 12.34 kB / 0.9899 GB, free: 9.891 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.649e-05/0.9226, allocations: 25.53 kB / 0.99 GB, free: 9.891 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009688/0.9236, allocations: 0.7281 MB / 0.9907 GB, free: 9.625 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009658/0.9246, allocations: 1.044 MB / 0.9917 GB, free: 9.215 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002145/0.9248, allocations: 203.3 kB / 0.9919 GB, free: 9.215 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004632/0.9253, allocations: 0.4914 MB / 0.9924 GB, free: 9.121 MB / 0.7325 GB Notification: Performance of Backend: time 9.82e-07/0.9253, allocations: 0 / 0.9924 GB, free: 9.121 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001496/0.9268, allocations: 0.6192 MB / 0.993 GB, free: 9.016 MB / 0.7325 GB Notification: Performance of SimCode: time 0.003071/0.9299, allocations: 2.25 MB / 0.9952 GB, free: 7.902 MB / 0.7325 GB Notification: Performance of Templates: time 0.02171/0.9516, allocations: 16.55 MB / 1.011 GB, free: 6.477 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)