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.001169/0.00117, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 194.4 kB / 16.53 MB, free: 6.699 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.315/1.315, allocations: 222.9 MB / 240.2 MB, free: 4.383 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 0.9938/0.9938, allocations: 143 MB / 433.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 71.89 kB / 0.5142 GB, free: 11.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1693, allocations: 82.03 MB / 0.5943 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.4762/0.6455, allocations: 189.8 MB / 0.7796 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008101/0.6537, allocations: 4.282 MB / 0.7838 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009563/0.6547, allocations: 31.81 kB / 0.7838 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001314/0.656, allocations: 0.5005 MB / 0.7843 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003259/0.6593, allocations: 1.565 MB / 0.7858 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003106/0.6624, allocations: 1.33 MB / 0.7871 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002413/0.6648, allocations: 2.253 MB / 0.7893 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001241/0.6661, allocations: 1.082 MB / 0.7904 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001187/0.6673, allocations: 0.9499 MB / 0.7913 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009207/0.6682, allocations: 0.86 MB / 0.7921 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002096/0.6684, allocations: 144 kB / 0.7923 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00211/0.6706, allocations: 1.243 MB / 0.7935 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003683/0.6709, allocations: 426.7 kB / 0.7939 GB, free: 0.7695 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005629/0.6715, allocations: 0.6492 MB / 0.7945 GB, free: 120 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002051/0.6736, allocations: 2.045 MB / 0.7965 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.6736, allocations: 4 kB / 0.7965 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.433e-06/0.6736, allocations: 4 kB / 0.7965 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.431e-05/0.6736, allocations: 0 / 0.7965 GB, free: 14.06 MB / 0.6231 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.00384/0.6775, allocations: 1.724 MB / 0.7982 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.6775, allocations: 8.031 kB / 0.7982 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007937/0.6783, allocations: 186.4 kB / 0.7984 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001598/0.6799, allocations: 1.048 MB / 0.7994 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/0.6801, allocations: 48.98 kB / 0.7995 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.6802, allocations: 63.94 kB / 0.7995 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/0.6813, allocations: 0.6037 MB / 0.8001 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.6814, allocations: 4 kB / 0.8001 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.004e-05/0.6814, allocations: 24 kB / 0.8002 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.989e-05/0.6815, allocations: 17 kB / 0.8002 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001287/0.6828, allocations: 0.6207 MB / 0.8008 GB, free: 9.605 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.003746/0.6865, allocations: 2.678 MB / 0.8034 GB, free: 6.785 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001114/0.6876, allocations: 0.5304 MB / 0.8039 GB, free: 6.246 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006204/0.6883, allocations: 353.8 kB / 0.8043 GB, free: 5.898 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003694/0.6887, allocations: 291.2 kB / 0.8045 GB, free: 5.559 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.6887, allocations: 46.5 kB / 0.8046 GB, free: 5.504 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005973/0.6893, allocations: 143.5 kB / 0.8047 GB, free: 5.363 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=43): time 3.246e-06/0.6893, allocations: 0 / 0.8047 GB, free: 5.363 MB / 0.6231 GB Notification: Performance of matching and sorting (n=43): time 0.002284/0.6916, allocations: 1.023 MB / 0.8057 GB, free: 4.336 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.6916, allocations: 55.41 kB / 0.8058 GB, free: 4.27 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001788/0.6934, allocations: 1.267 MB / 0.807 GB, free: 2.984 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.045e-05/0.6935, allocations: 41.7 kB / 0.807 GB, free: 2.938 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003317/0.6938, allocations: 429.7 kB / 0.8075 GB, free: 2.512 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000125/0.694, allocations: 153.8 kB / 0.8076 GB, free: 2.359 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000203/0.6942, allocations: 117.9 kB / 0.8077 GB, free: 2.238 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.669e-05/0.6943, allocations: 318 kB / 0.808 GB, free: 1.922 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005537/0.6949, allocations: 278.2 kB / 0.8083 GB, free: 1.648 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007536/0.6956, allocations: 481.3 kB / 0.8087 GB, free: 1.102 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001151/0.6968, allocations: 0.5888 MB / 0.8093 GB, free: 0.5117 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.788e-06/0.6968, allocations: 3.938 kB / 0.8093 GB, free: 0.5078 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001481/0.6983, allocations: 0.7378 MB / 0.81 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.6983, allocations: 4 kB / 0.81 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.6983, allocations: 4 kB / 0.81 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.6983, allocations: 0 / 0.81 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006386/0.699, allocations: 119.8 kB / 0.8102 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.699, allocations: 0 / 0.8102 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/0.7001, allocations: 94.91 kB / 0.8102 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.401e-05/0.7002, allocations: 27.97 kB / 0.8103 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000773/0.701, allocations: 467.9 kB / 0.8107 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007308/0.7017, allocations: 481.9 kB / 0.8112 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001124/0.7028, allocations: 0.5799 MB / 0.8117 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.443e-06/0.7028, allocations: 4 kB / 0.8118 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001442/0.7043, allocations: 0.7333 MB / 0.8125 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.7043, allocations: 8.938 kB / 0.8125 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.024e-06/0.7043, allocations: 0 / 0.8125 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.226e-06/0.7043, allocations: 0 / 0.8125 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006173/0.7049, allocations: 120.3 kB / 0.8126 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.705, allocations: 4.625 kB / 0.8126 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001257/0.7062, allocations: 134.2 kB / 0.8127 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.871e-05/0.7063, allocations: 27.97 kB / 0.8128 GB, free: 12.89 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.0001796/0.7065, allocations: 208.1 kB / 0.8129 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001924/0.7067, allocations: 102.7 kB / 0.813 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001667/0.7083, allocations: 0.8083 MB / 0.8138 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.7084, allocations: 4 kB / 0.8138 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.7084, allocations: 0 / 0.8138 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.7084, allocations: 3.984 kB / 0.8138 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0029/0.7113, allocations: 1.952 MB / 0.8158 GB, free: 9.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.7113, allocations: 0 / 0.8158 GB, free: 9.73 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005712/0.7119, allocations: 115.4 kB / 0.8159 GB, free: 9.621 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/0.7119, allocations: 4 kB / 0.8159 GB, free: 9.617 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.027e-05/0.7119, allocations: 20.22 kB / 0.8159 GB, free: 9.598 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.712, allocations: 11.98 kB / 0.8159 GB, free: 9.586 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.712, allocations: 4 kB / 0.8159 GB, free: 9.582 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002028/0.714, allocations: 1.228 MB / 0.8171 GB, free: 8.309 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003826/0.7144, allocations: 287.7 kB / 0.8174 GB, free: 8.008 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001527/0.7146, allocations: 15.94 kB / 0.8174 GB, free: 7.992 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000948/0.7155, allocations: 67.97 kB / 0.8175 GB, free: 7.926 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.7156, allocations: 35.89 kB / 0.8175 GB, free: 7.891 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.06e-05/0.7157, allocations: 23.98 kB / 0.8175 GB, free: 7.867 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001326/0.717, allocations: 0.9247 MB / 0.8184 GB, free: 6.934 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.2e-07/0.717, allocations: 3.938 kB / 0.8184 GB, free: 6.93 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001035/0.718, allocations: 407.4 kB / 0.8188 GB, free: 6.531 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.0004857/0.7185, allocations: 221.1 kB / 0.819 GB, free: 6.32 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00207/0.7206, allocations: 1 MB / 0.82 GB, free: 5.32 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.7206, allocations: 0 / 0.82 GB, free: 5.32 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000651/0.7213, allocations: 340.1 kB / 0.8203 GB, free: 4.988 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001971/0.7233, allocations: 439.4 kB / 0.8207 GB, free: 4.602 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002661/0.7259, allocations: 1.699 MB / 0.8224 GB, free: 2.848 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005763/0.7265, allocations: 1.041 MB / 0.8234 GB, free: 1.777 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000997/0.7275, allocations: 287.1 kB / 0.8237 GB, free: 1.492 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003099/0.7279, allocations: 103.3 kB / 0.8238 GB, free: 1.391 MB / 0.6387 GB Notification: Performance of SimCode: time 2.6e-07/0.7279, allocations: 0 / 0.8238 GB, free: 1.391 MB / 0.6387 GB Notification: Performance of Templates: time 0.03465/0.7625, allocations: 21.33 MB / 0.8446 GB, free: 12.32 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)