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.00113/0.001136, allocations: 110.5 kB / 16.41 MB, free: 6.488 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.001056/0.001056, allocations: 185.5 kB / 17.34 MB, free: 5.746 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.366/1.366, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7905/0.7905, allocations: 132.2 MB / 423.4 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 61.58 kB / 0.582 GB, free: 23.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1948/0.1962, allocations: 80.21 MB / 0.6603 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.8008/0.997, allocations: 189.7 MB / 0.8456 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01038/1.007, allocations: 4.274 MB / 0.8497 GB, free: 148 kB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002352/1.01, allocations: 33.16 kB / 0.8498 GB, free: 132 kB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002192/1.012, allocations: 0.4975 MB / 0.8503 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006417/1.019, allocations: 1.563 MB / 0.8518 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004904/1.024, allocations: 1.349 MB / 0.8531 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004647/1.028, allocations: 2.266 MB / 0.8553 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001987/1.03, allocations: 1.083 MB / 0.8564 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002487/1.033, allocations: 0.9628 MB / 0.8573 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001749/1.034, allocations: 0.8704 MB / 0.8582 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003228/1.035, allocations: 138.5 kB / 0.8583 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003038/1.038, allocations: 1.239 MB / 0.8595 GB, free: 9.66 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000565/1.038, allocations: 427.9 kB / 0.8599 GB, free: 9.332 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0008869/1.039, allocations: 0.6542 MB / 0.8605 GB, free: 8.852 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003374/1.043, allocations: 1.987 MB / 0.8625 GB, free: 6.898 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/1.043, allocations: 0 / 0.8625 GB, free: 6.898 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.814e-06/1.043, allocations: 0 / 0.8625 GB, free: 6.898 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.144e-05/1.043, allocations: 0 / 0.8625 GB, free: 6.898 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.004761/1.048, allocations: 1.72 MB / 0.8642 GB, free: 5.125 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/1.048, allocations: 8.031 kB / 0.8642 GB, free: 5.117 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009732/1.049, allocations: 186.4 kB / 0.8644 GB, free: 4.934 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002169/1.051, allocations: 1.069 MB / 0.8654 GB, free: 3.809 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.089e-05/1.051, allocations: 44.94 kB / 0.8654 GB, free: 3.766 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001284/1.051, allocations: 60 kB / 0.8655 GB, free: 3.707 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/1.052, allocations: 0.6115 MB / 0.8661 GB, free: 3.09 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/1.052, allocations: 3.375 kB / 0.8661 GB, free: 3.09 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.212e-05/1.052, allocations: 27.92 kB / 0.8661 GB, free: 3.062 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.881e-05/1.052, allocations: 21 kB / 0.8661 GB, free: 3.043 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001306/1.054, allocations: 0.6207 MB / 0.8667 GB, free: 2.422 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.004916/1.059, allocations: 2.658 MB / 0.8693 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001193/1.06, allocations: 0.5421 MB / 0.8699 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006459/1.06, allocations: 349.8 kB / 0.8702 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004654/1.061, allocations: 287.3 kB / 0.8705 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/1.061, allocations: 34.56 kB / 0.8705 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008519/1.062, allocations: 147.4 kB / 0.8707 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=43): time 3.587e-06/1.062, allocations: 4 kB / 0.8707 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of matching and sorting (n=43): time 0.002472/1.064, allocations: 1.02 MB / 0.8717 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/1.064, allocations: 55.41 kB / 0.8717 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002131/1.067, allocations: 1.279 MB / 0.873 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.365e-05/1.067, allocations: 37.7 kB / 0.873 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004177/1.067, allocations: 437.7 kB / 0.8734 GB, free: 11.33 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001578/1.067, allocations: 149.8 kB / 0.8736 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002255/1.067, allocations: 118 kB / 0.8737 GB, free: 11.06 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001694/1.068, allocations: 318 kB / 0.874 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005962/1.068, allocations: 270.2 kB / 0.8742 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007907/1.069, allocations: 485.1 kB / 0.8747 GB, free: 9.93 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001196/1.07, allocations: 0.591 MB / 0.8753 GB, free: 9.336 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/1.07, allocations: 3.938 kB / 0.8753 GB, free: 9.332 MB / 0.6387 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001671/1.072, allocations: 0.7376 MB / 0.876 GB, free: 8.586 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/1.072, allocations: 8 kB / 0.876 GB, free: 8.578 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/1.072, allocations: 7.938 kB / 0.876 GB, free: 8.57 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.301e-05/1.072, allocations: 0 / 0.876 GB, free: 8.57 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007061/1.073, allocations: 123.8 kB / 0.8761 GB, free: 8.449 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/1.073, allocations: 0 / 0.8761 GB, free: 8.449 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/1.074, allocations: 93.67 kB / 0.8762 GB, free: 8.359 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-05/1.074, allocations: 23.98 kB / 0.8762 GB, free: 8.336 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009645/1.075, allocations: 463.9 kB / 0.8767 GB, free: 7.879 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008246/1.076, allocations: 494.1 kB / 0.8771 GB, free: 7.316 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001145/1.077, allocations: 0.5851 MB / 0.8777 GB, free: 6.727 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.205e-06/1.077, allocations: 0 / 0.8777 GB, free: 6.727 MB / 0.6387 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001747/1.079, allocations: 0.7376 MB / 0.8784 GB, free: 5.984 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/1.079, allocations: 8 kB / 0.8784 GB, free: 5.977 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/1.079, allocations: 0 / 0.8784 GB, free: 5.977 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.745e-06/1.079, allocations: 4 kB / 0.8785 GB, free: 5.973 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006464/1.08, allocations: 119.8 kB / 0.8786 GB, free: 5.855 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/1.08, allocations: 7.938 kB / 0.8786 GB, free: 5.848 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00154/1.081, allocations: 128.4 kB / 0.8787 GB, free: 5.727 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.236e-05/1.081, allocations: 19.98 kB / 0.8787 GB, free: 5.707 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.0002615/1.082, allocations: 216.1 kB / 0.8789 GB, free: 5.488 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002464/1.082, allocations: 106.8 kB / 0.879 GB, free: 5.383 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001884/1.084, allocations: 0.8051 MB / 0.8798 GB, free: 4.57 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.238e-06/1.084, allocations: 4 kB / 0.8798 GB, free: 4.566 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/1.084, allocations: 0 / 0.8798 GB, free: 4.566 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.228e-06/1.084, allocations: 3.984 kB / 0.8798 GB, free: 4.562 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003495/1.087, allocations: 1.954 MB / 0.8817 GB, free: 2.527 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/1.087, allocations: 4.75 kB / 0.8817 GB, free: 2.523 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005872/1.088, allocations: 107.8 kB / 0.8818 GB, free: 2.418 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.047e-06/1.088, allocations: 4 kB / 0.8818 GB, free: 2.414 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.798e-05/1.088, allocations: 23.92 kB / 0.8819 GB, free: 2.391 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.224e-06/1.088, allocations: 4 kB / 0.8819 GB, free: 2.387 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/1.088, allocations: 0.875 kB / 0.8819 GB, free: 2.387 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002273/1.09, allocations: 1.237 MB / 0.8831 GB, free: 1.109 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005911/1.091, allocations: 295.7 kB / 0.8834 GB, free: 0.8008 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001414/1.091, allocations: 19.92 kB / 0.8834 GB, free: 0.7812 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009838/1.092, allocations: 55.92 kB / 0.8834 GB, free: 0.7266 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/1.092, allocations: 47.89 kB / 0.8835 GB, free: 0.6797 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.345e-05/1.092, allocations: 19.98 kB / 0.8835 GB, free: 0.6602 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001523/1.094, allocations: 0.9209 MB / 0.8844 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.71e-07/1.094, allocations: 0 / 0.8844 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001226/1.095, allocations: 411.4 kB / 0.8848 GB, free: 15.32 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.0005095/1.096, allocations: 210.1 kB / 0.885 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00196/1.097, allocations: 0.9435 MB / 0.8859 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/1.098, allocations: 7.922 kB / 0.8859 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006075/1.098, allocations: 335.9 kB / 0.8862 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001943/1.1, allocations: 428.1 kB / 0.8866 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002811/1.103, allocations: 1.719 MB / 0.8883 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006487/1.104, allocations: 1.041 MB / 0.8893 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000457/1.104, allocations: 99.38 kB / 0.8894 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of SimCode: time 9.72e-07/1.104, allocations: 0 / 0.8894 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of Templates: time 0.02633/1.13, allocations: 16.34 MB / 0.9054 GB, free: 10.29 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)