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.001497/0.001497, allocations: 108 kB / 16.42 MB, free: 6.449 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.001718/0.001718, allocations: 185.7 kB / 17.35 MB, free: 5.734 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.35/1.35, allocations: 222.9 MB / 241.1 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.8633/0.8633, allocations: 143.1 MB / 434.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 76.06 kB / 0.5962 GB, free: 12.42 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1433, allocations: 82.03 MB / 0.6763 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.534/0.6774, allocations: 189.8 MB / 0.8616 GB, free: 84 kB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.00723/0.6847, allocations: 4.295 MB / 0.8658 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008065/0.6855, allocations: 31.81 kB / 0.8659 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001254/0.6867, allocations: 0.5123 MB / 0.8664 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003302/0.6901, allocations: 1.626 MB / 0.868 GB, free: 9.598 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002986/0.6931, allocations: 1.352 MB / 0.8693 GB, free: 8.258 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0025/0.6956, allocations: 2.275 MB / 0.8715 GB, free: 5.977 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001565/0.6972, allocations: 1.079 MB / 0.8725 GB, free: 4.887 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001654/0.6989, allocations: 0.9693 MB / 0.8735 GB, free: 3.914 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001411/0.7003, allocations: 0.8717 MB / 0.8743 GB, free: 3.039 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003645/0.7006, allocations: 140 kB / 0.8745 GB, free: 2.902 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002305/0.703, allocations: 1.251 MB / 0.8757 GB, free: 1.648 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0007826/0.7038, allocations: 426.7 kB / 0.8761 GB, free: 1.23 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001437/0.7052, allocations: 0.6453 MB / 0.8767 GB, free: 0.582 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003182/0.7084, allocations: 2.076 MB / 0.8788 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.7084, allocations: 4 kB / 0.8788 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7084, allocations: 0 / 0.8788 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.205e-05/0.7085, allocations: 0 / 0.8788 GB, free: 14.5 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.004773/0.7133, allocations: 1.72 MB / 0.8804 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.7133, allocations: 8.031 kB / 0.8805 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008786/0.7142, allocations: 182.4 kB / 0.8806 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001944/0.7161, allocations: 1.08 MB / 0.8817 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.715e-05/0.7162, allocations: 44.98 kB / 0.8817 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/0.7163, allocations: 59.94 kB / 0.8818 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/0.7176, allocations: 0.6154 MB / 0.8824 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.7176, allocations: 0 / 0.8824 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.762e-05/0.7176, allocations: 16 kB / 0.8824 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.243e-05/0.7177, allocations: 24.92 kB / 0.8824 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001281/0.719, allocations: 0.6246 MB / 0.883 GB, free: 10.01 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.003863/0.7228, allocations: 2.652 MB / 0.8856 GB, free: 7.211 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/0.724, allocations: 0.5566 MB / 0.8862 GB, free: 6.645 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006205/0.7246, allocations: 347 kB / 0.8865 GB, free: 6.305 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000379/0.725, allocations: 288 kB / 0.8868 GB, free: 5.969 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.725, allocations: 46.48 kB / 0.8868 GB, free: 5.914 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005806/0.7256, allocations: 143.5 kB / 0.887 GB, free: 5.773 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=43): time 2.314e-06/0.7256, allocations: 4 kB / 0.887 GB, free: 5.77 MB / 0.6544 GB Notification: Performance of matching and sorting (n=43): time 0.002263/0.7279, allocations: 1.016 MB / 0.888 GB, free: 4.746 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.7279, allocations: 59.36 kB / 0.888 GB, free: 4.676 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001867/0.7298, allocations: 1.271 MB / 0.8893 GB, free: 3.387 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.989e-05/0.7299, allocations: 37.7 kB / 0.8893 GB, free: 3.344 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003318/0.7302, allocations: 441.7 kB / 0.8897 GB, free: 2.91 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/0.7304, allocations: 145.8 kB / 0.8898 GB, free: 2.766 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002113/0.7306, allocations: 118 kB / 0.89 GB, free: 2.645 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.7307, allocations: 322 kB / 0.8903 GB, free: 2.324 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005684/0.7313, allocations: 270.2 kB / 0.8905 GB, free: 2.059 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007588/0.732, allocations: 485.8 kB / 0.891 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/0.7332, allocations: 0.5908 MB / 0.8916 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.7332, allocations: 0 / 0.8916 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001473/0.7347, allocations: 0.7339 MB / 0.8923 GB, free: 176 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.7347, allocations: 8 kB / 0.8923 GB, free: 168 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.7347, allocations: 0 / 0.8923 GB, free: 168 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.7348, allocations: 4 kB / 0.8923 GB, free: 164 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000657/0.7354, allocations: 119.8 kB / 0.8924 GB, free: 44 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.7354, allocations: 4 kB / 0.8924 GB, free: 40 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/0.7365, allocations: 91.88 kB / 0.8925 GB, free: 15.95 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.19e-05/0.7366, allocations: 23.97 kB / 0.8925 GB, free: 15.93 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007834/0.7374, allocations: 467.9 kB / 0.893 GB, free: 15.46 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007276/0.7381, allocations: 485.9 kB / 0.8934 GB, free: 14.91 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00113/0.7393, allocations: 0.5876 MB / 0.894 GB, free: 14.32 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.605e-06/0.7393, allocations: 6.359 kB / 0.894 GB, free: 14.31 MB / 0.67 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001437/0.7407, allocations: 0.7265 MB / 0.8947 GB, free: 13.58 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.7408, allocations: 11.94 kB / 0.8947 GB, free: 13.57 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.085e-06/0.7408, allocations: 4.875 kB / 0.8947 GB, free: 13.56 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.206e-06/0.7408, allocations: 0 / 0.8947 GB, free: 13.56 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006116/0.7414, allocations: 123.8 kB / 0.8949 GB, free: 13.44 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.7414, allocations: 3.938 kB / 0.8949 GB, free: 13.44 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001213/0.7426, allocations: 128.2 kB / 0.895 GB, free: 13.31 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.251e-05/0.7427, allocations: 27.97 kB / 0.895 GB, free: 13.29 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.0001791/0.7429, allocations: 201.1 kB / 0.8952 GB, free: 13.08 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002024/0.7431, allocations: 106.7 kB / 0.8953 GB, free: 12.98 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001728/0.7448, allocations: 0.807 MB / 0.8961 GB, free: 12.16 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.7448, allocations: 4 kB / 0.8961 GB, free: 12.16 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.7448, allocations: 1.125 kB / 0.8961 GB, free: 12.16 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004026/0.7453, allocations: 283.7 kB / 0.8964 GB, free: 11.86 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001486/0.7454, allocations: 8 kB / 0.8964 GB, free: 11.85 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008923/0.7463, allocations: 59.92 kB / 0.8964 GB, free: 11.79 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.7464, allocations: 36.38 kB / 0.8965 GB, free: 11.76 MB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001657/0.7481, allocations: 0.7688 MB / 0.8972 GB, free: 10.98 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0021/0.7502, allocations: 1.259 MB / 0.8984 GB, free: 9.707 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005718/0.7508, allocations: 307.3 kB / 0.8987 GB, free: 9.406 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001457/0.7523, allocations: 0.9248 MB / 0.8996 GB, free: 8.473 MB / 0.67 GB Notification: Performance of Backend: time 3.31e-07/0.7523, allocations: 0 / 0.8996 GB, free: 8.473 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002652/0.7549, allocations: 1.022 MB / 0.9006 GB, free: 7.457 MB / 0.67 GB Notification: Performance of SimCode: time 0.003486/0.7584, allocations: 2.183 MB / 0.9028 GB, free: 5.223 MB / 0.67 GB Notification: Performance of Templates: time 0.04034/0.7988, allocations: 25.21 MB / 0.9274 GB, free: 12.26 MB / 0.7012 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)