Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.371/1.371, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000891/0.0008911, allocations: 182.7 kB / 326.5 MB, free: 2.68 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.66/1.66, allocations: 205 MB / 0.5767 GB, free: 20.99 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007245/0.0007245, allocations: 85.98 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000324/0.0003241, allocations: 13.34 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2197, allocations: 105.4 MB / 0.8968 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.6478/0.8676, allocations: 187.6 MB / 1.08 GB, free: 1.668 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01349/0.8811, allocations: 7.962 MB / 1.088 GB, free: 1.457 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001802/0.883, allocations: 32.84 kB / 1.088 GB, free: 1.457 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001509/0.8845, allocations: 461 kB / 1.088 GB, free: 1.445 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.003975/0.8885, allocations: 1.45 MB / 1.09 GB, free: 1.371 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.007906/0.8964, allocations: 2.29 MB / 1.092 GB, free: 1.277 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003839/0.9002, allocations: 2.81 MB / 1.095 GB, free: 1.262 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001441/0.9017, allocations: 0.9038 MB / 1.095 GB, free: 1.145 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001616/0.9033, allocations: 0.8273 MB / 1.096 GB, free: 1.141 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009433/0.9043, allocations: 0.8145 MB / 1.097 GB, free: 1.137 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001561/0.9044, allocations: 55.81 kB / 1.097 GB, free: 1.137 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002649/0.9071, allocations: 1.496 MB / 1.099 GB, free: 1.117 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003174/0.9074, allocations: 334.9 kB / 1.099 GB, free: 1.117 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005808/0.908, allocations: 0.5585 MB / 1.099 GB, free: 1.117 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002537/0.9106, allocations: 2.084 MB / 1.101 GB, free: 1.012 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.9106, allocations: 2.969 kB / 1.101 GB, free: 1.012 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.723e-06/0.9106, allocations: 0 / 1.101 GB, free: 1.012 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.652e-05/0.9106, allocations: 0 / 1.101 GB, free: 1.012 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.00356/0.9142, allocations: 1.526 MB / 1.103 GB, free: 16.2 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.9142, allocations: 13.38 kB / 1.103 GB, free: 16.2 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007725/0.915, allocations: 189 kB / 1.103 GB, free: 16.13 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001517/0.9165, allocations: 1.048 MB / 1.104 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001262/0.9167, allocations: 53.8 kB / 1.104 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.9168, allocations: 58.59 kB / 1.104 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00117/0.918, allocations: 0.7038 MB / 1.105 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.918, allocations: 7.938 kB / 1.105 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.363e-05/0.9181, allocations: 19.88 kB / 1.105 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.9181, allocations: 11.62 kB / 1.105 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/0.9192, allocations: 0.6384 MB / 1.106 GB, free: 15.66 MB / 0.7136 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.003756/0.923, allocations: 2.698 MB / 1.108 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.924, allocations: 0.5508 MB / 1.109 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005606/0.9246, allocations: 368.2 kB / 1.109 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003875/0.925, allocations: 293.4 kB / 1.109 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.925, allocations: 36.97 kB / 1.109 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006652/0.9257, allocations: 166.7 kB / 1.11 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=43): time 3.517e-06/0.9257, allocations: 0 / 1.11 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of matching and sorting (n=43): time 0.002142/0.9278, allocations: 1.068 MB / 1.111 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.383e-05/0.9279, allocations: 137 kB / 1.111 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001716/0.9296, allocations: 1.281 MB / 1.112 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.023e-05/0.9297, allocations: 43.05 kB / 1.112 GB, free: 14 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003212/0.93, allocations: 446.2 kB / 1.113 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/0.9302, allocations: 152.8 kB / 1.113 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.583e-05/0.9302, allocations: 43.53 kB / 1.113 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.9304, allocations: 329 kB / 1.113 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005097/0.9309, allocations: 288.8 kB / 1.113 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000721/0.9316, allocations: 0.5274 MB / 1.114 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/0.9327, allocations: 0.6454 MB / 1.114 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.9327, allocations: 0 / 1.114 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001473/0.9342, allocations: 0.8038 MB / 1.115 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.356e-05/0.9343, allocations: 94.64 kB / 1.115 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.9343, allocations: 2 kB / 1.115 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.9343, allocations: 3.062 kB / 1.115 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000581/0.9349, allocations: 123.8 kB / 1.115 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.9349, allocations: 6.906 kB / 1.115 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/0.9361, allocations: 122.3 kB / 1.116 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.835e-05/0.9362, allocations: 33.58 kB / 1.116 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.163e-06/0.9362, allocations: 6.25 kB / 1.116 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001167/0.9373, allocations: 0.6684 MB / 1.116 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.9374, allocations: 0 / 1.116 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.725e-06/0.9374, allocations: 3.312 kB / 1.116 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000528/0.9379, allocations: 120.8 kB / 1.116 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.9379, allocations: 2.875 kB / 1.116 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/0.9391, allocations: 124.6 kB / 1.117 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.976e-05/0.9391, allocations: 25.31 kB / 1.117 GB, free: 12.94 MB / 0.7136 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 (47): * Single equations (assignments): 45 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0005012/0.9396, allocations: 339.1 kB / 1.117 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002082/0.9399, allocations: 106.8 kB / 1.117 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001682/0.9416, allocations: 0.8376 MB / 1.118 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.9416, allocations: 7.281 kB / 1.118 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.9416, allocations: 0 / 1.118 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004663/0.9421, allocations: 284.4 kB / 1.118 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001456/0.9422, allocations: 9.812 kB / 1.118 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000916/0.9431, allocations: 76.12 kB / 1.118 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.9432, allocations: 38.88 kB / 1.118 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001542/0.9448, allocations: 0.8021 MB / 1.119 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002337/0.9471, allocations: 1.306 MB / 1.12 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007474/0.9479, allocations: 328 kB / 1.121 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001933/0.9498, allocations: 0.9307 MB / 1.121 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of Backend: time 7.12e-07/0.9499, allocations: 4 kB / 1.121 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003129/0.953, allocations: 1.15 MB / 1.123 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of SimCode: time 0.004151/0.9572, allocations: 2.599 MB / 1.125 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of Templates: time 0.04144/0.9986, allocations: 25.13 MB / 1.15 GB, free: 14.14 MB / 0.7292 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)