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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009757/0.0009757, allocations: 165 kB / 23.02 MB, free: 1.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.044/1.044, allocations: 177.1 MB / 203.4 MB, free: 5.656 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001688/0.001688, allocations: 226 kB / 260.2 MB, free: 12.84 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7983/0.7983, allocations: 138.4 MB / 455.2 MB, free: 1.547 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.5551 GB, free: 0.4922 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.581e-05/2.749e-05, allocations: 2.312 kB / 0.5552 GB, free: 500 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.3433/0.3434, allocations: 155 MB / 0.7065 GB, free: 1.824 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.007934/0.3513, allocations: 5.266 MB / 0.7117 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00165/0.353, allocations: 99.19 kB / 0.7118 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001216/0.3542, allocations: 476.2 kB / 0.7122 GB, free: 12 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.003005/0.3572, allocations: 1.628 MB / 0.7138 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.002385/0.3596, allocations: 1.286 MB / 0.7151 GB, free: 9.07 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.005562/0.3651, allocations: 4.486 MB / 0.7194 GB, free: 4.574 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00198/0.3671, allocations: 1.413 MB / 0.7208 GB, free: 3.133 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003344/0.3705, allocations: 2.11 MB / 0.7229 GB, free: 1.031 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002175/0.3726, allocations: 1.513 MB / 0.7244 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0004653/0.3731, allocations: 180 kB / 0.7245 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001072/0.3742, allocations: 0.5573 MB / 0.7251 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0005515/0.3747, allocations: 0.7868 MB / 0.7258 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.001033/0.3758, allocations: 0.7366 MB / 0.7266 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.002215/0.378, allocations: 1.884 MB / 0.7284 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.378, allocations: 0 / 0.7284 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.222e-06/0.378, allocations: 0 / 0.7284 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.095e-05/0.378, allocations: 0 / 0.7284 GB, free: 11.43 MB / 0.5417 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.002725/0.3808, allocations: 2.256 MB / 0.7306 GB, free: 9.129 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.3808, allocations: 8.75 kB / 0.7306 GB, free: 9.121 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001812/0.3826, allocations: 0.6588 MB / 0.7313 GB, free: 8.461 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001648/0.3843, allocations: 1.287 MB / 0.7325 GB, free: 7.125 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.274e-05/0.3843, allocations: 110.7 kB / 0.7326 GB, free: 7.016 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001665/0.3845, allocations: 152 kB / 0.7328 GB, free: 6.867 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001647/0.3861, allocations: 1.673 MB / 0.7344 GB, free: 4.961 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.073e-05/0.3862, allocations: 11.89 kB / 0.7344 GB, free: 4.949 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-05/0.3863, allocations: 67.98 kB / 0.7345 GB, free: 4.883 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.988e-05/0.3864, allocations: 50.55 kB / 0.7345 GB, free: 4.832 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001/0.3874, allocations: 0.6508 MB / 0.7352 GB, free: 4.172 MB / 0.5417 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.005546/0.3929, allocations: 6.617 MB / 0.7416 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008964/0.3938, allocations: 0.6921 MB / 0.7423 GB, free: 12.63 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004414/0.3942, allocations: 373.9 kB / 0.7427 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001536/0.3944, allocations: 37.48 kB / 0.7427 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.816e-05/0.3944, allocations: 62.33 kB / 0.7428 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007589/0.3952, allocations: 311.1 kB / 0.743 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=106): time 5.3e-06/0.3952, allocations: 0 / 0.743 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of matching and sorting (n=112): time 0.004387/0.3996, allocations: 3.168 MB / 0.7461 GB, free: 8.633 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.147e-05/0.3996, allocations: 171.2 kB / 0.7463 GB, free: 8.426 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/0.4007, allocations: 0.965 MB / 0.7472 GB, free: 7.449 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.782e-05/0.4008, allocations: 49.7 kB / 0.7473 GB, free: 7.395 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004404/0.4013, allocations: 0.7932 MB / 0.7481 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003052/0.4016, allocations: 416.5 kB / 0.7485 GB, free: 6.18 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002817/0.4018, allocations: 264.5 kB / 0.7487 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.402, allocations: 0.5276 MB / 0.7492 GB, free: 5.379 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003699/0.4024, allocations: 218.5 kB / 0.7494 GB, free: 5.164 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006189/0.403, allocations: 0.8108 MB / 0.7502 GB, free: 4.145 MB / 0.5573 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.00245/0.4054, allocations: 1.923 MB / 0.7521 GB, free: 2.074 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.4054, allocations: 0 / 0.7521 GB, free: 2.074 MB / 0.5573 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.001369/0.4068, allocations: 1.028 MB / 0.7531 GB, free: 1.043 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/0.4068, allocations: 16.22 kB / 0.7531 GB, free: 1.027 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.4068, allocations: 8 kB / 0.7531 GB, free: 1.02 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.791e-05/0.4069, allocations: 15.98 kB / 0.7532 GB, free: 1.004 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006679/0.4075, allocations: 283.5 kB / 0.7534 GB, free: 0.7266 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.813e-05/0.4076, allocations: 23.45 kB / 0.7534 GB, free: 0.707 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006386/0.4082, allocations: 47.8 kB / 0.7535 GB, free: 0.6641 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.572e-05/0.4083, allocations: 59.98 kB / 0.7536 GB, free: 0.6055 MB / 0.5573 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 (163): * Single equations (assignments): 163 * 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.0005109/0.4088, allocations: 252 kB / 0.7538 GB, free: 356 kB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002327/0.409, allocations: 187.6 kB / 0.754 GB, free: 168 kB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/0.4101, allocations: 0.8357 MB / 0.7548 GB, free: 15.32 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.4101, allocations: 20.03 kB / 0.7548 GB, free: 15.3 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.4101, allocations: 0 / 0.7548 GB, free: 15.3 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007833/0.4109, allocations: 0.8148 MB / 0.7556 GB, free: 14.42 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003456/0.4144, allocations: 2.988 MB / 0.7585 GB, free: 11.21 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/0.4144, allocations: 8 kB / 0.7585 GB, free: 11.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006253/0.415, allocations: 240.5 kB / 0.7588 GB, free: 10.96 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.335e-05/0.415, allocations: 16 kB / 0.7588 GB, free: 10.95 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.847e-05/0.4151, allocations: 43.98 kB / 0.7588 GB, free: 10.91 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.13e-05/0.4151, allocations: 19.88 kB / 0.7588 GB, free: 10.89 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.947e-06/0.4151, allocations: 19.92 kB / 0.7589 GB, free: 10.87 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001655/0.4167, allocations: 1.552 MB / 0.7604 GB, free: 9.121 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004033/0.4171, allocations: 254.9 kB / 0.7606 GB, free: 8.871 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/0.4172, allocations: 36 kB / 0.7606 GB, free: 8.836 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005037/0.4178, allocations: 47.25 kB / 0.7607 GB, free: 8.793 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.4179, allocations: 108.3 kB / 0.7608 GB, free: 8.684 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-05/0.4179, allocations: 51.92 kB / 0.7608 GB, free: 8.633 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0005043/0.4184, allocations: 0.5765 MB / 0.7614 GB, free: 8.051 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.31e-07/0.4184, allocations: 0 / 0.7614 GB, free: 8.051 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0009419/0.4194, allocations: 427.9 kB / 0.7618 GB, free: 7.633 MB / 0.573 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.0003075/0.4197, allocations: 194.8 kB / 0.762 GB, free: 7.434 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.00105/0.4207, allocations: 0.7187 MB / 0.7627 GB, free: 6.711 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.4207, allocations: 4 kB / 0.7627 GB, free: 6.707 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.000392/0.4211, allocations: 351.7 kB / 0.763 GB, free: 6.363 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002007/0.4231, allocations: 0.7955 MB / 0.7638 GB, free: 5.645 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003837/0.427, allocations: 3.043 MB / 0.7668 GB, free: 2.371 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/0.4272, allocations: 363.8 kB / 0.7671 GB, free: 1.992 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001025/0.4283, allocations: 307.3 kB / 0.7674 GB, free: 1.688 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002834/0.4285, allocations: 116.5 kB / 0.7675 GB, free: 1.574 MB / 0.573 GB Notification: Performance of SimCode: time 1.994e-06/0.4285, allocations: 0 / 0.7675 GB, free: 1.574 MB / 0.573 GB Notification: Performance of Templates: time 0.03358/0.4621, allocations: 27.44 MB / 0.7943 GB, free: 6.781 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.makefile [Timeout 660] (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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.835546664427966]