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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 189.1 kB / 16.63 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4497/0.4497, allocations: 87.5 MB / 104.9 MB, free: 13.01 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 222.9 MB / 349.1 MB, free: 2.746 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 109.7 kB / 420 MB, free: 8.469 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001011/0.001011, allocations: 47.92 kB / 0.4891 GB, free: 7.672 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3607/0.3618, allocations: 70.06 MB / 0.5575 GB, free: 44.73 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.5384/0.9002, allocations: 187.4 MB / 0.7405 GB, free: 1.395 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.00839/0.9086, allocations: 4.321 MB / 0.7447 GB, free: 1.258 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00193/0.9106, allocations: 25.19 kB / 0.7448 GB, free: 1.258 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001534/0.9122, allocations: 416.8 kB / 0.7452 GB, free: 1.25 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.00418/0.9164, allocations: 1.465 MB / 0.7466 GB, free: 1.172 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003402/0.9198, allocations: 1.23 MB / 0.7478 GB, free: 1.125 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.003568/0.9234, allocations: 2.788 MB / 0.7505 GB, free: 1.121 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001446/0.9249, allocations: 0.9359 MB / 0.7514 GB, free: 0.9961 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001819/0.9267, allocations: 0.8409 MB / 0.7523 GB, free: 0.9961 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001257/0.928, allocations: 0.8398 MB / 0.7531 GB, free: 0.9922 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0002242/0.9282, allocations: 67.47 kB / 0.7531 GB, free: 0.9922 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002892/0.9311, allocations: 1.368 MB / 0.7545 GB, free: 0.9805 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0004666/0.9316, allocations: 359.1 kB / 0.7548 GB, free: 0.9766 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.000757/0.9324, allocations: 0.5723 MB / 0.7554 GB, free: 0.8164 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.002733/0.9351, allocations: 1.994 MB / 0.7573 GB, free: 0.582 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.9351, allocations: 4 kB / 0.7573 GB, free: 0.5781 MB / 0.5105 GB Notification: Performance of FrontEnd: time 7.71e-07/0.9351, allocations: 0 / 0.7573 GB, free: 0.5781 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.3e-05/0.9351, allocations: 0 / 0.7573 GB, free: 0.5781 MB / 0.5105 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.003902/0.9391, allocations: 1.724 MB / 0.759 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.9391, allocations: 8.781 kB / 0.759 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007589/0.9399, allocations: 183.8 kB / 0.7592 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001711/0.9416, allocations: 1.044 MB / 0.7602 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000126/0.9417, allocations: 53.22 kB / 0.7603 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.811e-05/0.9418, allocations: 57.88 kB / 0.7603 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.9429, allocations: 0.6164 MB / 0.7609 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.709e-05/0.943, allocations: 0 / 0.7609 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.536e-05/0.943, allocations: 18.81 kB / 0.7609 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.335e-05/0.9431, allocations: 16.41 kB / 0.761 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001211/0.9443, allocations: 0.6243 MB / 0.7616 GB, free: 15.25 MB / 0.5261 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.003962/0.9482, allocations: 2.661 MB / 0.7642 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/0.9493, allocations: 0.5393 MB / 0.7647 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006438/0.95, allocations: 354 kB / 0.765 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004018/0.9504, allocations: 288.2 kB / 0.7653 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.9504, allocations: 37.56 kB / 0.7653 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007095/0.9511, allocations: 155.1 kB / 0.7655 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=43): time 2.945e-06/0.9511, allocations: 0 / 0.7655 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of matching and sorting (n=43): time 0.002278/0.9534, allocations: 1.018 MB / 0.7665 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.9535, allocations: 64.08 kB / 0.7665 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001836/0.9553, allocations: 1.276 MB / 0.7678 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.375e-05/0.9554, allocations: 36.98 kB / 0.7678 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004286/0.9558, allocations: 441.2 kB / 0.7682 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/0.956, allocations: 145.4 kB / 0.7684 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002086/0.9562, allocations: 124.2 kB / 0.7685 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001733/0.9564, allocations: 321.8 kB / 0.7688 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006476/0.957, allocations: 268.4 kB / 0.7691 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000863/0.9579, allocations: 493.7 kB / 0.7695 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001251/0.9592, allocations: 0.5822 MB / 0.7701 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.9592, allocations: 6.125 kB / 0.7701 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001454/0.9606, allocations: 0.733 MB / 0.7708 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.9607, allocations: 3.406 kB / 0.7708 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.9607, allocations: 0.6094 kB / 0.7708 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.9607, allocations: 2.125 kB / 0.7708 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006191/0.9613, allocations: 123.4 kB / 0.7709 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.9613, allocations: 6.75 kB / 0.771 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001179/0.9625, allocations: 108.2 kB / 0.7711 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.215e-05/0.9626, allocations: 27.56 kB / 0.7711 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007797/0.9634, allocations: 464 kB / 0.7715 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006804/0.9641, allocations: 490.1 kB / 0.772 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001018/0.9651, allocations: 0.5925 MB / 0.7726 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.392e-06/0.9651, allocations: 0 / 0.7726 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001342/0.9665, allocations: 0.7345 MB / 0.7733 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.407e-06/0.9665, allocations: 5.156 kB / 0.7733 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.004e-06/0.9665, allocations: 0 / 0.7733 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.372e-06/0.9665, allocations: 7.156 kB / 0.7733 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005719/0.9671, allocations: 122.5 kB / 0.7734 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.9671, allocations: 3.594 kB / 0.7734 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/0.9684, allocations: 147.2 kB / 0.7736 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.102e-05/0.9684, allocations: 25.12 kB / 0.7736 GB, free: 11.95 MB / 0.5261 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.0001923/0.9686, allocations: 202.6 kB / 0.7738 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000175/0.9688, allocations: 102.9 kB / 0.7739 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001659/0.9705, allocations: 0.81 MB / 0.7747 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.9705, allocations: 6.031 kB / 0.7747 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.9705, allocations: 3.938 kB / 0.7747 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.9705, allocations: 4 kB / 0.7747 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002928/0.9735, allocations: 1.95 MB / 0.7766 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/0.9735, allocations: 6.453 kB / 0.7766 GB, free: 10.08 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005162/0.974, allocations: 110.9 kB / 0.7767 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.974, allocations: 2.094 kB / 0.7767 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.362e-05/0.9741, allocations: 19.92 kB / 0.7767 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.9741, allocations: 2.969 kB / 0.7767 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.9741, allocations: 2.406 kB / 0.7767 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006453/0.9805, allocations: 3.643 MB / 0.7803 GB, free: 7.379 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004913/0.9811, allocations: 290.1 kB / 0.7806 GB, free: 7.121 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001258/0.9812, allocations: 13.31 kB / 0.7806 GB, free: 7.113 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009613/0.9822, allocations: 69.91 kB / 0.7806 GB, free: 7.082 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.9823, allocations: 48.88 kB / 0.7807 GB, free: 7.051 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.19e-05/0.9823, allocations: 18.56 kB / 0.7807 GB, free: 7.047 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00138/0.9837, allocations: 0.9209 MB / 0.7816 GB, free: 6.535 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9837, allocations: 0 / 0.7816 GB, free: 6.535 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001555/0.9853, allocations: 0.5569 MB / 0.7821 GB, free: 6.469 MB / 0.5261 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.000474/0.9858, allocations: 220.6 kB / 0.7824 GB, free: 6.328 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002067/0.9879, allocations: 0.9436 MB / 0.7833 GB, free: 5.504 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.9879, allocations: 0 / 0.7833 GB, free: 5.504 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006346/0.9885, allocations: 338.9 kB / 0.7836 GB, free: 5.188 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002235/0.9908, allocations: 454.6 kB / 0.784 GB, free: 4.746 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002813/0.9936, allocations: 2.315 MB / 0.7863 GB, free: 2.359 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000564/0.9942, allocations: 1.064 MB / 0.7873 GB, free: 1.27 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001093/0.9953, allocations: 295 kB / 0.7876 GB, free: 0.9766 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003295/0.9956, allocations: 95.38 kB / 0.7877 GB, free: 0.8828 MB / 0.5261 GB Notification: Performance of SimCode: time 2.5e-07/0.9956, allocations: 0 / 0.7877 GB, free: 0.8828 MB / 0.5261 GB Notification: Performance of Templates: time 0.03621/1.032, allocations: 21.3 MB / 0.8085 GB, free: 11.88 MB / 0.5573 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)