Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.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.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000802/0.000802, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.0008688/0.0008689, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 223.3 MB / 240 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001811/0.001811, allocations: 282.1 kB / 291.4 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9605/0.9605, allocations: 169.5 MB / 0.5 GB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003965/0.0003966, allocations: 12.53 kB / 0.598 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1401, allocations: 88.55 MB / 0.6845 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.478/0.6181, allocations: 201.5 MB / 0.8812 GB, free: 4.785 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00788/0.6261, allocations: 5.406 MB / 0.8865 GB, free: 384 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008489/0.6269, allocations: 37.47 kB / 0.8865 GB, free: 368 kB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001024/0.628, allocations: 397 kB / 0.8869 GB, free: 32 kB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003213/0.6312, allocations: 1.374 MB / 0.8882 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002269/0.6335, allocations: 0.8536 MB / 0.8891 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003571/0.6371, allocations: 3.443 MB / 0.8924 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009669/0.638, allocations: 0.7214 MB / 0.8932 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001407/0.6395, allocations: 0.8868 MB / 0.894 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001156/0.6406, allocations: 0.8912 MB / 0.8949 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.6407, allocations: 40 kB / 0.8949 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001823/0.6426, allocations: 0.7054 MB / 0.8956 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000392/0.643, allocations: 382.8 kB / 0.896 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002543/0.6432, allocations: 261.1 kB / 0.8962 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001451/0.6447, allocations: 1.481 MB / 0.8977 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.6447, allocations: 4 kB / 0.8977 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.362e-06/0.6447, allocations: 4 kB / 0.8977 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.461e-05/0.6447, allocations: 0 / 0.8977 GB, free: 5.984 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.001918/0.6467, allocations: 1.282 MB / 0.8989 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.6467, allocations: 8.031 kB / 0.8989 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001903/0.6486, allocations: 320.9 kB / 0.8992 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/0.6498, allocations: 0.7895 MB / 0.9 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.188e-05/0.6498, allocations: 66 kB / 0.9001 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.65, allocations: 84 kB / 0.9002 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/0.6515, allocations: 0.9169 MB / 0.9011 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.6516, allocations: 0 / 0.9011 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.984e-05/0.6517, allocations: 43.98 kB / 0.9011 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.809e-05/0.6517, allocations: 33.98 kB / 0.9011 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001408/0.6531, allocations: 0.8354 MB / 0.9019 GB, free: 1.516 MB / 0.6075 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.004876/0.658, allocations: 3.544 MB / 0.9054 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007771/0.6588, allocations: 0.4893 MB / 0.9059 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004561/0.6593, allocations: 295.3 kB / 0.9062 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000174/0.6594, allocations: 105.5 kB / 0.9063 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.6595, allocations: 50.94 kB / 0.9063 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=47): time 3.266e-06/0.6595, allocations: 4 kB / 0.9063 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49): time 0.003417/0.6629, allocations: 1.895 MB / 0.9082 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.663, allocations: 55.84 kB / 0.9082 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008967/0.6639, allocations: 0.8019 MB / 0.909 GB, free: 9.906 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.998e-05/0.6639, allocations: 37.7 kB / 0.909 GB, free: 9.863 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000322/0.6643, allocations: 479.2 kB / 0.9095 GB, free: 9.391 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001453/0.6644, allocations: 173.5 kB / 0.9097 GB, free: 9.219 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.232e-05/0.6645, allocations: 12 kB / 0.9097 GB, free: 9.207 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.6646, allocations: 334 kB / 0.91 GB, free: 8.875 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004238/0.665, allocations: 245.2 kB / 0.9102 GB, free: 8.637 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005172/0.6655, allocations: 388.6 kB / 0.9106 GB, free: 8.203 MB / 0.6231 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002656/0.6682, allocations: 1.003 MB / 0.9116 GB, free: 7.188 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.6682, allocations: 0 / 0.9116 GB, free: 7.188 MB / 0.6231 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001269/0.6695, allocations: 0.7927 MB / 0.9124 GB, free: 6.383 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.6695, allocations: 4 kB / 0.9124 GB, free: 6.379 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.6695, allocations: 4 kB / 0.9124 GB, free: 6.375 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001634/0.6697, allocations: 73.7 kB / 0.9124 GB, free: 6.297 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006755/0.6704, allocations: 163.7 kB / 0.9126 GB, free: 6.137 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002173/0.6726, allocations: 2.887 MB / 0.9154 GB, free: 2.988 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007849/0.6734, allocations: 74.59 kB / 0.9155 GB, free: 2.918 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.836e-05/0.6734, allocations: 24 kB / 0.9155 GB, free: 2.895 MB / 0.6231 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (71): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004205/0.6739, allocations: 301.6 kB / 0.9158 GB, free: 2.59 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/0.674, allocations: 91.11 kB / 0.9159 GB, free: 2.5 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001991/0.6742, allocations: 108.7 kB / 0.916 GB, free: 2.391 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.6742, allocations: 4 kB / 0.916 GB, free: 2.387 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.6742, allocations: 0 / 0.916 GB, free: 2.387 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009998/0.6752, allocations: 0.8466 MB / 0.9168 GB, free: 1.449 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002655/0.6779, allocations: 1.808 MB / 0.9186 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.6779, allocations: 4 kB / 0.9186 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006222/0.6785, allocations: 144.2 kB / 0.9187 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.961e-05/0.6786, allocations: 40.84 kB / 0.9188 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.443e-05/0.6787, allocations: 11.98 kB / 0.9188 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00108/0.6798, allocations: 1.476 MB / 0.9202 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.6798, allocations: 7.969 kB / 0.9202 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001477/0.6813, allocations: 1.088 MB / 0.9213 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003227/0.6816, allocations: 236 kB / 0.9215 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/0.6817, allocations: 11.98 kB / 0.9215 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007026/0.6824, allocations: 77.3 kB / 0.9216 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.63e-05/0.6825, allocations: 39.91 kB / 0.9216 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.797e-05/0.6826, allocations: 28.12 kB / 0.9217 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006672/0.6833, allocations: 0.5576 MB / 0.9222 GB, free: 11.63 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6833, allocations: 3.938 kB / 0.9222 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008218/0.6841, allocations: 276 kB / 0.9225 GB, free: 11.36 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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 (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004009/0.6845, allocations: 196.4 kB / 0.9227 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00121/0.6857, allocations: 0.8004 MB / 0.9234 GB, free: 10.33 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.6857, allocations: 3.906 kB / 0.9234 GB, free: 10.33 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005709/0.6863, allocations: 415.9 kB / 0.9238 GB, free: 9.91 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002455/0.6888, allocations: 0.5808 MB / 0.9244 GB, free: 9.336 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002732/0.6915, allocations: 2.158 MB / 0.9265 GB, free: 7.102 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006196/0.6922, allocations: 1.091 MB / 0.9276 GB, free: 5.98 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008053/0.693, allocations: 215.7 kB / 0.9278 GB, free: 5.766 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001793/0.6932, allocations: 67.44 kB / 0.9278 GB, free: 5.699 MB / 0.6387 GB Notification: Performance of SimCode: time 2.61e-07/0.6932, allocations: 0 / 0.9278 GB, free: 5.699 MB / 0.6387 GB Notification: Performance of Templates: time 0.02856/0.7217, allocations: 18.41 MB / 0.9458 GB, free: 3.582 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1)