Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.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.MoistureMixingConservationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000978/0.0009785, 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.0009732/0.0009732, allocations: 188.8 kB / 16.25 MB, free: 6.625 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.346/1.346, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002017/0.002017, allocations: 286.5 kB / 290.4 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9511/0.9511, allocations: 169.2 MB / 0.4978 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00167/0.00167, allocations: 92.98 kB / 0.5947 GB, free: 28.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1777/0.1794, allocations: 86.99 MB / 0.6796 GB, free: 1.074 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.5251/0.7046, allocations: 219.1 MB / 0.8936 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01743/0.722, allocations: 13.66 MB / 0.9069 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002871/0.725, allocations: 58.69 kB / 0.907 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002232/0.7272, allocations: 0.7033 MB / 0.9077 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005431/0.7327, allocations: 2.025 MB / 0.9096 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002894/0.7356, allocations: 1.062 MB / 0.9107 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003817/0.7395, allocations: 2.885 MB / 0.9135 GB, free: 8.281 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001504/0.741, allocations: 1.164 MB / 0.9146 GB, free: 7.098 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005657/0.7467, allocations: 2.405 MB / 0.917 GB, free: 4.695 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002607/0.7493, allocations: 1.094 MB / 0.9181 GB, free: 3.617 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001798/0.7495, allocations: 104 kB / 0.9182 GB, free: 3.516 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00306/0.7525, allocations: 1.66 MB / 0.9198 GB, free: 1.852 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004361/0.753, allocations: 442.6 kB / 0.9202 GB, free: 1.418 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0008785/0.7539, allocations: 0.6802 MB / 0.9209 GB, free: 0.7344 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003039/0.7569, allocations: 2.158 MB / 0.923 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.7569, allocations: 0 / 0.923 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.703e-06/0.7569, allocations: 0 / 0.923 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.53e-05/0.757, allocations: 0 / 0.923 GB, free: 14.57 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 225 * Number of variables: 225 Notification: Performance of Generate backend data structure: time 0.002438/0.7594, allocations: 1.67 MB / 0.9246 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.7594, allocations: 8.031 kB / 0.9246 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002138/0.7616, allocations: 433.8 kB / 0.925 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001225/0.7628, allocations: 0.8934 MB / 0.9259 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008693/0.7637, allocations: 244.1 kB / 0.9261 GB, free: 11.24 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001255/0.7638, allocations: 88 kB / 0.9262 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002092/0.7659, allocations: 1.206 MB / 0.9274 GB, free: 9.848 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.622e-05/0.766, allocations: 3.938 kB / 0.9274 GB, free: 9.844 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-05/0.7661, allocations: 43.94 kB / 0.9274 GB, free: 9.801 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.99e-05/0.7661, allocations: 33.31 kB / 0.9275 GB, free: 9.77 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001984/0.7681, allocations: 0.8993 MB / 0.9283 GB, free: 8.871 MB / 0.6387 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.007084/0.7752, allocations: 5.597 MB / 0.9338 GB, free: 3.008 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004407/0.7757, allocations: 255.7 kB / 0.9341 GB, free: 2.703 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002092/0.7759, allocations: 153 kB / 0.9342 GB, free: 2.535 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001857/0.7761, allocations: 97.09 kB / 0.9343 GB, free: 2.422 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.502e-05/0.7761, allocations: 46.5 kB / 0.9343 GB, free: 2.367 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008132/0.777, allocations: 143 kB / 0.9345 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=20): time 5.2e-06/0.777, allocations: 0 / 0.9345 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of matching and sorting (n=20): time 0.001319/0.7783, allocations: 476.1 kB / 0.9349 GB, free: 1.754 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.674e-05/0.7784, allocations: 191.9 kB / 0.9351 GB, free: 1.523 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002116/0.7805, allocations: 1.303 MB / 0.9364 GB, free: 208 kB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.878e-05/0.7806, allocations: 29.7 kB / 0.9364 GB, free: 172 kB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005283/0.7811, allocations: 0.6089 MB / 0.937 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.013e-05/0.7812, allocations: 78.98 kB / 0.9371 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002379/0.7815, allocations: 137.9 kB / 0.9372 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.7816, allocations: 325.9 kB / 0.9375 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006918/0.7823, allocations: 244.9 kB / 0.9378 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009808/0.7833, allocations: 0.5334 MB / 0.9383 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/0.7845, allocations: 0.6571 MB / 0.9389 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.115e-05/0.7845, allocations: 4 kB / 0.9389 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002099/0.7866, allocations: 0.8357 MB / 0.9397 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/0.7866, allocations: 9.875 kB / 0.9397 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.859e-05/0.7867, allocations: 8 kB / 0.9398 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.228e-05/0.7867, allocations: 12.75 kB / 0.9398 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007558/0.7875, allocations: 179.7 kB / 0.9399 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.012e-05/0.7875, allocations: 15.12 kB / 0.94 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001592/0.7891, allocations: 191.5 kB / 0.9401 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.78e-05/0.7892, allocations: 35.98 kB / 0.9402 GB, free: 12.04 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 63 * 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.0005473/0.7897, allocations: 294.2 kB / 0.9405 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003477/0.7901, allocations: 122.5 kB / 0.9406 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006056/0.7907, allocations: 288.1 kB / 0.9408 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.7907, allocations: 4 kB / 0.9408 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.7908, allocations: 0 / 0.9408 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.7908, allocations: 7.938 kB / 0.9409 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002668/0.7934, allocations: 1.693 MB / 0.9425 GB, free: 9.527 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.7935, allocations: 4 kB / 0.9425 GB, free: 9.523 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002374/0.7937, allocations: 39.92 kB / 0.9426 GB, free: 9.484 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.887e-06/0.7937, allocations: 4 kB / 0.9426 GB, free: 9.48 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/0.7937, allocations: 4 kB / 0.9426 GB, free: 9.477 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.154e-06/0.7938, allocations: 7.938 kB / 0.9426 GB, free: 9.469 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.7938, allocations: 8.312 kB / 0.9426 GB, free: 9.461 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006986/0.7945, allocations: 496.4 kB / 0.943 GB, free: 8.922 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005241/0.795, allocations: 235.5 kB / 0.9433 GB, free: 8.672 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002462/0.7953, allocations: 11.98 kB / 0.9433 GB, free: 8.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008779/0.7962, allocations: 63.94 kB / 0.9433 GB, free: 8.598 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.905e-05/0.7962, allocations: 23.92 kB / 0.9434 GB, free: 8.574 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-05/0.7963, allocations: 15.92 kB / 0.9434 GB, free: 8.559 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001812/0.7981, allocations: 0.9156 MB / 0.9443 GB, free: 7.641 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.8e-07/0.7981, allocations: 0 / 0.9443 GB, free: 7.641 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001152/0.7992, allocations: 279.5 kB / 0.9445 GB, free: 7.367 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * 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 (20): * Single equations (assignments): 20 * 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.0005449/0.7998, allocations: 204.9 kB / 0.9447 GB, free: 7.172 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001184/0.801, allocations: 473.3 kB / 0.9452 GB, free: 6.711 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.801, allocations: 0 / 0.9452 GB, free: 6.711 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001684/0.8012, allocations: 99.77 kB / 0.9453 GB, free: 6.613 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002697/0.8039, allocations: 0.5878 MB / 0.9459 GB, free: 6.039 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00325/0.8071, allocations: 2.094 MB / 0.9479 GB, free: 3.879 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007571/0.8079, allocations: 1.118 MB / 0.949 GB, free: 2.73 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.00095/0.8089, allocations: 225.3 kB / 0.9492 GB, free: 2.508 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002081/0.8091, allocations: 79.42 kB / 0.9493 GB, free: 2.43 MB / 0.6544 GB Notification: Performance of SimCode: time 9.02e-07/0.8091, allocations: 0 / 0.9493 GB, free: 2.43 MB / 0.6544 GB Notification: Performance of Templates: time 0.03277/0.8419, allocations: 18.33 MB / 0.9672 GB, free: 448 kB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe 2>&1)