Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7873/0.7873, allocations: 128.8 MB / 143.8 MB, free: 2.297 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001328/0.001328, allocations: 190.3 kB / 173.9 MB, free: 6.102 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.649/1.649, allocations: 205.4 MB / 409.1 MB, free: 10.48 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008235/0.0008235, allocations: 88.5 kB / 486.7 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003447/0.0003448, allocations: 9.938 kB / 0.5604 GB, free: 97.53 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1712, allocations: 76.77 MB / 0.6354 GB, free: 30.51 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.567/0.7383, allocations: 159.6 MB / 0.7913 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.007235/0.7455, allocations: 3.24 MB / 0.7945 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001215/0.7468, allocations: 19.06 kB / 0.7945 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001324/0.7482, allocations: 221.5 kB / 0.7947 GB, free: 14.21 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/Sources/BaseClasses/PartialSource.mo:19:17-20:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/Sources/BaseClasses/PartialSource.mo:17:17-18:49:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003575/0.7518, allocations: 0.776 MB / 0.7955 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.002099/0.7539, allocations: 493.6 kB / 0.7959 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.003307/0.7572, allocations: 1.939 MB / 0.7978 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001051/0.7583, allocations: 385.1 kB / 0.7982 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001736/0.76, allocations: 0.5145 MB / 0.7987 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001368/0.7614, allocations: 459.6 kB / 0.7991 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0002343/0.7617, allocations: 21.62 kB / 0.7992 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001724/0.7634, allocations: 384.6 kB / 0.7995 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0005065/0.7639, allocations: 220.1 kB / 0.7997 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.000462/0.7644, allocations: 147.8 kB / 0.7999 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001828/0.7662, allocations: 0.8273 MB / 0.8007 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.7663, allocations: 0 / 0.8007 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7663, allocations: 0 / 0.8007 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.889e-05/0.7663, allocations: 1.281 kB / 0.8007 GB, free: 12.85 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.002496/0.7688, allocations: 0.7966 MB / 0.8015 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.587e-05/0.7689, allocations: 9.625 kB / 0.8015 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001676/0.7706, allocations: 159.8 kB / 0.8016 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001396/0.772, allocations: 491.4 kB / 0.8021 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.426e-05/0.7721, allocations: 33.19 kB / 0.8021 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/0.7722, allocations: 47.55 kB / 0.8022 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/0.7737, allocations: 494.1 kB / 0.8026 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.692e-05/0.7737, allocations: 0 / 0.8026 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.89e-05/0.7738, allocations: 22.23 kB / 0.8027 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.263e-05/0.7739, allocations: 15.69 kB / 0.8027 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/0.7751, allocations: 416 kB / 0.8031 GB, free: 11.62 MB / 0.5261 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.004387/0.7795, allocations: 1.854 MB / 0.8049 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005095/0.78, allocations: 238 kB / 0.8051 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002952/0.7803, allocations: 143.3 kB / 0.8052 GB, free: 10.4 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002394/0.7806, allocations: 113 kB / 0.8054 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/0.7806, allocations: 40.92 kB / 0.8054 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=22): time 3.206e-06/0.7806, allocations: 0 / 0.8054 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of matching and sorting (n=22): time 0.001101/0.7818, allocations: 379.2 kB / 0.8058 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.7818, allocations: 53.5 kB / 0.8058 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009549/0.7828, allocations: 0.4905 MB / 0.8063 GB, free: 9.891 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.863e-05/0.7828, allocations: 30.98 kB / 0.8063 GB, free: 9.859 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002895/0.7831, allocations: 279.6 kB / 0.8066 GB, free: 9.691 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000114/0.7833, allocations: 89.09 kB / 0.8067 GB, free: 9.629 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.097e-05/0.7833, allocations: 4.469 kB / 0.8067 GB, free: 9.629 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002073/0.7835, allocations: 357 kB / 0.807 GB, free: 9.301 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000259/0.7838, allocations: 108.5 kB / 0.8071 GB, free: 9.285 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003607/0.7842, allocations: 205.3 kB / 0.8073 GB, free: 9.168 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000337/0.7845, allocations: 137.7 kB / 0.8074 GB, free: 9.152 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.7845, allocations: 5.406 kB / 0.8074 GB, free: 9.148 MB / 0.5261 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0009798/0.7855, allocations: 383 kB / 0.8078 GB, free: 9.047 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.623e-05/0.7856, allocations: 15.09 kB / 0.8078 GB, free: 9.039 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.7856, allocations: 2.062 kB / 0.8078 GB, free: 9.039 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.571e-05/0.7856, allocations: 4.375 kB / 0.8078 GB, free: 9.039 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004422/0.7861, allocations: 62.86 kB / 0.8079 GB, free: 9.027 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.466e-05/0.7861, allocations: 8.047 kB / 0.8079 GB, free: 9.023 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006394/0.7868, allocations: 48.12 kB / 0.8079 GB, free: 9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-05/0.7868, allocations: 14.64 kB / 0.808 GB, free: 8.996 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (38): * Single equations (assignments): 38 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003717/0.7872, allocations: 209.2 kB / 0.8082 GB, free: 8.863 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001595/0.7874, allocations: 50.62 kB / 0.8082 GB, free: 8.84 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001214/0.7875, allocations: 58.61 kB / 0.8083 GB, free: 8.82 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.7875, allocations: 2.219 kB / 0.8083 GB, free: 8.82 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.407e-06/0.7875, allocations: 5.453 kB / 0.8083 GB, free: 8.816 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004736/0.788, allocations: 337.3 kB / 0.8086 GB, free: 8.629 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001628/0.7896, allocations: 0.9302 MB / 0.8095 GB, free: 8.117 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.7897, allocations: 4.031 kB / 0.8095 GB, free: 8.113 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002982/0.79, allocations: 59.34 kB / 0.8096 GB, free: 8.102 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.019e-05/0.79, allocations: 2.125 kB / 0.8096 GB, free: 8.102 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.803e-05/0.79, allocations: 7.062 kB / 0.8096 GB, free: 8.102 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.594e-06/0.79, allocations: 6.859 kB / 0.8096 GB, free: 8.098 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.7901, allocations: 3.281 kB / 0.8096 GB, free: 8.098 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007224/0.7908, allocations: 0.5322 MB / 0.8101 GB, free: 7.848 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003577/0.7911, allocations: 174.6 kB / 0.8103 GB, free: 7.711 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/0.7913, allocations: 6.156 kB / 0.8103 GB, free: 7.711 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004948/0.7918, allocations: 32.72 kB / 0.8103 GB, free: 7.695 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-05/0.7918, allocations: 12.11 kB / 0.8103 GB, free: 7.691 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.974e-05/0.7919, allocations: 17.92 kB / 0.8103 GB, free: 7.688 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004506/0.7923, allocations: 358.2 kB / 0.8107 GB, free: 7.555 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7923, allocations: 1.75 kB / 0.8107 GB, free: 7.555 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000643/0.793, allocations: 146.3 kB / 0.8108 GB, free: 7.547 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (vol.dynBal.U,vol.dynBal.mXi[1]) * 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 (22): * Single equations (assignments): 22 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004464/0.7934, allocations: 186.2 kB / 0.811 GB, free: 7.414 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000436/0.7939, allocations: 267 kB / 0.8112 GB, free: 7.363 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.7939, allocations: 0 / 0.8112 GB, free: 7.363 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001615/0.7941, allocations: 114.5 kB / 0.8114 GB, free: 7.344 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001712/0.7958, allocations: 335.5 kB / 0.8117 GB, free: 7.223 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002131/0.7979, allocations: 1.215 MB / 0.8129 GB, free: 6.441 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005702/0.7985, allocations: 0.8882 MB / 0.8137 GB, free: 5.66 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006179/0.7991, allocations: 128.2 kB / 0.8139 GB, free: 5.602 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.7993, allocations: 40.5 kB / 0.8139 GB, free: 5.594 MB / 0.5261 GB Notification: Performance of SimCode: time 7.32e-07/0.7993, allocations: 0 / 0.8139 GB, free: 5.594 MB / 0.5261 GB Notification: Performance of Templates: time 0.01816/0.8174, allocations: 9.996 MB / 0.8237 GB, free: 0.6641 MB / 0.5261 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)