Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.005519/0.005519, allocations: 100.5 kB / 15.73 MB, free: 6.039 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.001744/0.001744, allocations: 195.5 kB / 16.68 MB, free: 5.957 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7871/0.7871, allocations: 132.2 MB / 422.7 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 66.75 kB / 0.5813 GB, free: 23.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1979/0.1992, allocations: 80.21 MB / 0.6597 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.6056/0.8048, allocations: 189.7 MB / 0.8449 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.007874/0.8127, allocations: 4.275 MB / 0.8491 GB, free: 164 kB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001236/0.814, allocations: 29.38 kB / 0.8491 GB, free: 152 kB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001584/0.8156, allocations: 0.5147 MB / 0.8496 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004215/0.8198, allocations: 1.625 MB / 0.8512 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003731/0.8236, allocations: 1.352 MB / 0.8525 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0031/0.8267, allocations: 2.283 MB / 0.8547 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001638/0.8284, allocations: 1.087 MB / 0.8558 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001899/0.8303, allocations: 0.9578 MB / 0.8567 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001556/0.8318, allocations: 0.8706 MB / 0.8576 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003064/0.8322, allocations: 142.8 kB / 0.8577 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002298/0.8345, allocations: 1.253 MB / 0.859 GB, free: 9.609 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004531/0.8349, allocations: 420 kB / 0.8594 GB, free: 9.289 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0008751/0.8358, allocations: 0.6502 MB / 0.86 GB, free: 8.812 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002195/0.838, allocations: 1.985 MB / 0.8619 GB, free: 6.844 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.838, allocations: 0 / 0.8619 GB, free: 6.844 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.222e-06/0.838, allocations: 0 / 0.8619 GB, free: 6.844 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.69e-05/0.8381, allocations: 0 / 0.8619 GB, free: 6.844 MB / 0.6231 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.004023/0.8421, allocations: 1.728 MB / 0.8636 GB, free: 5.062 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.8421, allocations: 16.03 kB / 0.8636 GB, free: 5.047 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008247/0.843, allocations: 182.4 kB / 0.8638 GB, free: 4.867 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001839/0.8448, allocations: 1.065 MB / 0.8648 GB, free: 3.746 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.481e-05/0.8449, allocations: 48.94 kB / 0.8649 GB, free: 3.699 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.845, allocations: 60 kB / 0.8649 GB, free: 3.641 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001219/0.8462, allocations: 0.6183 MB / 0.8656 GB, free: 3.02 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.8463, allocations: 0 / 0.8656 GB, free: 3.02 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.955e-05/0.8463, allocations: 20 kB / 0.8656 GB, free: 3 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-05/0.8464, allocations: 17 kB / 0.8656 GB, free: 2.984 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001322/0.8477, allocations: 0.6246 MB / 0.8662 GB, free: 2.359 MB / 0.6231 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.004153/0.8519, allocations: 2.654 MB / 0.8688 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001312/0.8532, allocations: 0.5473 MB / 0.8693 GB, free: 15.01 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006988/0.8539, allocations: 344.6 kB / 0.8697 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006021/0.8545, allocations: 291.3 kB / 0.8699 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.371e-05/0.8546, allocations: 42.55 kB / 0.87 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007322/0.8553, allocations: 143.5 kB / 0.8701 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=43): time 3.407e-06/0.8553, allocations: 0 / 0.8701 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of matching and sorting (n=43): time 0.002488/0.8578, allocations: 1.02 MB / 0.8711 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.8579, allocations: 59.34 kB / 0.8712 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002135/0.86, allocations: 1.275 MB / 0.8724 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.493e-05/0.8601, allocations: 37.7 kB / 0.8724 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003901/0.8605, allocations: 437.7 kB / 0.8729 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001473/0.8607, allocations: 145.8 kB / 0.873 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002162/0.8609, allocations: 118 kB / 0.8731 GB, free: 11 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.861, allocations: 322 kB / 0.8734 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005692/0.8616, allocations: 274.2 kB / 0.8737 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007929/0.8624, allocations: 481.1 kB / 0.8741 GB, free: 9.867 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001156/0.8636, allocations: 0.591 MB / 0.8747 GB, free: 9.273 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.8636, allocations: 3.938 kB / 0.8747 GB, free: 9.27 MB / 0.6387 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001499/0.8651, allocations: 0.7415 MB / 0.8754 GB, free: 8.52 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.8651, allocations: 4 kB / 0.8754 GB, free: 8.516 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.8651, allocations: 0 / 0.8754 GB, free: 8.516 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.8651, allocations: 4 kB / 0.8754 GB, free: 8.512 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006686/0.8658, allocations: 119.8 kB / 0.8756 GB, free: 8.395 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.8658, allocations: 4 kB / 0.8756 GB, free: 8.391 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/0.867, allocations: 91.88 kB / 0.8757 GB, free: 8.301 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.188e-05/0.8671, allocations: 27.91 kB / 0.8757 GB, free: 8.273 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008397/0.868, allocations: 467.9 kB / 0.8761 GB, free: 7.812 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008081/0.8688, allocations: 490.1 kB / 0.8766 GB, free: 7.254 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001162/0.87, allocations: 0.5811 MB / 0.8772 GB, free: 6.668 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.784e-06/0.87, allocations: 0 / 0.8772 GB, free: 6.668 MB / 0.6387 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001581/0.8716, allocations: 0.7421 MB / 0.8779 GB, free: 5.918 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.919e-05/0.8716, allocations: 6.188 kB / 0.8779 GB, free: 5.914 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.8716, allocations: 4 kB / 0.8779 GB, free: 5.91 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.39e-06/0.8716, allocations: 0 / 0.8779 GB, free: 5.91 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006165/0.8722, allocations: 123.8 kB / 0.878 GB, free: 5.789 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.8723, allocations: 1.688 kB / 0.878 GB, free: 5.789 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/0.8737, allocations: 128.8 kB / 0.8781 GB, free: 5.668 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.985e-05/0.8737, allocations: 31.97 kB / 0.8782 GB, free: 5.637 MB / 0.6387 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.0002755/0.874, allocations: 208.1 kB / 0.8784 GB, free: 5.426 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002382/0.8742, allocations: 98.78 kB / 0.8785 GB, free: 5.328 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001842/0.8761, allocations: 0.8109 MB / 0.8793 GB, free: 4.508 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/0.8761, allocations: 8 kB / 0.8793 GB, free: 4.5 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.8761, allocations: 0 / 0.8793 GB, free: 4.5 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.291e-06/0.8761, allocations: 0 / 0.8793 GB, free: 4.5 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003225/0.8794, allocations: 1.946 MB / 0.8812 GB, free: 2.473 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.423e-06/0.8794, allocations: 3.938 kB / 0.8812 GB, free: 2.469 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005642/0.88, allocations: 111.8 kB / 0.8813 GB, free: 2.359 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/0.88, allocations: 4 kB / 0.8813 GB, free: 2.355 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.69e-05/0.88, allocations: 20.16 kB / 0.8813 GB, free: 2.336 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.732e-06/0.88, allocations: 8.75 kB / 0.8813 GB, free: 2.328 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.8801, allocations: 7.938 kB / 0.8813 GB, free: 2.32 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002107/0.8822, allocations: 1.233 MB / 0.8825 GB, free: 1.047 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004602/0.8826, allocations: 291.6 kB / 0.8828 GB, free: 0.7422 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001373/0.8828, allocations: 15.94 kB / 0.8828 GB, free: 0.7266 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009569/0.8837, allocations: 67.92 kB / 0.8829 GB, free: 0.6602 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.8839, allocations: 36.75 kB / 0.8829 GB, free: 0.625 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.219e-05/0.8839, allocations: 20 kB / 0.8829 GB, free: 0.6055 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001479/0.8854, allocations: 0.9286 MB / 0.8838 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8854, allocations: 0 / 0.8838 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001177/0.8866, allocations: 403.4 kB / 0.8842 GB, free: 15.27 MB / 0.6544 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.0005067/0.8871, allocations: 224.3 kB / 0.8844 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002024/0.8892, allocations: 0.9426 MB / 0.8854 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.8892, allocations: 4 kB / 0.8854 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006359/0.8898, allocations: 331.6 kB / 0.8857 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001889/0.8917, allocations: 441.9 kB / 0.8861 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003126/0.8949, allocations: 1.664 MB / 0.8877 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007491/0.8956, allocations: 1.045 MB / 0.8887 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0009915/0.8966, allocations: 287.1 kB / 0.889 GB, free: 10.28 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003393/0.897, allocations: 99.38 kB / 0.8891 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of SimCode: time 3.31e-07/0.897, allocations: 0 / 0.8891 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of Templates: time 0.03655/0.9335, allocations: 21.39 MB / 0.91 GB, free: 5.031 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)