Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001604/0.001604, allocations: 110.4 kB / 16.42 MB, free: 6.469 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.001844/0.001844, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.517/1.517, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002199/0.002199, allocations: 284.8 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9627/0.9627, allocations: 169.3 MB / 0.499 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 95.84 kB / 0.6821 GB, free: 7.023 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5682/0.5702, allocations: 86.98 MB / 0.767 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.214/0.7842, allocations: 189.7 MB / 0.9523 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01071/0.795, allocations: 4.283 MB / 0.9565 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002198/0.7973, allocations: 27.81 kB / 0.9565 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002403/0.7997, allocations: 0.5162 MB / 0.957 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.546/1.346, allocations: 1.618 MB / 0.9586 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004099/1.35, allocations: 1.355 MB / 0.9599 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004257/1.354, allocations: 2.269 MB / 0.9621 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002059/1.356, allocations: 1.081 MB / 0.9632 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002406/1.359, allocations: 0.9654 MB / 0.9641 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002226/1.361, allocations: 0.8739 MB / 0.965 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0007251/1.362, allocations: 141.8 kB / 0.9651 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003518/1.365, allocations: 1.25 MB / 0.9663 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0008824/1.366, allocations: 423.8 kB / 0.9667 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001442/1.367, allocations: 0.6447 MB / 0.9673 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003406/1.371, allocations: 1.989 MB / 0.9693 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/1.371, allocations: 0.9688 kB / 0.9693 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.813e-06/1.371, allocations: 4.469 kB / 0.9693 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.644e-05/1.371, allocations: 0.875 kB / 0.9693 GB, free: 2.277 MB / 0.7169 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.004541/1.376, allocations: 1.723 MB / 0.971 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/1.376, allocations: 7.75 kB / 0.971 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009627/1.377, allocations: 185 kB / 0.9712 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001896/1.378, allocations: 1.067 MB / 0.9722 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.109e-05/1.378, allocations: 44.64 kB / 0.9722 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/1.379, allocations: 65.59 kB / 0.9723 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/1.38, allocations: 0.6116 MB / 0.9729 GB, free: 17 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/1.38, allocations: 1.062 kB / 0.9729 GB, free: 17 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.129e-05/1.38, allocations: 18.38 kB / 0.9729 GB, free: 17 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.743e-05/1.38, allocations: 21.91 kB / 0.9729 GB, free: 17 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001222/1.381, allocations: 0.6236 MB / 0.9736 GB, free: 17 MB / 0.7325 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.004186/1.385, allocations: 2.66 MB / 0.9762 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/1.386, allocations: 0.5376 MB / 0.9767 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005783/1.387, allocations: 344.7 kB / 0.977 GB, free: 16.17 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004154/1.387, allocations: 295.8 kB / 0.9773 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/1.388, allocations: 41.28 kB / 0.9773 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000607/1.388, allocations: 145.9 kB / 0.9775 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 2.244e-06/1.388, allocations: 0 / 0.9775 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of matching and sorting (n=43): time 0.00217/1.39, allocations: 1.021 MB / 0.9785 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.569e-05/1.39, allocations: 57.56 kB / 0.9785 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001951/1.392, allocations: 1.274 MB / 0.9798 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.999e-05/1.392, allocations: 39.05 kB / 0.9798 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003328/1.393, allocations: 438.1 kB / 0.9802 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001298/1.393, allocations: 147 kB / 0.9804 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002035/1.393, allocations: 114.9 kB / 0.9805 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001506/1.393, allocations: 323.8 kB / 0.9808 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00053/1.394, allocations: 275 kB / 0.981 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006987/1.395, allocations: 483.6 kB / 0.9815 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/1.396, allocations: 0.5838 MB / 0.9821 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/1.396, allocations: 2.156 kB / 0.9821 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001462/1.397, allocations: 0.7474 MB / 0.9828 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/1.397, allocations: 5.594 kB / 0.9828 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/1.397, allocations: 2.188 kB / 0.9828 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/1.397, allocations: 0.9062 kB / 0.9828 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006466/1.398, allocations: 125.2 kB / 0.9829 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/1.398, allocations: 1.969 kB / 0.9829 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/1.399, allocations: 97.64 kB / 0.983 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.838e-05/1.399, allocations: 24.08 kB / 0.983 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008145/1.4, allocations: 466 kB / 0.9835 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006652/1.401, allocations: 485.7 kB / 0.984 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00104/1.402, allocations: 0.5784 MB / 0.9845 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.443e-06/1.402, allocations: 2.688 kB / 0.9845 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0014/1.403, allocations: 0.7365 MB / 0.9852 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/1.403, allocations: 12.75 kB / 0.9853 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/1.403, allocations: 4.812 kB / 0.9853 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.3e-06/1.403, allocations: 6.312 kB / 0.9853 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006129/1.404, allocations: 116.2 kB / 0.9854 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/1.404, allocations: 3.375 kB / 0.9854 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/1.405, allocations: 128.7 kB / 0.9855 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.974e-05/1.405, allocations: 22.62 kB / 0.9855 GB, free: 14.21 MB / 0.7325 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.0002721/1.406, allocations: 201.2 kB / 0.9857 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002016/1.406, allocations: 105.5 kB / 0.9858 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001669/1.407, allocations: 0.8087 MB / 0.9866 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/1.407, allocations: 7 kB / 0.9866 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/1.407, allocations: 2.094 kB / 0.9866 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004993/1.408, allocations: 279.5 kB / 0.9869 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001596/1.408, allocations: 12.56 kB / 0.9869 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009455/1.409, allocations: 60.7 kB / 0.987 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/1.409, allocations: 36.03 kB / 0.987 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00155/1.411, allocations: 0.7659 MB / 0.9877 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001889/1.413, allocations: 1.257 MB / 0.989 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005113/1.413, allocations: 315.3 kB / 0.9893 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001328/1.415, allocations: 0.9246 MB / 0.9902 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of Backend: time 1.423e-06/1.415, allocations: 0 / 0.9902 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002791/1.417, allocations: 1.015 MB / 0.9912 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of SimCode: time 0.003485/1.421, allocations: 2.18 MB / 0.9933 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of Templates: time 0.04083/1.462, allocations: 25.06 MB / 1.018 GB, free: 5.551 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)