Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.001109/0.001109, allocations: 112.2 kB / 16.41 MB, free: 6.5 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.00106/0.00106, allocations: 197.2 kB / 17.34 MB, free: 5.758 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.258/1.258, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6695/0.6695, allocations: 115.3 MB / 406.5 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 64.23 kB / 0.5577 GB, free: 32.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1427, allocations: 76.19 MB / 0.6321 GB, free: 4.414 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.5497/0.6925, allocations: 189.6 MB / 0.8173 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0067/0.6992, allocations: 4.281 MB / 0.8215 GB, free: 9.23 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001313/0.7005, allocations: 29.19 kB / 0.8215 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001394/0.702, allocations: 0.5057 MB / 0.822 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003963/0.706, allocations: 1.563 MB / 0.8235 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003702/0.7097, allocations: 1.352 MB / 0.8248 GB, free: 7.016 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003045/0.7127, allocations: 2.277 MB / 0.827 GB, free: 5.738 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001423/0.7142, allocations: 1.078 MB / 0.8281 GB, free: 5.047 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001533/0.7157, allocations: 0.9628 MB / 0.829 GB, free: 4.523 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009905/0.7167, allocations: 0.8693 MB / 0.8299 GB, free: 4 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001972/0.7169, allocations: 141.3 kB / 0.83 GB, free: 4 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002351/0.7193, allocations: 1.241 MB / 0.8312 GB, free: 3.484 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003587/0.7196, allocations: 425.3 kB / 0.8316 GB, free: 3.172 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005684/0.7202, allocations: 0.647 MB / 0.8323 GB, free: 2.711 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002154/0.7224, allocations: 1.973 MB / 0.8342 GB, free: 1.414 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.7224, allocations: 0 / 0.8342 GB, free: 1.414 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.072e-06/0.7224, allocations: 0 / 0.8342 GB, free: 1.414 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.19e-05/0.7224, allocations: 0 / 0.8342 GB, free: 1.414 MB / 0.5919 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.003722/0.7261, allocations: 1.721 MB / 0.8359 GB, free: 160 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.7262, allocations: 7.844 kB / 0.8359 GB, free: 160 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007885/0.727, allocations: 188.1 kB / 0.8361 GB, free: 68 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001643/0.7286, allocations: 1.074 MB / 0.8371 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.615e-05/0.7287, allocations: 46.66 kB / 0.8372 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.7288, allocations: 60.09 kB / 0.8372 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001092/0.7299, allocations: 0.606 MB / 0.8378 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.7299, allocations: 0 / 0.8378 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.02e-05/0.73, allocations: 25.22 kB / 0.8378 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.418e-05/0.73, allocations: 18.69 kB / 0.8379 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001186/0.7312, allocations: 0.6266 MB / 0.8385 GB, free: 14.57 MB / 0.6075 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.003961/0.7352, allocations: 2.66 MB / 0.8411 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.7362, allocations: 0.5378 MB / 0.8416 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005669/0.7368, allocations: 350.1 kB / 0.8419 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003638/0.7372, allocations: 295.6 kB / 0.8422 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.7372, allocations: 36.88 kB / 0.8422 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005753/0.7378, allocations: 142.8 kB / 0.8424 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 2.344e-06/0.7378, allocations: 0 / 0.8424 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43): time 0.00215/0.74, allocations: 1.022 MB / 0.8434 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.74, allocations: 56.47 kB / 0.8434 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00174/0.7418, allocations: 1.271 MB / 0.8447 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.416e-05/0.7418, allocations: 39.27 kB / 0.8447 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003351/0.7422, allocations: 439.3 kB / 0.8451 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.7423, allocations: 146.3 kB / 0.8453 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002054/0.7425, allocations: 115.5 kB / 0.8454 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.7426, allocations: 326.5 kB / 0.8457 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000521/0.7432, allocations: 271.8 kB / 0.8459 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007005/0.7439, allocations: 491.4 kB / 0.8464 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.745, allocations: 0.5859 MB / 0.847 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.745, allocations: 0 / 0.847 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001425/0.7464, allocations: 0.7456 MB / 0.8477 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.7464, allocations: 8 kB / 0.8477 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.7465, allocations: 3.984 kB / 0.8477 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.7465, allocations: 0 / 0.8477 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006436/0.7471, allocations: 123.8 kB / 0.8478 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.7472, allocations: 8.688 kB / 0.8479 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/0.7483, allocations: 82 kB / 0.8479 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-05/0.7484, allocations: 32.72 kB / 0.848 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007653/0.7491, allocations: 467.4 kB / 0.8484 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006927/0.7498, allocations: 485.9 kB / 0.8489 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001072/0.7509, allocations: 0.5799 MB / 0.8494 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.243e-06/0.7509, allocations: 0 / 0.8494 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001412/0.7524, allocations: 0.7383 MB / 0.8502 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.918e-06/0.7524, allocations: 7.938 kB / 0.8502 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.7524, allocations: 0 / 0.8502 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.619e-06/0.7524, allocations: 7.938 kB / 0.8502 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005955/0.753, allocations: 119.8 kB / 0.8503 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.753, allocations: 0 / 0.8503 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001362/0.7544, allocations: 133.3 kB / 0.8504 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.733e-05/0.7544, allocations: 19.98 kB / 0.8504 GB, free: 4.895 MB / 0.6075 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.0002538/0.7547, allocations: 204.2 kB / 0.8506 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002045/0.7549, allocations: 106.7 kB / 0.8507 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001694/0.7566, allocations: 0.8123 MB / 0.8515 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.7566, allocations: 4 kB / 0.8515 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.7566, allocations: 4 kB / 0.8515 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.7566, allocations: 3.984 kB / 0.8515 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002793/0.7594, allocations: 1.951 MB / 0.8534 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.7594, allocations: 0 / 0.8534 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005399/0.76, allocations: 105 kB / 0.8535 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.76, allocations: 8 kB / 0.8535 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.443e-05/0.7601, allocations: 23.92 kB / 0.8536 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.7601, allocations: 11.88 kB / 0.8536 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.7601, allocations: 4 kB / 0.8536 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001938/0.762, allocations: 1.23 MB / 0.8548 GB, free: 312 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003887/0.7624, allocations: 291.7 kB / 0.8551 GB, free: 0 / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001655/0.7626, allocations: 16.08 kB / 0.8551 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009442/0.7635, allocations: 71.91 kB / 0.8551 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.7637, allocations: 35.91 kB / 0.8552 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.171e-05/0.7637, allocations: 23.98 kB / 0.8552 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001283/0.765, allocations: 0.9324 MB / 0.8561 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.61e-07/0.765, allocations: 0 / 0.8561 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00104/0.7661, allocations: 403.4 kB / 0.8565 GB, free: 14.52 MB / 0.6231 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.0004853/0.7665, allocations: 214.2 kB / 0.8567 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001938/0.7685, allocations: 0.931 MB / 0.8576 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.7685, allocations: 4 kB / 0.8576 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005949/0.7691, allocations: 331.6 kB / 0.8579 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001989/0.7711, allocations: 436.2 kB / 0.8583 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002765/0.7739, allocations: 1.686 MB / 0.86 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000629/0.7745, allocations: 1.049 MB / 0.861 GB, free: 9.812 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0009816/0.7755, allocations: 291 kB / 0.8613 GB, free: 9.523 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003199/0.7758, allocations: 95.38 kB / 0.8614 GB, free: 9.43 MB / 0.6231 GB Notification: Performance of SimCode: time 7.82e-07/0.7759, allocations: 0 / 0.8614 GB, free: 9.43 MB / 0.6231 GB Notification: Performance of Templates: time 0.03405/0.8099, allocations: 21.39 MB / 0.8823 GB, free: 4.297 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)