Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008273/0.008273, allocations: 101.2 kB / 15.88 MB, free: 5.867 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.00158/0.00158, allocations: 193.4 kB / 16.79 MB, free: 5.809 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.371/1.371, allocations: 222.9 MB / 240.5 MB, free: 4.543 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.038/1.038, allocations: 143 MB / 433.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 59.91 kB / 0.5142 GB, free: 12.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2197, allocations: 82.03 MB / 0.5943 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.6743/0.8941, allocations: 187.5 MB / 0.7774 GB, free: 2.273 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0106/0.9048, allocations: 4.315 MB / 0.7816 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002094/0.907, allocations: 27.75 kB / 0.7816 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002107/0.9091, allocations: 429.5 kB / 0.782 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006308/0.9155, allocations: 1.464 MB / 0.7835 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.005343/0.9208, allocations: 1.224 MB / 0.7846 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005299/0.9262, allocations: 2.788 MB / 0.7874 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002133/0.9283, allocations: 0.9265 MB / 0.7883 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002376/0.9307, allocations: 0.8443 MB / 0.7891 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001698/0.9324, allocations: 0.8404 MB / 0.7899 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002518/0.9327, allocations: 68 kB / 0.79 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00382/0.9365, allocations: 1.372 MB / 0.7913 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005741/0.9371, allocations: 350.7 kB / 0.7917 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0009982/0.9382, allocations: 0.5672 MB / 0.7922 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002544/0.9407, allocations: 1.606 MB / 0.7938 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.9407, allocations: 4 kB / 0.7938 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.964e-06/0.9407, allocations: 4 kB / 0.7938 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.812e-05/0.9408, allocations: 0 / 0.7938 GB, free: 1.43 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.006437/0.9472, allocations: 1.724 MB / 0.7955 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/0.9473, allocations: 8.031 kB / 0.7955 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001389/0.9487, allocations: 186.4 kB / 0.7957 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002674/0.9514, allocations: 1.045 MB / 0.7967 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002178/0.9516, allocations: 48.98 kB / 0.7967 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001671/0.9518, allocations: 67.94 kB / 0.7968 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001802/0.9536, allocations: 0.6037 MB / 0.7974 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.9536, allocations: 0 / 0.7974 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.803e-05/0.9537, allocations: 24 kB / 0.7974 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.472e-05/0.9538, allocations: 32.86 kB / 0.7974 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001981/0.9558, allocations: 0.6129 MB / 0.798 GB, free: 12.97 MB / 0.6231 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.006189/0.962, allocations: 2.665 MB / 0.8006 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001505/0.9635, allocations: 0.5373 MB / 0.8012 GB, free: 9.617 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008267/0.9644, allocations: 346 kB / 0.8015 GB, free: 9.277 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004921/0.9649, allocations: 299.2 kB / 0.8018 GB, free: 8.93 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.901e-05/0.9649, allocations: 38.56 kB / 0.8018 GB, free: 8.883 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001136/0.9661, allocations: 155.6 kB / 0.802 GB, free: 8.73 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=43): time 3.627e-06/0.9661, allocations: 0 / 0.802 GB, free: 8.73 MB / 0.6231 GB Notification: Performance of matching and sorting (n=43): time 0.003573/0.9696, allocations: 1.015 MB / 0.8029 GB, free: 7.711 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.775e-05/0.9697, allocations: 55.41 kB / 0.803 GB, free: 7.645 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003126/0.9729, allocations: 1.271 MB / 0.8042 GB, free: 6.355 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001451/0.973, allocations: 41.7 kB / 0.8043 GB, free: 6.309 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000523/0.9736, allocations: 441.6 kB / 0.8047 GB, free: 5.875 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002094/0.9738, allocations: 149.8 kB / 0.8048 GB, free: 5.727 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003292/0.9741, allocations: 121.9 kB / 0.805 GB, free: 5.602 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.9743, allocations: 330 kB / 0.8053 GB, free: 5.273 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008537/0.9751, allocations: 266.2 kB / 0.8055 GB, free: 5.012 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008752/0.976, allocations: 482.5 kB / 0.806 GB, free: 4.465 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/0.9772, allocations: 0.5887 MB / 0.8066 GB, free: 3.875 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.9772, allocations: 3.938 kB / 0.8066 GB, free: 3.871 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001647/0.9788, allocations: 0.734 MB / 0.8073 GB, free: 3.129 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.9789, allocations: 8 kB / 0.8073 GB, free: 3.121 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.9789, allocations: 0 / 0.8073 GB, free: 3.121 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.9789, allocations: 0 / 0.8073 GB, free: 3.121 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006934/0.9796, allocations: 123.8 kB / 0.8074 GB, free: 3 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.9796, allocations: 3.984 kB / 0.8074 GB, free: 2.996 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/0.981, allocations: 112.5 kB / 0.8075 GB, free: 2.887 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.187e-05/0.9811, allocations: 19.97 kB / 0.8075 GB, free: 2.867 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008907/0.982, allocations: 467.9 kB / 0.808 GB, free: 2.406 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007328/0.9828, allocations: 485.9 kB / 0.8085 GB, free: 1.852 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001117/0.9839, allocations: 0.5798 MB / 0.809 GB, free: 1.266 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.154e-06/0.9839, allocations: 0 / 0.809 GB, free: 1.266 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001565/0.9855, allocations: 0.7297 MB / 0.8097 GB, free: 0.5312 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.9855, allocations: 4 kB / 0.8097 GB, free: 0.5273 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.9855, allocations: 8 kB / 0.8097 GB, free: 0.5195 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.939e-06/0.9855, allocations: 0 / 0.8097 GB, free: 0.5195 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006395/0.9861, allocations: 123.8 kB / 0.8099 GB, free: 408 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.9862, allocations: 3.938 kB / 0.8099 GB, free: 404 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001529/0.9877, allocations: 138.7 kB / 0.81 GB, free: 268 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.174e-05/0.9878, allocations: 23.98 kB / 0.81 GB, free: 244 kB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (45): * Single equations (assignments): 45 * 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.0002862/0.9881, allocations: 208.1 kB / 0.8102 GB, free: 28 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002306/0.9883, allocations: 110.9 kB / 0.8103 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001796/0.9901, allocations: 0.8045 MB / 0.8111 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.9901, allocations: 4 kB / 0.8111 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.9901, allocations: 0 / 0.8111 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.9901, allocations: 3.984 kB / 0.8111 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003135/0.9933, allocations: 1.96 MB / 0.813 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.9933, allocations: 4 kB / 0.813 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005866/0.9939, allocations: 107.8 kB / 0.8131 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.436e-06/0.9939, allocations: 8.281 kB / 0.8131 GB, free: 12.94 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.564e-05/0.994, allocations: 15.94 kB / 0.8132 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.837e-06/0.994, allocations: 11.98 kB / 0.8132 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.994, allocations: 0 / 0.8132 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002118/0.9961, allocations: 1.228 MB / 0.8144 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004872/0.9966, allocations: 291.7 kB / 0.8146 GB, free: 11.33 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001514/0.9968, allocations: 15.94 kB / 0.8147 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/0.9978, allocations: 75.88 kB / 0.8147 GB, free: 11.24 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.9979, allocations: 43.88 kB / 0.8148 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.339e-05/0.998, allocations: 24 kB / 0.8148 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001458/0.9995, allocations: 0.9169 MB / 0.8157 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9995, allocations: 4 kB / 0.8157 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001203/1.001, allocations: 403.4 kB / 0.8161 GB, free: 9.852 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.filter.s[1],mixBox.filter.s[2]) * 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 (52): * Single equations (assignments): 52 * 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.0005738/1.001, allocations: 229.8 kB / 0.8163 GB, free: 9.629 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001975/1.003, allocations: 0.9358 MB / 0.8172 GB, free: 8.691 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.003, allocations: 0 / 0.8172 GB, free: 8.691 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006411/1.004, allocations: 343.6 kB / 0.8175 GB, free: 8.355 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002263/1.006, allocations: 463 kB / 0.818 GB, free: 7.914 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002899/1.009, allocations: 2.035 MB / 0.82 GB, free: 5.812 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005836/1.01, allocations: 1.049 MB / 0.821 GB, free: 4.734 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003952/1.01, allocations: 99.38 kB / 0.8211 GB, free: 4.637 MB / 0.6387 GB Notification: Performance of SimCode: time 1.142e-06/1.01, allocations: 0 / 0.8211 GB, free: 4.637 MB / 0.6387 GB Notification: Performance of Templates: time 0.02578/1.036, allocations: 16.45 MB / 0.8372 GB, free: 4.359 MB / 0.6544 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)