Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001611/0.001611, allocations: 111 kB / 16.41 MB, free: 6.48 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.001659/0.001659, allocations: 183 kB / 17.34 MB, free: 5.75 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.413/1.413, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8484/0.8484, allocations: 135.2 MB / 426.4 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 67.03 kB / 0.5863 GB, free: 21.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1567, allocations: 80.93 MB / 0.6654 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.5721/0.7288, allocations: 190.2 MB / 0.8511 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.007681/0.7365, allocations: 4.279 MB / 0.8553 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001182/0.7377, allocations: 29.19 kB / 0.8553 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001405/0.7391, allocations: 0.5277 MB / 0.8558 GB, free: 9.578 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004103/0.7432, allocations: 1.625 MB / 0.8574 GB, free: 8.312 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0035/0.7467, allocations: 1.35 MB / 0.8587 GB, free: 7.332 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003559/0.7502, allocations: 2.269 MB / 0.8609 GB, free: 5.996 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001568/0.7518, allocations: 0.9573 MB / 0.8619 GB, free: 5.312 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001567/0.7534, allocations: 0.9764 MB / 0.8628 GB, free: 4.734 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00109/0.7545, allocations: 0.8794 MB / 0.8637 GB, free: 4.156 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002081/0.7547, allocations: 143.5 kB / 0.8638 GB, free: 4.043 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002475/0.7571, allocations: 1.255 MB / 0.865 GB, free: 2.785 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004592/0.7576, allocations: 438.5 kB / 0.8655 GB, free: 2.355 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007137/0.7583, allocations: 0.6532 MB / 0.8661 GB, free: 1.699 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003182/0.7615, allocations: 2.005 MB / 0.868 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.7615, allocations: 0 / 0.868 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.423e-06/0.7615, allocations: 0 / 0.868 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.646e-05/0.7615, allocations: 4 kB / 0.8681 GB, free: 15.68 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.004197/0.7657, allocations: 1.719 MB / 0.8697 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.7658, allocations: 13.11 kB / 0.8697 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008754/0.7666, allocations: 187.8 kB / 0.8699 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002003/0.7686, allocations: 1.097 MB / 0.871 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.254e-05/0.7687, allocations: 44.94 kB / 0.871 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001445/0.7689, allocations: 56 kB / 0.8711 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00133/0.7702, allocations: 0.631 MB / 0.8717 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.7702, allocations: 0 / 0.8717 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.017e-05/0.7703, allocations: 16 kB / 0.8717 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.808e-05/0.7703, allocations: 21 kB / 0.8717 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001553/0.7718, allocations: 0.6519 MB / 0.8724 GB, free: 11.13 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.004431/0.7763, allocations: 2.677 MB / 0.875 GB, free: 8.316 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.7773, allocations: 495.3 kB / 0.8755 GB, free: 7.824 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006551/0.778, allocations: 344.6 kB / 0.8758 GB, free: 7.484 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004241/0.7784, allocations: 295.3 kB / 0.8761 GB, free: 7.141 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/0.7785, allocations: 30.56 kB / 0.8761 GB, free: 7.102 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008682/0.7793, allocations: 199.5 kB / 0.8763 GB, free: 6.906 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=43): time 2.384e-06/0.7793, allocations: 0 / 0.8763 GB, free: 6.906 MB / 0.6387 GB Notification: Performance of matching and sorting (n=43): time 0.002444/0.7818, allocations: 1.024 MB / 0.8773 GB, free: 5.875 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.7818, allocations: 55.41 kB / 0.8773 GB, free: 5.809 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002033/0.7838, allocations: 1.271 MB / 0.8786 GB, free: 4.52 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.714e-05/0.7839, allocations: 37.7 kB / 0.8786 GB, free: 4.477 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003966/0.7843, allocations: 438 kB / 0.879 GB, free: 4.043 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001617/0.7845, allocations: 158.6 kB / 0.8792 GB, free: 3.887 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002256/0.7847, allocations: 114 kB / 0.8793 GB, free: 3.77 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.7848, allocations: 322 kB / 0.8796 GB, free: 3.449 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005973/0.7854, allocations: 274.2 kB / 0.8799 GB, free: 3.18 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008476/0.7863, allocations: 490 kB / 0.8803 GB, free: 2.625 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001288/0.7876, allocations: 0.5869 MB / 0.8809 GB, free: 2.035 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.7876, allocations: 0 / 0.8809 GB, free: 2.035 MB / 0.6387 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001689/0.7893, allocations: 0.75 MB / 0.8816 GB, free: 1.277 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.7893, allocations: 8 kB / 0.8816 GB, free: 1.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.7893, allocations: 0 / 0.8816 GB, free: 1.27 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.7893, allocations: 4 kB / 0.8817 GB, free: 1.266 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006854/0.79, allocations: 123.8 kB / 0.8818 GB, free: 1.145 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/0.79, allocations: 4 kB / 0.8818 GB, free: 1.141 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/0.7912, allocations: 96.73 kB / 0.8819 GB, free: 1.047 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.544e-05/0.7912, allocations: 27.97 kB / 0.8819 GB, free: 1.02 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008917/0.7921, allocations: 463.9 kB / 0.8823 GB, free: 0.5625 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000838/0.793, allocations: 493.9 kB / 0.8828 GB, free: 0 / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001195/0.7942, allocations: 0.5845 MB / 0.8834 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.407e-06/0.7942, allocations: 2.891 kB / 0.8834 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001765/0.7959, allocations: 0.7427 MB / 0.8841 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.7959, allocations: 6.031 kB / 0.8841 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.815e-06/0.7959, allocations: 0 / 0.8841 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.835e-06/0.796, allocations: 8 kB / 0.8841 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006352/0.7966, allocations: 111.8 kB / 0.8842 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.7966, allocations: 4 kB / 0.8842 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/0.7979, allocations: 132.2 kB / 0.8844 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.245e-05/0.7979, allocations: 19.98 kB / 0.8844 GB, free: 14.39 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 (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.0002426/0.7982, allocations: 212.1 kB / 0.8846 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002041/0.7984, allocations: 107.3 kB / 0.8847 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001814/0.8002, allocations: 0.8083 MB / 0.8855 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.8002, allocations: 9.312 kB / 0.8855 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.8002, allocations: 4 kB / 0.8855 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.8002, allocations: 3.984 kB / 0.8855 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003296/0.8035, allocations: 1.946 MB / 0.8874 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.8035, allocations: 4.031 kB / 0.8874 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005603/0.8041, allocations: 103.9 kB / 0.8875 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.356e-06/0.8041, allocations: 4 kB / 0.8875 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.194e-05/0.8042, allocations: 27.86 kB / 0.8875 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.69e-06/0.8042, allocations: 4 kB / 0.8875 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.66e-06/0.8042, allocations: 5.062 kB / 0.8875 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002242/0.8064, allocations: 1.237 MB / 0.8887 GB, free: 9.789 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004715/0.8069, allocations: 296.2 kB / 0.889 GB, free: 9.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001572/0.807, allocations: 27.98 kB / 0.889 GB, free: 9.453 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000929/0.808, allocations: 63.91 kB / 0.8891 GB, free: 9.391 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.8081, allocations: 31.95 kB / 0.8891 GB, free: 9.359 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.843e-05/0.8081, allocations: 31.92 kB / 0.8892 GB, free: 9.328 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00154/0.8097, allocations: 0.9207 MB / 0.8901 GB, free: 8.398 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8097, allocations: 0 / 0.8901 GB, free: 8.398 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001208/0.8109, allocations: 411.4 kB / 0.8905 GB, free: 7.996 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.0005258/0.8114, allocations: 207.4 kB / 0.8907 GB, free: 7.793 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002181/0.8136, allocations: 0.911 MB / 0.8915 GB, free: 6.883 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.259e-06/0.8136, allocations: 0 / 0.8915 GB, free: 6.883 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006851/0.8143, allocations: 316.2 kB / 0.8918 GB, free: 6.574 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002106/0.8164, allocations: 440.1 kB / 0.8923 GB, free: 6.145 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003079/0.8195, allocations: 1.745 MB / 0.894 GB, free: 4.328 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007551/0.8202, allocations: 1.045 MB / 0.895 GB, free: 3.25 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004388/0.8207, allocations: 95.38 kB / 0.8951 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of SimCode: time 7.41e-07/0.8207, allocations: 4 kB / 0.8951 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of Templates: time 0.02842/0.8491, allocations: 16.54 MB / 0.9112 GB, free: 2.746 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)