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.001349/0.001349, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.001116/0.001116, allocations: 183.9 kB / 17.35 MB, free: 5.738 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.303/1.303, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002096/0.002096, allocations: 285.2 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9279/0.9279, allocations: 169.2 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001762/0.001762, allocations: 99.84 kB / 0.6821 GB, free: 6.906 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3726/0.3744, allocations: 86.98 MB / 0.7671 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1838/0.5582, allocations: 187.3 MB / 0.9499 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.3605/0.9187, allocations: 13.07 MB / 0.9627 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008967/0.9197, allocations: 30.88 kB / 0.9627 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001092/0.9208, allocations: 436.8 kB / 0.9632 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002251/0.9231, allocations: 1.203 MB / 0.9643 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001454/0.9245, allocations: 0.7131 MB / 0.965 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001762/0.9263, allocations: 2.023 MB / 0.967 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009285/0.9272, allocations: 0.8422 MB / 0.9678 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00297/0.9302, allocations: 1.879 MB / 0.9697 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001126/0.9314, allocations: 0.6641 MB / 0.9703 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001295/0.9315, allocations: 79.75 kB / 0.9704 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00134/0.9328, allocations: 0.8719 MB / 0.9712 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003213/0.9332, allocations: 387 kB / 0.9716 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004488/0.9336, allocations: 0.4984 MB / 0.9721 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001352/0.935, allocations: 1.504 MB / 0.9736 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.935, allocations: 5.016 kB / 0.9736 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.173e-06/0.935, allocations: 0 / 0.9736 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.095e-05/0.935, allocations: 0 / 0.9736 GB, free: 1.566 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.001536/0.9366, allocations: 1.232 MB / 0.9748 GB, free: 16.87 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.9366, allocations: 9.719 kB / 0.9748 GB, free: 16.87 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001123/0.9377, allocations: 219.8 kB / 0.975 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009597/0.9387, allocations: 0.683 MB / 0.9757 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.012e-05/0.9388, allocations: 62.56 kB / 0.9757 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.571e-05/0.9389, allocations: 76.44 kB / 0.9758 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/0.9399, allocations: 0.9344 MB / 0.9767 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.94, allocations: 4.297 kB / 0.9767 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.599e-05/0.94, allocations: 38.06 kB / 0.9767 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.978e-05/0.9401, allocations: 26.59 kB / 0.9768 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000809/0.9409, allocations: 0.6212 MB / 0.9774 GB, free: 16.25 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.003655/0.9445, allocations: 4.576 MB / 0.9818 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006469/0.9452, allocations: 0.5434 MB / 0.9824 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002741/0.9455, allocations: 244 kB / 0.9826 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001661/0.9457, allocations: 102.6 kB / 0.9827 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.9457, allocations: 45.59 kB / 0.9827 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 2.034e-06/0.9457, allocations: 0 / 0.9827 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.002277/0.948, allocations: 1.584 MB / 0.9843 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.9481, allocations: 114.5 kB / 0.9844 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006591/0.9487, allocations: 0.7118 MB / 0.9851 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.156e-05/0.9488, allocations: 38.64 kB / 0.9851 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000241/0.949, allocations: 414.8 kB / 0.9855 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.9491, allocations: 166.1 kB / 0.9857 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/0.9493, allocations: 118.2 kB / 0.9858 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.9494, allocations: 330.4 kB / 0.9861 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002434/0.9497, allocations: 186.3 kB / 0.9863 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003933/0.9501, allocations: 416 kB / 0.9867 GB, free: 11.01 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.001991/0.9521, allocations: 1.184 MB / 0.9878 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.9521, allocations: 7.891 kB / 0.9879 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008326/0.9529, allocations: 0.6701 MB / 0.9885 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.9529, allocations: 7.406 kB / 0.9885 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.953, allocations: 7.281 kB / 0.9885 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.953, allocations: 14.09 kB / 0.9885 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004194/0.9534, allocations: 129.1 kB / 0.9887 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.9534, allocations: 12.47 kB / 0.9887 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005193/0.9539, allocations: 26.17 kB / 0.9887 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.109e-05/0.954, allocations: 26.41 kB / 0.9887 GB, free: 10.6 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.0002873/0.9543, allocations: 275.2 kB / 0.989 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001465/0.9544, allocations: 82.27 kB / 0.9891 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001571/0.9546, allocations: 91.34 kB / 0.9891 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006123/0.9552, allocations: 0.705 MB / 0.9898 GB, free: 9.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.9552, allocations: 0 / 0.9898 GB, free: 9.98 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002772/0.9555, allocations: 202.3 kB / 0.99 GB, free: 9.844 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.74e-05/0.9556, allocations: 12.88 kB / 0.99 GB, free: 9.844 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004881/0.9561, allocations: 19.72 kB / 0.9901 GB, free: 9.84 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.145e-05/0.9562, allocations: 26.2 kB / 0.9901 GB, free: 9.84 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009795/0.9572, allocations: 0.7282 MB / 0.9908 GB, free: 9.574 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009717/0.9582, allocations: 1.043 MB / 0.9918 GB, free: 9.164 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002277/0.9584, allocations: 205.4 kB / 0.992 GB, free: 9.164 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004549/0.9589, allocations: 0.4946 MB / 0.9925 GB, free: 9.07 MB / 0.7325 GB Notification: Performance of Backend: time 4.81e-07/0.9589, allocations: 1.094 kB / 0.9925 GB, free: 9.07 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001475/0.9603, allocations: 0.6149 MB / 0.9931 GB, free: 8.965 MB / 0.7325 GB Notification: Performance of SimCode: time 0.003062/0.9634, allocations: 2.245 MB / 0.9953 GB, free: 7.852 MB / 0.7325 GB Notification: Performance of Templates: time 0.02165/0.9851, allocations: 16.55 MB / 1.011 GB, free: 6.414 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)