Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.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.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001356/0.001356, allocations: 195.5 kB / 16.14 MB, free: 6.641 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.634/1.634, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002678/0.002678, allocations: 286.8 kB / 290.2 MB, free: 2.188 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.067/1.067, allocations: 178.6 MB / 0.5068 GB, free: 4.789 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002764/0.002764, allocations: 97.38 kB / 0.6057 GB, free: 25.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1899, allocations: 89.15 MB / 0.6928 GB, free: 4.859 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.5762/0.7662, allocations: 220.3 MB / 0.908 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01931/0.7856, allocations: 12.21 MB / 0.9199 GB, free: 3.492 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003922/0.7895, allocations: 67.56 kB / 0.9199 GB, free: 3.426 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003527/0.7931, allocations: 0.7148 MB / 0.9206 GB, free: 2.707 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.008864/0.802, allocations: 2.692 MB / 0.9233 GB, free: 4 kB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004372/0.8064, allocations: 1.289 MB / 0.9245 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.009421/0.8159, allocations: 6.095 MB / 0.9305 GB, free: 8.621 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002865/0.8188, allocations: 1.505 MB / 0.932 GB, free: 7.082 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006519/0.8253, allocations: 2.203 MB / 0.9341 GB, free: 4.875 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004406/0.8297, allocations: 1.606 MB / 0.9357 GB, free: 3.277 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004384/0.8302, allocations: 104 kB / 0.9358 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005396/0.8356, allocations: 2.47 MB / 0.9382 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0008917/0.8365, allocations: 0.627 MB / 0.9388 GB, free: 72 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001527/0.8381, allocations: 0.9639 MB / 0.9397 GB, free: 15.1 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00526/0.8433, allocations: 3.334 MB / 0.943 GB, free: 11.76 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.8433, allocations: 0 / 0.943 GB, free: 11.76 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8434, allocations: 0 / 0.943 GB, free: 11.76 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.757e-05/0.8434, allocations: 0 / 0.943 GB, free: 11.76 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.004064/0.8475, allocations: 2.292 MB / 0.9452 GB, free: 9.41 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.8475, allocations: 8.031 kB / 0.9452 GB, free: 9.402 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003289/0.8508, allocations: 0.4972 MB / 0.9457 GB, free: 8.902 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002392/0.8532, allocations: 1.247 MB / 0.9469 GB, free: 7.598 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.25e-05/0.8533, allocations: 110.7 kB / 0.947 GB, free: 7.488 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002458/0.8536, allocations: 167.9 kB / 0.9472 GB, free: 7.324 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002995/0.8566, allocations: 1.756 MB / 0.9489 GB, free: 5.457 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.106e-05/0.8566, allocations: 0 / 0.9489 GB, free: 5.457 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001441/0.8568, allocations: 60 kB / 0.949 GB, free: 5.398 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.666e-05/0.8569, allocations: 54.48 kB / 0.949 GB, free: 5.344 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002447/0.8593, allocations: 1.399 MB / 0.9504 GB, free: 3.938 MB / 0.67 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.01064/0.87, allocations: 7.297 MB / 0.9575 GB, free: 12.26 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001852/0.8718, allocations: 1.059 MB / 0.9586 GB, free: 11.15 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001078/0.8729, allocations: 0.6983 MB / 0.9592 GB, free: 10.45 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000242/0.8732, allocations: 118.2 kB / 0.9594 GB, free: 10.31 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.966e-05/0.8733, allocations: 51.5 kB / 0.9594 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001334/0.8746, allocations: 306.5 kB / 0.9597 GB, free: 9.949 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=106): time 4.008e-06/0.8746, allocations: 0 / 0.9597 GB, free: 9.949 MB / 0.6856 GB Notification: Performance of matching and sorting (n=112): time 0.009203/0.8838, allocations: 4.422 MB / 0.964 GB, free: 5.449 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.884, allocations: 167.2 kB / 0.9642 GB, free: 5.25 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001759/0.8857, allocations: 1.259 MB / 0.9654 GB, free: 3.98 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001194/0.8858, allocations: 49.7 kB / 0.9654 GB, free: 3.926 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006433/0.8865, allocations: 0.7007 MB / 0.9661 GB, free: 3.219 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004124/0.8869, allocations: 406.2 kB / 0.9665 GB, free: 2.816 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004272/0.8874, allocations: 263.5 kB / 0.9668 GB, free: 2.555 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002007/0.8876, allocations: 361.9 kB / 0.9671 GB, free: 2.195 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009491/0.8885, allocations: 0.5153 MB / 0.9676 GB, free: 1.68 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001276/0.8898, allocations: 0.8475 MB / 0.9684 GB, free: 0.707 MB / 0.6856 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) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (sin.p = vol1.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol2.dynBal.medium.p = vol2.dynBal.p_start (sin.p = vol2.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01257/0.9024, allocations: 4.745 MB / 0.9731 GB, free: 11.8 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.688e-06/0.9024, allocations: 7.938 kB / 0.9731 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002985/0.9054, allocations: 1.596 MB / 0.9746 GB, free: 10.19 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.9054, allocations: 8.938 kB / 0.9747 GB, free: 10.18 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/0.9055, allocations: 8.078 kB / 0.9747 GB, free: 10.17 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.845e-05/0.9055, allocations: 16 kB / 0.9747 GB, free: 10.16 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/0.9067, allocations: 295.5 kB / 0.975 GB, free: 9.867 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.717e-05/0.9068, allocations: 23.92 kB / 0.975 GB, free: 9.844 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00158/0.9083, allocations: 118.8 kB / 0.9751 GB, free: 9.73 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/0.9085, allocations: 63.98 kB / 0.9752 GB, free: 9.668 MB / 0.7012 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start vol2.dynBal.medium.p = vol2.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 6 (intMasVapOut.local_reset,intEntIn.local_reset,intEntOut.local_reset,intMasFloIn.local_reset,intMasFloOut.local_reset,intMasFloVapIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 169 * 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.0009335/0.9094, allocations: 421.3 kB / 0.9756 GB, free: 9.246 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004013/0.9098, allocations: 158.1 kB / 0.9757 GB, free: 9.09 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002365/0.9122, allocations: 1.279 MB / 0.977 GB, free: 7.797 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/0.9122, allocations: 12 kB / 0.977 GB, free: 7.785 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/0.9122, allocations: 4 kB / 0.977 GB, free: 7.781 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001735/0.914, allocations: 1.233 MB / 0.9782 GB, free: 6.477 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006856/0.9208, allocations: 3.738 MB / 0.9818 GB, free: 2.543 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.475e-05/0.9209, allocations: 12 kB / 0.9818 GB, free: 2.531 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001131/0.922, allocations: 243.6 kB / 0.9821 GB, free: 2.293 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.04e-05/0.922, allocations: 23.97 kB / 0.9821 GB, free: 2.27 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-05/0.9221, allocations: 47.92 kB / 0.9821 GB, free: 2.223 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-05/0.9222, allocations: 15.94 kB / 0.9822 GB, free: 2.207 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.586e-05/0.9222, allocations: 19.92 kB / 0.9822 GB, free: 2.188 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003366/0.9256, allocations: 2.098 MB / 0.9842 GB, free: 15.93 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009286/0.9265, allocations: 355 kB / 0.9846 GB, free: 15.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000219/0.9267, allocations: 35.94 kB / 0.9846 GB, free: 15.53 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001194/0.9279, allocations: 104.9 kB / 0.9847 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001763/0.9281, allocations: 100.3 kB / 0.9848 GB, free: 15.33 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001044/0.9282, allocations: 55.98 kB / 0.9848 GB, free: 15.28 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001267/0.9295, allocations: 0.849 MB / 0.9857 GB, free: 14.43 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9295, allocations: 0 / 0.9857 GB, free: 14.43 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001523/0.931, allocations: 436 kB / 0.9861 GB, free: 14 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 12 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,intMasFloVapIn.y,intMasFloOut.y,intMasFloIn.y,intEntOut.y,intEntIn.y,intMasVapOut.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 (115): * Single equations (assignments): 115 * 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.000561/0.9316, allocations: 241.6 kB / 0.9863 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002202/0.9338, allocations: 1.207 MB / 0.9875 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.9338, allocations: 3.938 kB / 0.9875 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0008633/0.9347, allocations: 0.5448 MB / 0.988 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004368/0.9391, allocations: 0.8888 MB / 0.9889 GB, free: 11.15 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006271/0.9454, allocations: 4.018 MB / 0.9928 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001121/0.9465, allocations: 1.376 MB / 0.9942 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001709/0.9483, allocations: 377.3 kB / 0.9945 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004386/0.9487, allocations: 127.4 kB / 0.9947 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of SimCode: time 6.61e-07/0.9487, allocations: 0 / 0.9947 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of Templates: time 0.05227/1.001, allocations: 28.86 MB / 1.023 GB, free: 8.609 MB / 0.7481 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)