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.001099/0.001099, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001057/0.001057, allocations: 191.4 kB / 17.34 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.324/1.324, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002053/0.002053, allocations: 285.1 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9679/0.9679, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 99.86 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4683/0.4703, allocations: 86.99 MB / 0.7671 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.202/0.6724, allocations: 187.2 MB / 0.9499 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4792/1.152, allocations: 13.07 MB / 0.9627 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001484/1.153, allocations: 31.34 kB / 0.9627 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001407/1.155, allocations: 427.7 kB / 0.9631 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003223/1.158, allocations: 1.155 MB / 0.9643 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00192/1.16, allocations: 0.7128 MB / 0.965 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003095/1.163, allocations: 2.014 MB / 0.9669 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001223/1.164, allocations: 0.8387 MB / 0.9678 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004366/1.169, allocations: 1.828 MB / 0.9695 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001774/1.17, allocations: 0.6742 MB / 0.9702 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003326/1.171, allocations: 80.62 kB / 0.9703 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002479/1.173, allocations: 0.8642 MB / 0.9711 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006071/1.174, allocations: 390.7 kB / 0.9715 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007439/1.175, allocations: 0.498 MB / 0.972 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002169/1.177, allocations: 1.503 MB / 0.9734 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/1.177, allocations: 1.062 kB / 0.9734 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.274e-06/1.177, allocations: 0 / 0.9734 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.252e-05/1.177, allocations: 1.031 kB / 0.9734 GB, free: 1.621 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.001745/1.178, allocations: 1.231 MB / 0.9746 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/1.179, allocations: 11 kB / 0.9747 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001144/1.18, allocations: 216.9 kB / 0.9749 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009053/1.181, allocations: 0.6876 MB / 0.9755 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.108e-05/1.181, allocations: 57.53 kB / 0.9756 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/1.181, allocations: 79.39 kB / 0.9757 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/1.182, allocations: 0.9279 MB / 0.9766 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.486e-05/1.182, allocations: 5.875 kB / 0.9766 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.078e-05/1.182, allocations: 35.22 kB / 0.9766 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.995e-05/1.182, allocations: 31.78 kB / 0.9766 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008543/1.183, allocations: 0.6179 MB / 0.9772 GB, free: 16.31 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.003751/1.187, allocations: 4.574 MB / 0.9817 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006856/1.187, allocations: 0.5433 MB / 0.9822 GB, free: 13 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002772/1.188, allocations: 250.1 kB / 0.9825 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001652/1.188, allocations: 107.2 kB / 0.9826 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/1.188, allocations: 42 kB / 0.9826 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 2.465e-06/1.188, allocations: 0.7812 kB / 0.9826 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.002344/1.19, allocations: 1.589 MB / 0.9842 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.622e-05/1.19, allocations: 109.3 kB / 0.9843 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006984/1.191, allocations: 0.716 MB / 0.985 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.297e-05/1.191, allocations: 38.36 kB / 0.985 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002633/1.191, allocations: 416.5 kB / 0.9854 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001529/1.192, allocations: 164.7 kB / 0.9856 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001673/1.192, allocations: 116.2 kB / 0.9857 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001091/1.192, allocations: 333.9 kB / 0.986 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002483/1.192, allocations: 185 kB / 0.9862 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004044/1.193, allocations: 415.2 kB / 0.9866 GB, free: 11.07 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.00193/1.195, allocations: 1.184 MB / 0.9877 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/1.195, allocations: 2.656 kB / 0.9877 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008436/1.195, allocations: 0.6702 MB / 0.9884 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/1.195, allocations: 8.75 kB / 0.9884 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/1.195, allocations: 9.469 kB / 0.9884 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/1.195, allocations: 10.78 kB / 0.9884 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004041/1.196, allocations: 123.7 kB / 0.9885 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.559e-05/1.196, allocations: 13.31 kB / 0.9885 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005144/1.196, allocations: 35.02 kB / 0.9886 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.59e-05/1.196, allocations: 24.62 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.0003044/1.197, allocations: 276.9 kB / 0.9889 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001356/1.197, allocations: 77.81 kB / 0.9889 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001531/1.197, allocations: 95.84 kB / 0.989 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/1.197, allocations: 5.625 kB / 0.989 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.387e-06/1.197, allocations: 0 / 0.989 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006086/1.198, allocations: 0.7029 MB / 0.9897 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002057/1.2, allocations: 1.636 MB / 0.9913 GB, free: 9.445 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/1.2, allocations: 5.188 kB / 0.9913 GB, free: 9.445 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004087/1.2, allocations: 99.62 kB / 0.9914 GB, free: 9.445 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/1.2, allocations: 5.969 kB / 0.9914 GB, free: 9.445 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.333e-05/1.2, allocations: 20.66 kB / 0.9914 GB, free: 9.441 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.231e-06/1.2, allocations: 8.219 kB / 0.9915 GB, free: 9.441 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/1.2, allocations: 8.188 kB / 0.9915 GB, free: 9.441 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009455/1.201, allocations: 0.8599 MB / 0.9923 GB, free: 9.133 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002223/1.201, allocations: 204.5 kB / 0.9925 GB, free: 9 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.981e-05/1.202, allocations: 18.92 kB / 0.9925 GB, free: 8.996 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004232/1.202, allocations: 19.53 kB / 0.9925 GB, free: 8.992 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.911e-05/1.202, allocations: 41.97 kB / 0.9926 GB, free: 8.988 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.151e-05/1.202, allocations: 23.84 kB / 0.9926 GB, free: 8.988 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005369/1.203, allocations: 0.5054 MB / 0.9931 GB, free: 8.895 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.61e-07/1.203, allocations: 8.094 kB / 0.9931 GB, free: 8.891 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007229/1.203, allocations: 202.2 kB / 0.9933 GB, free: 8.887 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (45): * Single equations (assignments): 45 * 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.000477/1.204, allocations: 199.2 kB / 0.9935 GB, free: 8.789 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007062/1.205, allocations: 495.9 kB / 0.994 GB, free: 8.773 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/1.205, allocations: 0 / 0.994 GB, free: 8.773 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002599/1.205, allocations: 214.3 kB / 0.9942 GB, free: 8.77 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00196/1.207, allocations: 480.2 kB / 0.9946 GB, free: 8.703 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002314/1.209, allocations: 1.721 MB / 0.9963 GB, free: 7.949 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005509/1.21, allocations: 1.029 MB / 0.9973 GB, free: 7.25 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001735/1.21, allocations: 65.73 kB / 0.9974 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of SimCode: time 3.8e-07/1.21, allocations: 0.9375 kB / 0.9974 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of Templates: time 0.01953/1.229, allocations: 13 MB / 1.01 GB, free: 6.129 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)