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.001379/0.001379, allocations: 105 kB / 16.4 MB, free: 6.508 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.00144/0.00144, allocations: 187 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.324/1.324, allocations: 222.9 MB / 241 MB, free: 15.15 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.8496/0.8496, allocations: 143.1 MB / 434.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 61.28 kB / 0.5962 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1414, allocations: 82.03 MB / 0.6763 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.5225/0.664, allocations: 189.8 MB / 0.8616 GB, free: 52 kB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.008107/0.6721, allocations: 4.302 MB / 0.8658 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001437/0.6736, allocations: 27.81 kB / 0.8659 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001694/0.6753, allocations: 0.4967 MB / 0.8663 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00475/0.6801, allocations: 1.57 MB / 0.8679 GB, free: 9.641 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003701/0.6839, allocations: 1.338 MB / 0.8692 GB, free: 8.312 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003376/0.6873, allocations: 2.276 MB / 0.8714 GB, free: 6.027 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001885/0.6892, allocations: 1.082 MB / 0.8725 GB, free: 4.934 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00202/0.6912, allocations: 0.9576 MB / 0.8734 GB, free: 3.973 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001697/0.6929, allocations: 0.8756 MB / 0.8743 GB, free: 3.094 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0005075/0.6934, allocations: 140 kB / 0.8744 GB, free: 2.957 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002781/0.6962, allocations: 1.243 MB / 0.8756 GB, free: 1.711 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0007065/0.697, allocations: 426.7 kB / 0.876 GB, free: 1.293 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001239/0.6982, allocations: 0.6453 MB / 0.8766 GB, free: 0.6445 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003457/0.7017, allocations: 2.072 MB / 0.8787 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.7017, allocations: 0 / 0.8787 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.402e-06/0.7017, allocations: 0 / 0.8787 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.853e-05/0.7018, allocations: 0 / 0.8787 GB, free: 14.57 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.005133/0.7069, allocations: 1.726 MB / 0.8803 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.707, allocations: 11.97 kB / 0.8804 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001094/0.7081, allocations: 190.4 kB / 0.8805 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00208/0.7102, allocations: 1.065 MB / 0.8816 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.742e-05/0.7102, allocations: 49 kB / 0.8816 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/0.7104, allocations: 59.94 kB / 0.8817 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/0.7117, allocations: 0.6153 MB / 0.8823 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.7117, allocations: 0 / 0.8823 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.999e-05/0.7118, allocations: 20 kB / 0.8823 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.917e-05/0.7118, allocations: 17 kB / 0.8823 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001401/0.7132, allocations: 0.6285 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.004508/0.7177, allocations: 2.658 MB / 0.8855 GB, free: 7.27 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001172/0.7189, allocations: 0.5373 MB / 0.8861 GB, free: 6.723 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006527/0.7196, allocations: 349.3 kB / 0.8864 GB, free: 6.379 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004175/0.72, allocations: 292 kB / 0.8867 GB, free: 6.039 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.7201, allocations: 38.5 kB / 0.8867 GB, free: 5.992 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007819/0.7209, allocations: 147.4 kB / 0.8868 GB, free: 5.848 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=43): time 5.701e-06/0.7209, allocations: 0 / 0.8868 GB, free: 5.848 MB / 0.6544 GB Notification: Performance of matching and sorting (n=43): time 0.002575/0.7235, allocations: 1.02 MB / 0.8878 GB, free: 4.82 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/0.7235, allocations: 59.36 kB / 0.8879 GB, free: 4.75 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002278/0.7258, allocations: 1.275 MB / 0.8891 GB, free: 3.457 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001037/0.7259, allocations: 37.7 kB / 0.8892 GB, free: 3.414 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003732/0.7263, allocations: 429.7 kB / 0.8896 GB, free: 2.992 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001555/0.7265, allocations: 149.8 kB / 0.8897 GB, free: 2.844 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002194/0.7267, allocations: 118 kB / 0.8898 GB, free: 2.723 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.7268, allocations: 318 kB / 0.8901 GB, free: 2.406 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005886/0.7274, allocations: 278.8 kB / 0.8904 GB, free: 2.133 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008339/0.7282, allocations: 485.1 kB / 0.8909 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/0.7295, allocations: 0.5869 MB / 0.8914 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.7295, allocations: 0 / 0.8914 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001626/0.7311, allocations: 0.7378 MB / 0.8922 GB, free: 252 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.7312, allocations: 6.031 kB / 0.8922 GB, free: 248 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.7312, allocations: 0 / 0.8922 GB, free: 248 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.7312, allocations: 5.125 kB / 0.8922 GB, free: 244 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006826/0.7319, allocations: 123.8 kB / 0.8923 GB, free: 120 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.7319, allocations: 4 kB / 0.8923 GB, free: 116 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/0.7332, allocations: 95.39 kB / 0.8924 GB, free: 24 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.446e-05/0.7333, allocations: 23.97 kB / 0.8924 GB, free: 0 / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008776/0.7342, allocations: 476.8 kB / 0.8929 GB, free: 15.53 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000763/0.735, allocations: 478 kB / 0.8933 GB, free: 14.98 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001182/0.7362, allocations: 0.5915 MB / 0.8939 GB, free: 14.38 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.244e-06/0.7362, allocations: 4 kB / 0.8939 GB, free: 14.38 MB / 0.67 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001655/0.7378, allocations: 0.7299 MB / 0.8946 GB, free: 13.64 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.7379, allocations: 11.94 kB / 0.8946 GB, free: 13.63 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.7379, allocations: 0 / 0.8946 GB, free: 13.63 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.201e-06/0.7379, allocations: 0 / 0.8946 GB, free: 13.63 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006448/0.7385, allocations: 127.8 kB / 0.8947 GB, free: 13.51 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.7386, allocations: 8 kB / 0.8948 GB, free: 13.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/0.74, allocations: 128.7 kB / 0.8949 GB, free: 13.38 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.96e-05/0.7401, allocations: 25.55 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.0002287/0.7403, allocations: 204.2 kB / 0.8951 GB, free: 13.15 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003014/0.7406, allocations: 102.7 kB / 0.8952 GB, free: 13.05 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001826/0.7425, allocations: 0.807 MB / 0.896 GB, free: 12.23 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.7425, allocations: 4 kB / 0.896 GB, free: 12.23 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.7425, allocations: 0 / 0.896 GB, free: 12.23 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.7425, allocations: 3.984 kB / 0.896 GB, free: 12.22 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003419/0.746, allocations: 1.964 MB / 0.8979 GB, free: 10.18 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.746, allocations: 4 kB / 0.8979 GB, free: 10.17 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005951/0.7466, allocations: 103.9 kB / 0.898 GB, free: 10.07 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.245e-06/0.7466, allocations: 4.281 kB / 0.898 GB, free: 10.07 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.228e-05/0.7467, allocations: 19.98 kB / 0.898 GB, free: 10.05 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.428e-06/0.7467, allocations: 11.94 kB / 0.898 GB, free: 10.04 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.7467, allocations: 3.938 kB / 0.8981 GB, free: 10.03 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002209/0.7489, allocations: 1.225 MB / 0.8992 GB, free: 8.766 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005345/0.7494, allocations: 295.5 kB / 0.8995 GB, free: 8.457 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002418/0.7497, allocations: 19.98 kB / 0.8995 GB, free: 8.438 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/0.7508, allocations: 63.92 kB / 0.8996 GB, free: 8.375 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.7509, allocations: 39.94 kB / 0.8996 GB, free: 8.336 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-05/0.751, allocations: 16 kB / 0.8997 GB, free: 8.32 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001685/0.7527, allocations: 0.9247 MB / 0.9006 GB, free: 7.387 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.81e-07/0.7527, allocations: 0 / 0.9006 GB, free: 7.387 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001431/0.7541, allocations: 411.4 kB / 0.901 GB, free: 6.984 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.0005691/0.7547, allocations: 218.6 kB / 0.9012 GB, free: 6.77 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002165/0.7569, allocations: 0.936 MB / 0.9021 GB, free: 5.828 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.7569, allocations: 0 / 0.9021 GB, free: 5.828 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006583/0.7576, allocations: 336.1 kB / 0.9024 GB, free: 5.5 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00237/0.76, allocations: 433.6 kB / 0.9028 GB, free: 5.082 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003138/0.7631, allocations: 1.729 MB / 0.9045 GB, free: 3.285 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007629/0.7639, allocations: 1.041 MB / 0.9055 GB, free: 2.215 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005483/0.7645, allocations: 99.38 kB / 0.9056 GB, free: 2.117 MB / 0.67 GB Notification: Performance of SimCode: time 7.51e-07/0.7645, allocations: 0 / 0.9056 GB, free: 2.117 MB / 0.67 GB Notification: Performance of Templates: time 0.02502/0.7895, allocations: 16.42 MB / 0.9216 GB, free: 1.848 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)