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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 111 kB / 17.33 MB, free: 5.043 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.001261/0.001261, allocations: 201.9 kB / 18.33 MB, free: 4.055 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.417/1.417, allocations: 225.6 MB / 244.8 MB, free: 13.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8846/0.8846, allocations: 128.4 MB / 426.1 MB, free: 7.199 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 70.36 kB / 0.5912 GB, free: 21.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.2049, allocations: 83.26 MB / 0.6725 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.7035/0.9084, allocations: 190.2 MB / 0.8582 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009223/0.9176, allocations: 4.213 MB / 0.8624 GB, free: 7.688 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001759/0.9194, allocations: 29.12 kB / 0.8624 GB, free: 7.676 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001732/0.9211, allocations: 0.5017 MB / 0.8629 GB, free: 7.258 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004897/0.926, allocations: 1.613 MB / 0.8645 GB, free: 6 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004069/0.9301, allocations: 1.35 MB / 0.8658 GB, free: 5.02 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003746/0.9338, allocations: 2.215 MB / 0.8679 GB, free: 3.711 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001538/0.9354, allocations: 0.9436 MB / 0.8689 GB, free: 2.914 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002686/0.938, allocations: 1.176 MB / 0.87 GB, free: 1.734 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001469/0.9395, allocations: 0.8795 MB / 0.8709 GB, free: 0.8516 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002284/0.9397, allocations: 140 kB / 0.871 GB, free: 0.7148 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003182/0.9429, allocations: 1.278 MB / 0.8722 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005744/0.9435, allocations: 418.6 kB / 0.8726 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009129/0.9444, allocations: 0.6299 MB / 0.8733 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00332/0.9477, allocations: 1.942 MB / 0.8752 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.9477, allocations: 7.938 kB / 0.8752 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.023e-06/0.9477, allocations: 0 / 0.8752 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.039e-05/0.9478, allocations: 0 / 0.8752 GB, free: 12.43 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.004319/0.9521, allocations: 1.684 MB / 0.8768 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.655e-05/0.9521, allocations: 12.03 kB / 0.8768 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000942/0.9531, allocations: 183.2 kB / 0.877 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001992/0.9551, allocations: 1.065 MB / 0.878 GB, free: 9.383 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.238e-05/0.9551, allocations: 44.94 kB / 0.8781 GB, free: 9.336 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/0.9552, allocations: 56 kB / 0.8781 GB, free: 9.281 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/0.9566, allocations: 0.6232 MB / 0.8787 GB, free: 8.648 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.9566, allocations: 4 kB / 0.8787 GB, free: 8.645 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.269e-05/0.9567, allocations: 19.98 kB / 0.8788 GB, free: 8.625 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.765e-05/0.9567, allocations: 12 kB / 0.8788 GB, free: 8.613 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001369/0.958, allocations: 0.6363 MB / 0.8794 GB, free: 7.98 MB / 0.6387 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.004541/0.9626, allocations: 2.607 MB / 0.8819 GB, free: 5.227 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/0.9637, allocations: 0.5023 MB / 0.8824 GB, free: 4.715 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006848/0.9644, allocations: 345.5 kB / 0.8828 GB, free: 4.375 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004514/0.9648, allocations: 295.3 kB / 0.883 GB, free: 4.031 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.21e-05/0.9649, allocations: 38.56 kB / 0.8831 GB, free: 3.984 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009427/0.9658, allocations: 187.6 kB / 0.8833 GB, free: 3.801 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=41): time 3.105e-06/0.9658, allocations: 0 / 0.8833 GB, free: 3.801 MB / 0.6387 GB Notification: Performance of matching and sorting (n=41): time 0.002507/0.9683, allocations: 1.027 MB / 0.8843 GB, free: 2.766 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.9684, allocations: 59.19 kB / 0.8843 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002039/0.9704, allocations: 1.233 MB / 0.8855 GB, free: 1.441 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.076e-05/0.9705, allocations: 37.7 kB / 0.8856 GB, free: 1.398 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004676/0.971, allocations: 429.8 kB / 0.886 GB, free: 0.9727 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001718/0.9711, allocations: 142.8 kB / 0.8861 GB, free: 0.832 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002555/0.9714, allocations: 113.6 kB / 0.8862 GB, free: 0.7148 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001783/0.9716, allocations: 322 kB / 0.8865 GB, free: 404 kB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006208/0.9722, allocations: 268.7 kB / 0.8868 GB, free: 132 kB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009491/0.9731, allocations: 482.5 kB / 0.8872 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001285/0.9744, allocations: 0.5711 MB / 0.8878 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.9744, allocations: 4 kB / 0.8878 GB, free: 15 MB / 0.6544 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001964/0.9764, allocations: 0.7343 MB / 0.8885 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.9764, allocations: 4 kB / 0.8885 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.9764, allocations: 4 kB / 0.8885 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/0.9764, allocations: 4 kB / 0.8885 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006371/0.9771, allocations: 115.8 kB / 0.8886 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.9771, allocations: 4 kB / 0.8886 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/0.9785, allocations: 104.8 kB / 0.8887 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-05/0.9786, allocations: 24.78 kB / 0.8888 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001059/0.9796, allocations: 455.9 kB / 0.8892 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008541/0.9805, allocations: 477.9 kB / 0.8897 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001254/0.9818, allocations: 0.5798 MB / 0.8902 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.062e-06/0.9818, allocations: 0 / 0.8902 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001596/0.9833, allocations: 0.7193 MB / 0.8909 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.9834, allocations: 4 kB / 0.8909 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-06/0.9834, allocations: 2.031 kB / 0.8909 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.897e-06/0.9834, allocations: 4 kB / 0.8909 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005743/0.9839, allocations: 111.8 kB / 0.891 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.78e-06/0.9839, allocations: 7.938 kB / 0.891 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/0.9853, allocations: 125.4 kB / 0.8912 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.316e-05/0.9853, allocations: 23.97 kB / 0.8912 GB, free: 11.43 MB / 0.6544 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 (42): * Single equations (assignments): 42 * 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.9856, allocations: 212.1 kB / 0.8914 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002014/0.9858, allocations: 103.3 kB / 0.8915 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001874/0.9877, allocations: 0.7963 MB / 0.8923 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.9877, allocations: 4 kB / 0.8923 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.9877, allocations: 11.91 kB / 0.8923 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.9877, allocations: 0 / 0.8923 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003351/0.991, allocations: 1.917 MB / 0.8942 GB, free: 8.297 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/0.991, allocations: 4 kB / 0.8942 GB, free: 8.293 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005708/0.9916, allocations: 112.8 kB / 0.8943 GB, free: 8.184 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.468e-06/0.9916, allocations: 4 kB / 0.8943 GB, free: 8.18 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.962e-05/0.9917, allocations: 8 kB / 0.8943 GB, free: 8.172 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.068e-05/0.9917, allocations: 11.92 kB / 0.8943 GB, free: 8.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.9917, allocations: 7.938 kB / 0.8943 GB, free: 8.152 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002295/0.994, allocations: 1.232 MB / 0.8955 GB, free: 6.875 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004818/0.9945, allocations: 292.2 kB / 0.8958 GB, free: 6.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001454/0.9946, allocations: 8 kB / 0.8958 GB, free: 6.562 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009752/0.9956, allocations: 75.91 kB / 0.8959 GB, free: 6.488 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.9957, allocations: 31.95 kB / 0.8959 GB, free: 6.457 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.454e-05/0.9957, allocations: 27.92 kB / 0.8959 GB, free: 6.43 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001444/0.9972, allocations: 0.8961 MB / 0.8968 GB, free: 5.523 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8e-08/0.9972, allocations: 0 / 0.8968 GB, free: 5.523 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001144/0.9983, allocations: 395.4 kB / 0.8972 GB, free: 5.137 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (mixBox.actPos.y) * 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 (50): * Single equations (assignments): 50 * 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.0005233/0.9988, allocations: 216.4 kB / 0.8974 GB, free: 4.926 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002097/1.001, allocations: 0.9004 MB / 0.8983 GB, free: 4.023 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/1.001, allocations: 0 / 0.8983 GB, free: 4.023 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006666/1.002, allocations: 323.9 kB / 0.8986 GB, free: 3.707 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001866/1.003, allocations: 433.9 kB / 0.899 GB, free: 3.285 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00269/1.006, allocations: 1.613 MB / 0.9006 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007/1.007, allocations: 1.029 MB / 0.9016 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0009278/1.008, allocations: 282.8 kB / 0.9018 GB, free: 280 kB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003117/1.008, allocations: 95.39 kB / 0.9019 GB, free: 184 kB / 0.6544 GB Notification: Performance of SimCode: time 4.61e-07/1.008, allocations: 0 / 0.9019 GB, free: 184 kB / 0.6544 GB Notification: Performance of Templates: time 0.04045/1.049, allocations: 21.55 MB / 0.923 GB, free: 10.85 MB / 0.6856 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.makefile [Timeout 660] (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) [Timeout 480]