Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001907/0.001907, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002565/0.002565, allocations: 189.3 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.502/1.502, allocations: 205.1 MB / 222.1 MB, free: 4.906 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.694/1.694, allocations: 292.2 MB / 0.5485 GB, free: 13.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 66.91 kB / 0.671 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2724, allocations: 114.5 MB / 0.7828 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.8468/1.119, allocations: 184.8 MB / 0.9634 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01505/1.134, allocations: 12.93 MB / 0.976 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001895/1.136, allocations: 28.72 kB / 0.976 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00153/1.138, allocations: 368.3 kB / 0.9764 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003312/1.141, allocations: 1.073 MB / 0.9774 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00192/1.143, allocations: 0.6353 MB / 0.978 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002782/1.146, allocations: 2.006 MB / 0.98 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001143/1.147, allocations: 0.8066 MB / 0.9808 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005516/1.153, allocations: 1.773 MB / 0.9825 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001935/1.155, allocations: 0.7112 MB / 0.9832 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000175/1.155, allocations: 79.09 kB / 0.9833 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001957/1.157, allocations: 0.9039 MB / 0.9842 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003783/1.157, allocations: 387.2 kB / 0.9845 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005693/1.158, allocations: 0.4993 MB / 0.985 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002141/1.16, allocations: 1.53 MB / 0.9865 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/1.16, allocations: 1.094 kB / 0.9865 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.964e-06/1.16, allocations: 0 / 0.9865 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.741e-05/1.16, allocations: 3.938 kB / 0.9865 GB, free: 4.625 MB / 0.7325 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.002126/1.162, allocations: 1.228 MB / 0.9877 GB, free: 19.92 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/1.162, allocations: 9.438 kB / 0.9877 GB, free: 19.92 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001386/1.163, allocations: 213.1 kB / 0.9879 GB, free: 19.87 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/1.165, allocations: 0.6352 MB / 0.9885 GB, free: 19.57 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.455e-05/1.165, allocations: 57.38 kB / 0.9886 GB, free: 19.56 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/1.165, allocations: 79.78 kB / 0.9887 GB, free: 19.56 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001336/1.166, allocations: 0.9307 MB / 0.9896 GB, free: 19.3 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.786e-05/1.166, allocations: 5.031 kB / 0.9896 GB, free: 19.3 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-05/1.166, allocations: 29.88 kB / 0.9896 GB, free: 19.3 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.556e-05/1.166, allocations: 35.27 kB / 0.9897 GB, free: 19.3 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/1.167, allocations: 0.6124 MB / 0.9902 GB, free: 19.29 MB / 0.7481 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.004511/1.172, allocations: 4.583 MB / 0.9947 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006681/1.173, allocations: 0.5439 MB / 0.9953 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003169/1.173, allocations: 249 kB / 0.9955 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000199/1.173, allocations: 107.5 kB / 0.9956 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/1.173, allocations: 43 kB / 0.9956 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=43): time 2.054e-06/1.173, allocations: 1.812 kB / 0.9956 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of matching and sorting (n=45): time 0.002705/1.176, allocations: 1.577 MB / 0.9972 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.985e-05/1.176, allocations: 110.1 kB / 0.9973 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007014/1.177, allocations: 0.7175 MB / 0.998 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.657e-05/1.177, allocations: 36.52 kB / 0.998 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002196/1.177, allocations: 414.4 kB / 0.9984 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/1.177, allocations: 160.4 kB / 0.9986 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/1.177, allocations: 119.5 kB / 0.9987 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001521/1.177, allocations: 382.5 kB / 0.999 GB, free: 12.94 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002753/1.178, allocations: 184.3 kB / 0.9992 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004725/1.178, allocations: 416.2 kB / 0.9996 GB, free: 12.55 MB / 0.7481 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.002074/1.18, allocations: 1.167 MB / 1.001 GB, free: 11.9 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/1.18, allocations: 2.656 kB / 1.001 GB, free: 11.9 MB / 0.7481 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009793/1.181, allocations: 0.6645 MB / 1.001 GB, free: 11.65 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.971e-05/1.181, allocations: 10.62 kB / 1.001 GB, free: 11.65 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/1.181, allocations: 7.188 kB / 1.001 GB, free: 11.65 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.792e-05/1.181, allocations: 10.91 kB / 1.001 GB, free: 11.65 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004631/1.182, allocations: 128.3 kB / 1.002 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.975e-05/1.182, allocations: 15.59 kB / 1.002 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007361/1.182, allocations: 49.98 kB / 1.002 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.326e-05/1.183, allocations: 25.81 kB / 1.002 GB, free: 11.62 MB / 0.7481 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.0004338/1.183, allocations: 280.1 kB / 1.002 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/1.183, allocations: 84.75 kB / 1.002 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001558/1.183, allocations: 91.97 kB / 1.002 GB, free: 11.33 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/1.183, allocations: 5.031 kB / 1.002 GB, free: 11.33 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.368e-05/1.183, allocations: 2.312 kB / 1.002 GB, free: 11.33 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007396/1.184, allocations: 0.7081 MB / 1.003 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002448/1.187, allocations: 1.638 MB / 1.004 GB, free: 9.805 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/1.187, allocations: 5.406 kB / 1.004 GB, free: 9.805 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004988/1.187, allocations: 98.88 kB / 1.004 GB, free: 9.801 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-05/1.187, allocations: 11.31 kB / 1.004 GB, free: 9.797 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.068e-05/1.187, allocations: 20.25 kB / 1.005 GB, free: 9.789 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.276e-06/1.187, allocations: 11.69 kB / 1.005 GB, free: 9.785 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/1.187, allocations: 5.406 kB / 1.005 GB, free: 9.785 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/1.188, allocations: 0.8947 MB / 1.005 GB, free: 9.242 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003801/1.189, allocations: 198.6 kB / 1.006 GB, free: 9.086 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/1.189, allocations: 24.39 kB / 1.006 GB, free: 9.074 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005295/1.189, allocations: 37.62 kB / 1.006 GB, free: 9.062 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.557e-05/1.189, allocations: 41.91 kB / 1.006 GB, free: 9.051 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.914e-05/1.189, allocations: 19.98 kB / 1.006 GB, free: 9.051 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0008561/1.19, allocations: 0.5058 MB / 1.006 GB, free: 8.836 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/1.19, allocations: 0 / 1.006 GB, free: 8.836 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009973/1.191, allocations: 197.6 kB / 1.006 GB, free: 8.82 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.U,vol.dynBal.mXi[1],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.0007002/1.192, allocations: 196 kB / 1.007 GB, free: 8.707 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0009854/1.193, allocations: 0.5121 MB / 1.007 GB, free: 8.57 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.193, allocations: 7.562 kB / 1.007 GB, free: 8.566 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002943/1.193, allocations: 213.7 kB / 1.007 GB, free: 8.508 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001989/1.195, allocations: 480.4 kB / 1.008 GB, free: 8.371 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00252/1.198, allocations: 1.932 MB / 1.01 GB, free: 7.105 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007142/1.199, allocations: 1.03 MB / 1.011 GB, free: 6.367 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0006587/1.199, allocations: 202.5 kB / 1.011 GB, free: 6.324 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001468/1.199, allocations: 64.25 kB / 1.011 GB, free: 6.312 MB / 0.7481 GB Notification: Performance of SimCode: time 3.5e-07/1.199, allocations: 0 / 1.011 GB, free: 6.312 MB / 0.7481 GB Notification: Performance of Templates: time 0.0272/1.227, allocations: 14.99 MB / 1.026 GB, free: 172 kB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)