Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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 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(Annex60.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(Annex60.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.007908/0.007908, allocations: 105 kB / 15.74 MB, free: 5.992 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.002249/0.00225, allocations: 198.2 kB / 16.68 MB, free: 5.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.461/1.461, allocations: 205.1 MB / 222.5 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4109/0.4109, allocations: 54.94 MB / 324.8 MB, free: 15.97 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002314/0.002314, allocations: 69.7 kB / 456.2 MB, free: 38.34 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1577, allocations: 59.59 MB / 0.5037 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.5841/0.7418, allocations: 189.9 MB / 0.6891 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01445/0.7563, allocations: 7.129 MB / 0.6961 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002887/0.7593, allocations: 34.03 kB / 0.6961 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00243/0.7618, allocations: 0.6613 MB / 0.6968 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00419/0.766, allocations: 1.273 MB / 0.698 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.007054/0.7731, allocations: 2.689 MB / 0.7006 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003488/0.7766, allocations: 2.571 MB / 0.7031 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001505/0.7781, allocations: 1.11 MB / 0.7042 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001902/0.78, allocations: 1.151 MB / 0.7054 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001123/0.7812, allocations: 0.9437 MB / 0.7063 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001838/0.7814, allocations: 145.8 kB / 0.7064 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001987/0.7834, allocations: 1.013 MB / 0.7074 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004754/0.7838, allocations: 498.9 kB / 0.7079 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007606/0.7846, allocations: 0.7379 MB / 0.7086 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002643/0.7873, allocations: 2.181 MB / 0.7107 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.7873, allocations: 3.984 kB / 0.7107 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.264e-06/0.7873, allocations: 2.281 kB / 0.7107 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.794e-05/0.7873, allocations: 0 / 0.7107 GB, free: 11.53 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.004135/0.7915, allocations: 1.783 MB / 0.7125 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.7915, allocations: 10.56 kB / 0.7125 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009213/0.7924, allocations: 199 kB / 0.7127 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001639/0.7941, allocations: 0.9234 MB / 0.7136 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.567e-05/0.7941, allocations: 56.5 kB / 0.7136 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/0.7943, allocations: 71.47 kB / 0.7137 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002962/0.7972, allocations: 1.137 MB / 0.7148 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.7973, allocations: 0 / 0.7148 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.223e-05/0.7974, allocations: 31.97 kB / 0.7148 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/0.7974, allocations: 19.09 kB / 0.7149 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00284/0.8002, allocations: 1.012 MB / 0.7159 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005499/0.8058, allocations: 3.195 MB / 0.719 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003057/0.8088, allocations: 0.8289 MB / 0.7198 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00103/0.8099, allocations: 347.8 kB / 0.7201 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.337e-05/0.81, allocations: 12.47 kB / 0.7201 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.047e-05/0.81, allocations: 42.97 kB / 0.7202 GB, free: 5.086 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008922/0.8109, allocations: 153.9 kB / 0.7203 GB, free: 5.012 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=47): time 3.337e-06/0.8109, allocations: 0 / 0.7203 GB, free: 5.012 MB / 0.5137 GB Notification: Performance of matching and sorting (n=47): time 0.005455/0.8164, allocations: 1.486 MB / 0.7218 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.8165, allocations: 142.2 kB / 0.7219 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001985/0.8185, allocations: 1.199 MB / 0.7231 GB, free: 3.129 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000111/0.8186, allocations: 41.7 kB / 0.7231 GB, free: 3.082 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004543/0.8191, allocations: 496.3 kB / 0.7236 GB, free: 2.598 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000171/0.8193, allocations: 160.5 kB / 0.7237 GB, free: 2.441 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002855/0.8196, allocations: 142.1 kB / 0.7239 GB, free: 2.293 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.8198, allocations: 330 kB / 0.7242 GB, free: 1.965 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001171/0.8209, allocations: 430.9 kB / 0.7246 GB, free: 1.543 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001327/0.8223, allocations: 0.5572 MB / 0.7251 GB, free: 0.9375 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002284/0.8246, allocations: 0.8821 MB / 0.726 GB, free: 36 kB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.8246, allocations: 3.938 kB / 0.726 GB, free: 32 kB / 0.5137 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003042/0.8276, allocations: 1.095 MB / 0.7271 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.8277, allocations: 4 kB / 0.7271 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.257e-05/0.8277, allocations: 11.92 kB / 0.7271 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.607e-05/0.8277, allocations: 4 kB / 0.7271 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/0.8289, allocations: 187.8 kB / 0.7273 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.807e-05/0.8289, allocations: 7.938 kB / 0.7273 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001556/0.8305, allocations: 83.91 kB / 0.7274 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.761e-05/0.8306, allocations: 39.94 kB / 0.7274 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001148/0.8317, allocations: 0.5517 MB / 0.7279 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008035/0.8325, allocations: 467.1 kB / 0.7284 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001358/0.8339, allocations: 0.7276 MB / 0.7291 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.246e-06/0.8339, allocations: 4 kB / 0.7291 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.001936/0.8359, allocations: 0.916 MB / 0.73 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.8359, allocations: 4.156 kB / 0.73 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/0.8359, allocations: 11.98 kB / 0.73 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.899e-06/0.8359, allocations: 4 kB / 0.73 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008095/0.8367, allocations: 151.8 kB / 0.7302 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.8367, allocations: 4 kB / 0.7302 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/0.8379, allocations: 63.94 kB / 0.7302 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.548e-05/0.8379, allocations: 39.91 kB / 0.7303 GB, free: 11.59 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (68): * Single equations (assignments): 66 * 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.0003242/0.8383, allocations: 208.1 kB / 0.7305 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002339/0.8385, allocations: 118.6 kB / 0.7306 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002599/0.8411, allocations: 1.026 MB / 0.7316 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.8411, allocations: 4 kB / 0.7316 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.8412, allocations: 3.938 kB / 0.7316 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.8412, allocations: 7.922 kB / 0.7316 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003877/0.845, allocations: 2.15 MB / 0.7337 GB, free: 7.988 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.8451, allocations: 4 kB / 0.7337 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008947/0.846, allocations: 156 kB / 0.7338 GB, free: 7.832 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.186e-06/0.846, allocations: 4 kB / 0.7338 GB, free: 7.828 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.331e-05/0.8461, allocations: 19.98 kB / 0.7339 GB, free: 7.809 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.8461, allocations: 4 kB / 0.7339 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.8461, allocations: 4 kB / 0.7339 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003429/0.8495, allocations: 1.599 MB / 0.7354 GB, free: 6.16 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005709/0.8501, allocations: 295.5 kB / 0.7357 GB, free: 5.852 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001757/0.8503, allocations: 19.98 kB / 0.7357 GB, free: 5.832 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001258/0.8515, allocations: 83.97 kB / 0.7358 GB, free: 5.75 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.8517, allocations: 52.25 kB / 0.7359 GB, free: 5.699 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.773e-05/0.8518, allocations: 35.91 kB / 0.7359 GB, free: 5.664 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001126/0.8529, allocations: 0.841 MB / 0.7367 GB, free: 4.816 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8529, allocations: 0 / 0.7367 GB, free: 4.816 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001364/0.8543, allocations: 0.5071 MB / 0.7372 GB, free: 4.309 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.filter.x[1],mixBox.filter.x[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 (56): * Single equations (assignments): 56 * 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.0006229/0.8549, allocations: 226.3 kB / 0.7374 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003382/0.8583, allocations: 1.396 MB / 0.7388 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.8583, allocations: 0 / 0.7388 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001168/0.8595, allocations: 454.8 kB / 0.7392 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002677/0.8622, allocations: 0.5154 MB / 0.7397 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007537/0.8697, allocations: 2.655 MB / 0.7423 GB, free: 15.01 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008659/0.8706, allocations: 1.089 MB / 0.7434 GB, free: 13.89 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001354/0.872, allocations: 312.1 kB / 0.7437 GB, free: 13.58 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003924/0.8724, allocations: 103.4 kB / 0.7438 GB, free: 13.48 MB / 0.545 GB Notification: Performance of SimCode: time 9.82e-07/0.8724, allocations: 0 / 0.7438 GB, free: 13.48 MB / 0.545 GB Notification: Performance of Templates: time 0.0435/0.9159, allocations: 24.64 MB / 0.7678 GB, free: 4.965 MB / 0.5606 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)