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.001097/0.001097, allocations: 105.7 kB / 16.41 MB, free: 6.492 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.001142/0.001142, allocations: 185.5 kB / 17.34 MB, free: 5.742 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.337/1.337, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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 0.8483/0.8483, allocations: 143 MB / 434.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 69.64 kB / 0.5962 GB, free: 12.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1487, allocations: 82.03 MB / 0.6763 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.56/0.7088, allocations: 189.8 MB / 0.8616 GB, free: 40 kB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.008068/0.7169, allocations: 4.292 MB / 0.8658 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001173/0.7181, allocations: 27.81 kB / 0.8658 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001328/0.7194, allocations: 0.5006 MB / 0.8663 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004039/0.7235, allocations: 1.571 MB / 0.8679 GB, free: 9.629 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003524/0.727, allocations: 1.352 MB / 0.8692 GB, free: 8.293 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002986/0.73, allocations: 2.272 MB / 0.8714 GB, free: 6.012 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001807/0.7318, allocations: 1.076 MB / 0.8725 GB, free: 4.926 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002084/0.7339, allocations: 0.9615 MB / 0.8734 GB, free: 3.961 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001641/0.7356, allocations: 0.8755 MB / 0.8743 GB, free: 3.082 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004495/0.7361, allocations: 140 kB / 0.8744 GB, free: 2.945 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002696/0.7388, allocations: 1.239 MB / 0.8756 GB, free: 1.703 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006477/0.7394, allocations: 426.7 kB / 0.876 GB, free: 1.285 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001293/0.7407, allocations: 0.6531 MB / 0.8766 GB, free: 0.6289 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003531/0.7443, allocations: 2.064 MB / 0.8787 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.7443, allocations: 4 kB / 0.8787 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7443, allocations: 0 / 0.8787 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.782e-05/0.7444, allocations: 0 / 0.8787 GB, free: 14.55 MB / 0.6544 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.005479/0.7499, allocations: 1.72 MB / 0.8803 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.7499, allocations: 12.03 kB / 0.8804 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001146/0.7511, allocations: 182.4 kB / 0.8805 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002532/0.7536, allocations: 1.076 MB / 0.8816 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.234e-05/0.7537, allocations: 45 kB / 0.8816 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001916/0.7539, allocations: 63.94 kB / 0.8817 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00144/0.7553, allocations: 0.6115 MB / 0.8823 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.7554, allocations: 0 / 0.8823 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.787e-05/0.7555, allocations: 20 kB / 0.8823 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.781e-05/0.7555, allocations: 28.97 kB / 0.8823 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001386/0.7569, allocations: 0.6168 MB / 0.8829 GB, free: 10.07 MB / 0.6544 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.005379/0.7623, allocations: 2.658 MB / 0.8855 GB, free: 7.262 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/0.7635, allocations: 0.5374 MB / 0.886 GB, free: 6.715 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006412/0.7641, allocations: 352.6 kB / 0.8864 GB, free: 6.367 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004405/0.7646, allocations: 288 kB / 0.8867 GB, free: 6.031 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.7646, allocations: 46.48 kB / 0.8867 GB, free: 5.977 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009703/0.7656, allocations: 143.4 kB / 0.8868 GB, free: 5.836 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=43): time 5.831e-06/0.7656, allocations: 0 / 0.8868 GB, free: 5.836 MB / 0.6544 GB Notification: Performance of matching and sorting (n=43): time 0.00263/0.7683, allocations: 1.016 MB / 0.8878 GB, free: 4.812 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/0.7683, allocations: 63.36 kB / 0.8879 GB, free: 4.738 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002538/0.7709, allocations: 1.271 MB / 0.8891 GB, free: 3.449 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001376/0.771, allocations: 41.7 kB / 0.8892 GB, free: 3.402 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004218/0.7715, allocations: 433.7 kB / 0.8896 GB, free: 2.977 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001741/0.7716, allocations: 141.9 kB / 0.8897 GB, free: 2.836 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002575/0.7719, allocations: 118 kB / 0.8898 GB, free: 2.715 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.772, allocations: 329.9 kB / 0.8902 GB, free: 2.387 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005949/0.7727, allocations: 270.2 kB / 0.8904 GB, free: 2.121 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008174/0.7735, allocations: 493 kB / 0.8909 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/0.7747, allocations: 0.5752 MB / 0.8914 GB, free: 0.9844 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.7747, allocations: 4 kB / 0.8914 GB, free: 0.9805 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001715/0.7764, allocations: 0.7417 MB / 0.8922 GB, free: 236 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.7764, allocations: 4 kB / 0.8922 GB, free: 232 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.7765, allocations: 0 / 0.8922 GB, free: 232 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.7765, allocations: 4 kB / 0.8922 GB, free: 228 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006662/0.7771, allocations: 123.8 kB / 0.8923 GB, free: 104 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/0.7772, allocations: 4 kB / 0.8923 GB, free: 100 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001426/0.7786, allocations: 87.88 kB / 0.8924 GB, free: 12 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/0.7787, allocations: 28.03 kB / 0.8924 GB, free: 15.98 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008714/0.7796, allocations: 469.9 kB / 0.8929 GB, free: 15.52 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007346/0.7804, allocations: 489.9 kB / 0.8933 GB, free: 14.96 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001118/0.7815, allocations: 0.5799 MB / 0.8939 GB, free: 14.38 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.224e-06/0.7815, allocations: 0 / 0.8939 GB, free: 14.38 MB / 0.67 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001698/0.7832, allocations: 0.7343 MB / 0.8946 GB, free: 13.64 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.7832, allocations: 10.75 kB / 0.8946 GB, free: 13.63 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.7832, allocations: 5.562 kB / 0.8946 GB, free: 13.62 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.943e-06/0.7833, allocations: 0 / 0.8946 GB, free: 13.62 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006562/0.7839, allocations: 127.8 kB / 0.8947 GB, free: 13.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.7839, allocations: 0 / 0.8947 GB, free: 13.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001524/0.7855, allocations: 121.2 kB / 0.8949 GB, free: 13.38 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.975e-05/0.7855, allocations: 23.97 kB / 0.8949 GB, free: 13.36 MB / 0.67 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.0002169/0.7858, allocations: 208.2 kB / 0.8951 GB, free: 13.15 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003531/0.7861, allocations: 102.7 kB / 0.8952 GB, free: 13.05 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001777/0.7879, allocations: 0.8146 MB / 0.896 GB, free: 12.22 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.7879, allocations: 11.98 kB / 0.896 GB, free: 12.21 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.7879, allocations: 0 / 0.896 GB, free: 12.21 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.7879, allocations: 0 / 0.896 GB, free: 12.21 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003463/0.7914, allocations: 1.956 MB / 0.8979 GB, free: 10.17 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.675e-06/0.7914, allocations: 0.6875 kB / 0.8979 GB, free: 10.17 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006018/0.792, allocations: 120 kB / 0.898 GB, free: 10.05 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.046e-05/0.7921, allocations: 4 kB / 0.898 GB, free: 10.05 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.565e-05/0.7921, allocations: 16 kB / 0.898 GB, free: 10.04 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.447e-06/0.7921, allocations: 8.812 kB / 0.898 GB, free: 10.03 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.7921, allocations: 7.984 kB / 0.898 GB, free: 10.02 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002206/0.7944, allocations: 1.225 MB / 0.8992 GB, free: 8.754 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006376/0.795, allocations: 295.6 kB / 0.8995 GB, free: 8.445 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002633/0.7953, allocations: 12 kB / 0.8995 GB, free: 8.434 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/0.7964, allocations: 67.91 kB / 0.8996 GB, free: 8.367 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.7966, allocations: 39.89 kB / 0.8996 GB, free: 8.328 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-05/0.7966, allocations: 27.98 kB / 0.8997 GB, free: 8.301 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00167/0.7983, allocations: 0.9208 MB / 0.9006 GB, free: 7.371 MB / 0.67 GB Notification: Performance of sort global known variables: time 2e-07/0.7983, allocations: 0 / 0.9006 GB, free: 7.371 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001378/0.7997, allocations: 411.4 kB / 0.901 GB, free: 6.969 MB / 0.67 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.0006034/0.8003, allocations: 207 kB / 0.9012 GB, free: 6.766 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002068/0.8024, allocations: 0.9463 MB / 0.9021 GB, free: 5.816 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.8024, allocations: 0 / 0.9021 GB, free: 5.816 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006494/0.8031, allocations: 336.2 kB / 0.9024 GB, free: 5.488 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002213/0.8053, allocations: 429.5 kB / 0.9028 GB, free: 5.074 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002904/0.8082, allocations: 1.733 MB / 0.9045 GB, free: 3.277 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006264/0.8088, allocations: 1.045 MB / 0.9055 GB, free: 2.203 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004376/0.8093, allocations: 95.39 kB / 0.9056 GB, free: 2.109 MB / 0.67 GB Notification: Performance of SimCode: time 5.01e-07/0.8093, allocations: 0 / 0.9056 GB, free: 2.109 MB / 0.67 GB Notification: Performance of Templates: time 0.02526/0.8346, allocations: 16.55 MB / 0.9218 GB, free: 1.699 MB / 0.6856 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)