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.001037/0.001037, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001134/0.001134, allocations: 192.8 kB / 16.13 MB, free: 6.703 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.451/1.451, allocations: 222.9 MB / 239.8 MB, free: 4.645 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/1, allocations: 143 MB / 433 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 63.91 kB / 0.5135 GB, free: 12.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1656, allocations: 82.04 MB / 0.5936 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.4809/0.6466, allocations: 187.5 MB / 0.7767 GB, free: 2.285 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008072/0.6547, allocations: 4.309 MB / 0.7809 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009583/0.6557, allocations: 23.81 kB / 0.7809 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001207/0.6569, allocations: 437.6 kB / 0.7814 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00347/0.6604, allocations: 1.459 MB / 0.7828 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003085/0.6635, allocations: 1.227 MB / 0.784 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002883/0.6664, allocations: 2.784 MB / 0.7867 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001154/0.6676, allocations: 0.9265 MB / 0.7876 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001288/0.6689, allocations: 0.8482 MB / 0.7884 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009308/0.6698, allocations: 0.8403 MB / 0.7893 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001629/0.67, allocations: 64 kB / 0.7893 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002317/0.6723, allocations: 1.376 MB / 0.7907 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.00034/0.6727, allocations: 350.7 kB / 0.791 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005412/0.6732, allocations: 0.575 MB / 0.7916 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002099/0.6753, allocations: 2.076 MB / 0.7936 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.6753, allocations: 0 / 0.7936 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.31e-07/0.6753, allocations: 0 / 0.7936 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.029e-05/0.6754, allocations: 0 / 0.7936 GB, free: 0.9727 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.004315/0.6797, allocations: 1.724 MB / 0.7953 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.6797, allocations: 16.03 kB / 0.7953 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000826/0.6806, allocations: 182.4 kB / 0.7955 GB, free: 15 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001633/0.6822, allocations: 1.041 MB / 0.7965 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001478/0.6824, allocations: 52.98 kB / 0.7965 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/0.6825, allocations: 63.92 kB / 0.7966 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/0.6837, allocations: 0.6115 MB / 0.7972 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.6837, allocations: 0 / 0.7972 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.477e-05/0.6838, allocations: 20 kB / 0.7972 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.637e-05/0.6838, allocations: 20.98 kB / 0.7972 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001279/0.6851, allocations: 0.6246 MB / 0.7978 GB, free: 12.51 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.00393/0.689, allocations: 2.658 MB / 0.8004 GB, free: 9.711 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001155/0.6902, allocations: 0.5419 MB / 0.801 GB, free: 9.16 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006341/0.6908, allocations: 345.6 kB / 0.8013 GB, free: 8.82 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004145/0.6913, allocations: 299.1 kB / 0.8016 GB, free: 8.473 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.6913, allocations: 42.56 kB / 0.8016 GB, free: 8.422 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007076/0.692, allocations: 159.6 kB / 0.8018 GB, free: 8.266 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=43): time 2.355e-06/0.692, allocations: 0 / 0.8018 GB, free: 8.266 MB / 0.6231 GB Notification: Performance of matching and sorting (n=43): time 0.002358/0.6944, allocations: 1.015 MB / 0.8028 GB, free: 7.246 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.6944, allocations: 55.41 kB / 0.8028 GB, free: 7.18 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001846/0.6963, allocations: 1.271 MB / 0.804 GB, free: 5.891 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.653e-05/0.6964, allocations: 37.7 kB / 0.8041 GB, free: 5.848 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000345/0.6967, allocations: 449.6 kB / 0.8045 GB, free: 5.406 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/0.6969, allocations: 141.9 kB / 0.8046 GB, free: 5.266 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002125/0.6971, allocations: 121.9 kB / 0.8048 GB, free: 5.141 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.6972, allocations: 322 kB / 0.8051 GB, free: 4.82 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005748/0.6978, allocations: 278.1 kB / 0.8053 GB, free: 4.547 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007917/0.6986, allocations: 478.5 kB / 0.8058 GB, free: 4.004 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001208/0.6998, allocations: 0.5888 MB / 0.8064 GB, free: 3.414 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.6998, allocations: 7.875 kB / 0.8064 GB, free: 3.406 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001491/0.7013, allocations: 0.734 MB / 0.8071 GB, free: 2.664 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.7013, allocations: 4 kB / 0.8071 GB, free: 2.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.7013, allocations: 0 / 0.8071 GB, free: 2.66 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.7014, allocations: 4 kB / 0.8071 GB, free: 2.656 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006743/0.702, allocations: 119.8 kB / 0.8072 GB, free: 2.539 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.7021, allocations: 3.984 kB / 0.8072 GB, free: 2.535 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/0.7033, allocations: 101.7 kB / 0.8073 GB, free: 2.438 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.085e-05/0.7034, allocations: 27.97 kB / 0.8073 GB, free: 2.41 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008377/0.7042, allocations: 467.9 kB / 0.8078 GB, free: 1.949 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007576/0.705, allocations: 482.5 kB / 0.8082 GB, free: 1.398 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001128/0.7061, allocations: 0.5778 MB / 0.8088 GB, free: 0.8164 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.422e-06/0.7061, allocations: 0 / 0.8088 GB, free: 0.8164 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001507/0.7077, allocations: 0.7343 MB / 0.8095 GB, free: 76 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.7077, allocations: 5.25 kB / 0.8095 GB, free: 72 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.244e-06/0.7077, allocations: 0 / 0.8095 GB, free: 72 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.29e-06/0.7077, allocations: 7.938 kB / 0.8095 GB, free: 64 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006749/0.7084, allocations: 119.8 kB / 0.8097 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.7084, allocations: 8.625 kB / 0.8097 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/0.7098, allocations: 141.8 kB / 0.8098 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.257e-05/0.7098, allocations: 23.98 kB / 0.8098 GB, free: 15.78 MB / 0.6387 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.0002122/0.7101, allocations: 208.1 kB / 0.81 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001974/0.7103, allocations: 102.7 kB / 0.8101 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001778/0.712, allocations: 0.8042 MB / 0.8109 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.7121, allocations: 11.94 kB / 0.8109 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.7121, allocations: 0 / 0.8109 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.7121, allocations: 7.969 kB / 0.8109 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003036/0.7151, allocations: 1.96 MB / 0.8128 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.7151, allocations: 0 / 0.8128 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005722/0.7157, allocations: 111.8 kB / 0.8129 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.7157, allocations: 4 kB / 0.8129 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.244e-05/0.7158, allocations: 19.94 kB / 0.813 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.723e-06/0.7158, allocations: 7.984 kB / 0.813 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.7158, allocations: 4 kB / 0.813 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002091/0.7179, allocations: 1.232 MB / 0.8142 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000435/0.7184, allocations: 287.7 kB / 0.8145 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001588/0.7185, allocations: 15.94 kB / 0.8145 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/0.7196, allocations: 75.81 kB / 0.8145 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.7197, allocations: 47.81 kB / 0.8146 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.031e-05/0.7198, allocations: 16 kB / 0.8146 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001525/0.7213, allocations: 0.9286 MB / 0.8155 GB, free: 9.781 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7213, allocations: 0 / 0.8155 GB, free: 9.781 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001235/0.7226, allocations: 399.4 kB / 0.8159 GB, free: 9.391 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.0005716/0.7231, allocations: 219.4 kB / 0.8161 GB, free: 9.18 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001958/0.7251, allocations: 0.9435 MB / 0.817 GB, free: 8.234 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.7251, allocations: 4 kB / 0.817 GB, free: 8.23 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006314/0.7258, allocations: 332.1 kB / 0.8173 GB, free: 7.906 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002297/0.7281, allocations: 469.5 kB / 0.8178 GB, free: 7.465 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002994/0.7311, allocations: 2.002 MB / 0.8197 GB, free: 5.402 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006476/0.7317, allocations: 1.042 MB / 0.8208 GB, free: 4.332 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00117/0.7329, allocations: 283.1 kB / 0.821 GB, free: 4.051 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003747/0.7333, allocations: 99.38 kB / 0.8211 GB, free: 3.953 MB / 0.6387 GB Notification: Performance of SimCode: time 3.01e-07/0.7333, allocations: 0 / 0.8211 GB, free: 3.953 MB / 0.6387 GB Notification: Performance of Templates: time 0.03537/0.7687, allocations: 20.66 MB / 0.8413 GB, free: 15.57 MB / 0.67 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)