Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 186.6 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5241/0.5241, allocations: 87.5 MB / 104.9 MB, free: 13.01 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 222.9 MB / 349.1 MB, free: 2.75 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009846/0.0009846, allocations: 104.1 kB / 420 MB, free: 8.473 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001055/0.001055, allocations: 51.92 kB / 0.4891 GB, free: 7.684 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.3893, allocations: 70.06 MB / 0.5575 GB, free: 44.88 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.6913/1.081, allocations: 185 MB / 0.7382 GB, free: 1.395 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.03006/1.111, allocations: 13.11 MB / 0.751 GB, free: 1.137 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001958/1.113, allocations: 29.56 kB / 0.751 GB, free: 1.137 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.002157/1.115, allocations: 351 kB / 0.7514 GB, free: 1.133 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.004705/1.12, allocations: 1.093 MB / 0.7524 GB, free: 1.07 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003097/1.123, allocations: 0.6268 MB / 0.753 GB, free: 1.055 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.004464/1.127, allocations: 2.779 MB / 0.7557 GB, free: 1.055 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001665/1.129, allocations: 0.7256 MB / 0.7565 GB, free: 0.918 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005658/1.135, allocations: 1.656 MB / 0.7581 GB, free: 0.875 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002854/1.138, allocations: 0.6939 MB / 0.7587 GB, free: 0.8711 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.000385/1.138, allocations: 45.62 kB / 0.7588 GB, free: 0.8711 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003471/1.142, allocations: 0.9755 MB / 0.7597 GB, free: 0.8633 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0008407/1.142, allocations: 354.3 kB / 0.7601 GB, free: 0.8555 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.001242/1.144, allocations: 471.6 kB / 0.7605 GB, free: 0.7227 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.003036/1.147, allocations: 1.501 MB / 0.762 GB, free: 0.5234 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/1.147, allocations: 0 / 0.762 GB, free: 0.5234 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.142e-06/1.147, allocations: 4 kB / 0.762 GB, free: 0.5195 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.3e-05/1.147, allocations: 0 / 0.762 GB, free: 0.5195 MB / 0.5105 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.003363/1.15, allocations: 1.227 MB / 0.7632 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/1.15, allocations: 14.09 kB / 0.7632 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001963/1.152, allocations: 210.1 kB / 0.7634 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001901/1.154, allocations: 0.6494 MB / 0.764 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.412e-05/1.154, allocations: 60.28 kB / 0.7641 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002116/1.154, allocations: 78.88 kB / 0.7642 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002124/1.157, allocations: 0.9313 MB / 0.7651 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.351e-05/1.157, allocations: 9.031 kB / 0.7651 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/1.157, allocations: 32.75 kB / 0.7651 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.344e-05/1.157, allocations: 35.36 kB / 0.7652 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001559/1.158, allocations: 0.6123 MB / 0.7658 GB, free: 15.18 MB / 0.5261 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.00645/1.165, allocations: 4.597 MB / 0.7703 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001177/1.166, allocations: 0.5366 MB / 0.7708 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000548/1.167, allocations: 252 kB / 0.771 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002607/1.167, allocations: 100.9 kB / 0.7711 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.805e-05/1.167, allocations: 41.78 kB / 0.7712 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=43): time 3.657e-06/1.167, allocations: 0 / 0.7712 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45): time 0.004685/1.172, allocations: 1.59 MB / 0.7727 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.781e-05/1.172, allocations: 110 kB / 0.7728 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0014/1.173, allocations: 0.7125 MB / 0.7735 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.743e-05/1.173, allocations: 36.17 kB / 0.7735 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005608/1.174, allocations: 421.2 kB / 0.7739 GB, free: 10.56 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002413/1.174, allocations: 160.5 kB / 0.7741 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003046/1.174, allocations: 117.6 kB / 0.7742 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001775/1.175, allocations: 336 kB / 0.7745 GB, free: 10.13 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004881/1.175, allocations: 191.1 kB / 0.7747 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007019/1.176, allocations: 423 kB / 0.7751 GB, free: 9.867 MB / 0.5261 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.003498/1.179, allocations: 1.17 MB / 0.7763 GB, free: 9.523 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.305e-06/1.179, allocations: 2.219 kB / 0.7763 GB, free: 9.523 MB / 0.5261 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001647/1.181, allocations: 0.6718 MB / 0.7769 GB, free: 9.438 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.956e-05/1.181, allocations: 9.344 kB / 0.7769 GB, free: 9.438 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.735e-05/1.181, allocations: 6.219 kB / 0.7769 GB, free: 9.438 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.13e-05/1.181, allocations: 10.72 kB / 0.7769 GB, free: 9.438 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007189/1.182, allocations: 122.5 kB / 0.7771 GB, free: 9.438 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.877e-05/1.182, allocations: 15.31 kB / 0.7771 GB, free: 9.438 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001218/1.183, allocations: 58.33 kB / 0.7771 GB, free: 9.426 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.211e-05/1.183, allocations: 33.7 kB / 0.7772 GB, free: 9.418 MB / 0.5261 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.0006628/1.184, allocations: 279.5 kB / 0.7774 GB, free: 9.293 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003509/1.184, allocations: 78.66 kB / 0.7775 GB, free: 9.254 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003139/1.185, allocations: 93.31 kB / 0.7776 GB, free: 9.242 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/1.185, allocations: 5.25 kB / 0.7776 GB, free: 9.242 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.314e-05/1.185, allocations: 0 / 0.7776 GB, free: 9.242 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001197/1.186, allocations: 0.7024 MB / 0.7783 GB, free: 8.797 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004263/1.19, allocations: 1.649 MB / 0.7799 GB, free: 8.188 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.228e-05/1.19, allocations: 5.062 kB / 0.7799 GB, free: 8.188 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007875/1.191, allocations: 96.75 kB / 0.78 GB, free: 8.188 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.581e-05/1.191, allocations: 9.547 kB / 0.78 GB, free: 8.188 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-05/1.191, allocations: 14.62 kB / 0.78 GB, free: 8.188 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-05/1.191, allocations: 9.812 kB / 0.78 GB, free: 8.188 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.014e-05/1.191, allocations: 15.34 kB / 0.78 GB, free: 8.18 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008911/1.2, allocations: 3.59 MB / 0.7835 GB, free: 5.965 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006402/1.201, allocations: 198.9 kB / 0.7837 GB, free: 5.793 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002452/1.201, allocations: 19.33 kB / 0.7837 GB, free: 5.781 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/1.202, allocations: 42.61 kB / 0.7838 GB, free: 5.758 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/1.202, allocations: 38.89 kB / 0.7838 GB, free: 5.738 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.206e-05/1.202, allocations: 19.22 kB / 0.7838 GB, free: 5.734 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001395/1.204, allocations: 0.5119 MB / 0.7843 GB, free: 5.441 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.71e-07/1.204, allocations: 0 / 0.7843 GB, free: 5.441 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001999/1.206, allocations: 309.3 kB / 0.7846 GB, free: 5.414 MB / 0.5261 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.0006901/1.207, allocations: 203.3 kB / 0.7848 GB, free: 5.285 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00135/1.208, allocations: 467.8 kB / 0.7853 GB, free: 5.109 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/1.208, allocations: 0 / 0.7853 GB, free: 5.109 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004977/1.208, allocations: 208.6 kB / 0.7855 GB, free: 5.035 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004104/1.213, allocations: 468.4 kB / 0.7859 GB, free: 4.809 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005323/1.218, allocations: 2.256 MB / 0.7881 GB, free: 3.156 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001095/1.219, allocations: 1.041 MB / 0.7891 GB, free: 2.297 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001557/1.221, allocations: 216 kB / 0.7894 GB, free: 2.168 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003583/1.221, allocations: 63.44 kB / 0.7894 GB, free: 2.105 MB / 0.5261 GB Notification: Performance of SimCode: time 8.42e-07/1.221, allocations: 0 / 0.7894 GB, free: 2.105 MB / 0.5261 GB Notification: Performance of Templates: time 0.04579/1.267, allocations: 15.39 MB / 0.8044 GB, free: 2.957 MB / 0.5417 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)