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.00114/0.00114, allocations: 103.6 kB / 16.35 MB, free: 6.289 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.001095/0.001095, allocations: 191.6 kB / 17.29 MB, free: 5.863 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002156/0.002156, allocations: 286.4 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.011/1.011, allocations: 169.3 MB / 0.4989 GB, free: 4.469 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001755, allocations: 100.9 kB / 0.5967 GB, free: 14.47 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1641, allocations: 86.96 MB / 0.6816 GB, free: 7.492 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.5042/0.6683, allocations: 221.9 MB / 0.8983 GB, free: 472 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01872/0.6871, allocations: 13.76 MB / 0.9117 GB, free: 2.668 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002728/0.6898, allocations: 63.69 kB / 0.9118 GB, free: 2.605 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002229/0.6921, allocations: 0.8074 MB / 0.9125 GB, free: 1.793 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005611/0.6978, allocations: 2.158 MB / 0.9147 GB, free: 15.62 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003033/0.7008, allocations: 1.189 MB / 0.9158 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004022/0.7049, allocations: 2.886 MB / 0.9186 GB, free: 11.55 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001514/0.7064, allocations: 1.19 MB / 0.9198 GB, free: 10.34 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005497/0.7119, allocations: 2.447 MB / 0.9222 GB, free: 7.895 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001963/0.7139, allocations: 1.03 MB / 0.9232 GB, free: 6.887 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001753/0.7141, allocations: 104 kB / 0.9233 GB, free: 6.785 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002888/0.717, allocations: 1.582 MB / 0.9248 GB, free: 5.199 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003987/0.7174, allocations: 442.6 kB / 0.9253 GB, free: 4.766 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007237/0.7181, allocations: 0.6801 MB / 0.9259 GB, free: 4.082 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00264/0.7208, allocations: 2.076 MB / 0.9279 GB, free: 2 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.7208, allocations: 0 / 0.9279 GB, free: 2 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.743e-06/0.7208, allocations: 0 / 0.9279 GB, free: 2 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.398e-05/0.7208, allocations: 0 / 0.9279 GB, free: 2 MB / 0.6856 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.002263/0.7231, allocations: 1.67 MB / 0.9296 GB, free: 284 kB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 2.394e-05/0.7231, allocations: 8.031 kB / 0.9296 GB, free: 276 kB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002096/0.7252, allocations: 425.9 kB / 0.93 GB, free: 15.85 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001549/0.7268, allocations: 0.948 MB / 0.9309 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.787e-05/0.7269, allocations: 66 kB / 0.931 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/0.727, allocations: 88 kB / 0.9311 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001897/0.7289, allocations: 1.223 MB / 0.9323 GB, free: 13.37 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/0.7289, allocations: 7.938 kB / 0.9323 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.964e-05/0.729, allocations: 40 kB / 0.9323 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.206e-05/0.7291, allocations: 37.3 kB / 0.9323 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001824/0.7309, allocations: 0.8752 MB / 0.9332 GB, free: 12.41 MB / 0.7012 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.006465/0.7374, allocations: 6.02 MB / 0.9391 GB, free: 6.098 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004016/0.7378, allocations: 263.7 kB / 0.9393 GB, free: 5.785 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001823/0.738, allocations: 141.1 kB / 0.9395 GB, free: 5.629 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000165/0.7381, allocations: 101 kB / 0.9396 GB, free: 5.512 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.7382, allocations: 38.56 kB / 0.9396 GB, free: 5.465 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006619/0.7388, allocations: 120.2 kB / 0.9397 GB, free: 5.348 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=20): time 2.174e-06/0.7389, allocations: 0 / 0.9397 GB, free: 5.348 MB / 0.7012 GB Notification: Performance of matching and sorting (n=20): time 0.00115/0.74, allocations: 471.9 kB / 0.9402 GB, free: 4.879 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.461e-05/0.7401, allocations: 192.4 kB / 0.9403 GB, free: 4.648 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001756/0.7419, allocations: 1.299 MB / 0.9416 GB, free: 3.332 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 3.279e-05/0.7419, allocations: 29.7 kB / 0.9416 GB, free: 3.297 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004307/0.7423, allocations: 0.632 MB / 0.9423 GB, free: 2.656 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 6.223e-05/0.7424, allocations: 67.08 kB / 0.9423 GB, free: 2.59 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002043/0.7426, allocations: 141.9 kB / 0.9425 GB, free: 2.445 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.7428, allocations: 333.9 kB / 0.9428 GB, free: 2.113 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006275/0.7434, allocations: 240.9 kB / 0.943 GB, free: 1.879 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008208/0.7443, allocations: 0.5596 MB / 0.9435 GB, free: 1.172 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/0.7453, allocations: 0.6877 MB / 0.9442 GB, free: 352 kB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.7453, allocations: 4 kB / 0.9442 GB, free: 348 kB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00182/0.7471, allocations: 0.8571 MB / 0.9451 GB, free: 15.47 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.7471, allocations: 8 kB / 0.9451 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.7472, allocations: 16.81 kB / 0.9451 GB, free: 15.45 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.7472, allocations: 12 kB / 0.9451 GB, free: 15.44 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006945/0.7479, allocations: 171.7 kB / 0.9453 GB, free: 15.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.965e-05/0.7479, allocations: 19.94 kB / 0.9453 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/0.7492, allocations: 124.7 kB / 0.9454 GB, free: 15.13 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.679e-05/0.7493, allocations: 47.92 kB / 0.9454 GB, free: 15.08 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (69): * Single equations (assignments): 69 * 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.0003919/0.7497, allocations: 297.5 kB / 0.9457 GB, free: 14.78 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000251/0.7499, allocations: 118.5 kB / 0.9458 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004708/0.7504, allocations: 288.7 kB / 0.9461 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.7504, allocations: 4 kB / 0.9461 GB, free: 14.37 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.7504, allocations: 0 / 0.9461 GB, free: 14.37 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.7504, allocations: 4 kB / 0.9461 GB, free: 14.37 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002089/0.7525, allocations: 1.69 MB / 0.9478 GB, free: 12.58 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.7525, allocations: 4 kB / 0.9478 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002253/0.7528, allocations: 39.92 kB / 0.9478 GB, free: 12.54 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/0.7528, allocations: 4 kB / 0.9478 GB, free: 12.53 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.7528, allocations: 4 kB / 0.9478 GB, free: 12.53 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.7528, allocations: 4 kB / 0.9478 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/0.7528, allocations: 4 kB / 0.9478 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004956/0.7533, allocations: 0.4906 MB / 0.9483 GB, free: 11.97 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003561/0.7537, allocations: 239.8 kB / 0.9485 GB, free: 11.72 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000142/0.7538, allocations: 7.984 kB / 0.9485 GB, free: 11.71 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007158/0.7546, allocations: 47.95 kB / 0.9486 GB, free: 11.66 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.915e-05/0.7546, allocations: 23.91 kB / 0.9486 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/0.7546, allocations: 8 kB / 0.9486 GB, free: 11.63 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001356/0.756, allocations: 0.9081 MB / 0.9495 GB, free: 10.72 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.1e-07/0.756, allocations: 7.938 kB / 0.9495 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000878/0.7569, allocations: 287.5 kB / 0.9498 GB, free: 10.43 MB / 0.7169 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.0004327/0.7573, allocations: 195.8 kB / 0.95 GB, free: 10.24 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001019/0.7584, allocations: 459.9 kB / 0.9504 GB, free: 9.797 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.7584, allocations: 4.688 kB / 0.9504 GB, free: 9.793 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.7585, allocations: 112.1 kB / 0.9505 GB, free: 9.684 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002398/0.7609, allocations: 0.566 MB / 0.9511 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002701/0.7637, allocations: 1.722 MB / 0.9528 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006888/0.7644, allocations: 1.114 MB / 0.9538 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0007492/0.7651, allocations: 245.5 kB / 0.9541 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001932/0.7653, allocations: 79.42 kB / 0.9542 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of SimCode: time 3.51e-07/0.7653, allocations: 3.938 kB / 0.9542 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of Templates: time 0.2996/1.065, allocations: 18.36 MB / 0.9721 GB, free: 248.2 MB / 0.7169 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe 2>&1)