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: "" <> buildModelFMU(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008262/0.0008261, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008473/0.0008474, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 223.2 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8098/0.8098, allocations: 132.3 MB / 423.4 MB, free: 2.059 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003432/0.0003434, allocations: 8 kB / 0.5035 GB, free: 4.125 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4748/0.4752, allocations: 81.57 MB / 0.5832 GB, free: 3.984 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.1961/0.6713, allocations: 172.6 MB / 0.7517 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007396/0.6788, allocations: 4.071 MB / 0.7556 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001448/0.6803, allocations: 23.81 kB / 0.7557 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001359/0.6816, allocations: 325.7 kB / 0.756 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003853/0.6855, allocations: 1.147 MB / 0.7571 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003455/0.689, allocations: 1.018 MB / 0.7581 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003384/0.6924, allocations: 2.388 MB / 0.7604 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001744/0.6941, allocations: 0.8559 MB / 0.7613 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002033/0.6962, allocations: 0.8133 MB / 0.762 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001552/0.6978, allocations: 0.7821 MB / 0.7628 GB, free: 8.074 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003719/0.6981, allocations: 56 kB / 0.7629 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00216/0.7003, allocations: 0.8029 MB / 0.7636 GB, free: 7.215 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005603/0.7009, allocations: 326.8 kB / 0.764 GB, free: 6.895 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004683/0.7014, allocations: 225.1 kB / 0.7642 GB, free: 6.668 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001957/0.7033, allocations: 1.461 MB / 0.7656 GB, free: 5.203 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.7033, allocations: 0 / 0.7656 GB, free: 5.203 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.144e-06/0.7034, allocations: 0 / 0.7656 GB, free: 5.203 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.194e-05/0.7034, allocations: 0 / 0.7656 GB, free: 5.203 MB / 0.5919 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.004345/0.7078, allocations: 1.503 MB / 0.7671 GB, free: 3.648 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.7078, allocations: 12.03 kB / 0.7671 GB, free: 3.637 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002215/0.7081, allocations: 90.52 kB / 0.7672 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001002/0.7091, allocations: 182.5 kB / 0.7673 GB, free: 3.359 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002017/0.7111, allocations: 0.9992 MB / 0.7683 GB, free: 2.305 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001387/0.7113, allocations: 52.98 kB / 0.7684 GB, free: 2.254 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/0.7114, allocations: 60 kB / 0.7684 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001224/0.7126, allocations: 0.6231 MB / 0.769 GB, free: 1.57 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.7127, allocations: 0 / 0.769 GB, free: 1.57 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.223e-05/0.7127, allocations: 27.94 kB / 0.7691 GB, free: 1.543 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.146e-05/0.7128, allocations: 20.98 kB / 0.7691 GB, free: 1.523 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001276/0.7141, allocations: 0.6441 MB / 0.7697 GB, free: 0.8789 MB / 0.5919 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.004245/0.7183, allocations: 2.666 MB / 0.7723 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.7194, allocations: 0.5529 MB / 0.7729 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006105/0.72, allocations: 364.8 kB / 0.7732 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004026/0.7204, allocations: 295.2 kB / 0.7735 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.7205, allocations: 42.52 kB / 0.7735 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007481/0.7212, allocations: 159.5 kB / 0.7737 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 4.508e-06/0.7212, allocations: 0 / 0.7737 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43): time 0.002312/0.7236, allocations: 1.051 MB / 0.7747 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.7236, allocations: 59.41 kB / 0.7748 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002046/0.7257, allocations: 1.263 MB / 0.776 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.288e-05/0.7258, allocations: 37.7 kB / 0.776 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003747/0.7261, allocations: 445.7 kB / 0.7765 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/0.7263, allocations: 145.8 kB / 0.7766 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.7263, allocations: 8 kB / 0.7766 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.7265, allocations: 322 kB / 0.7769 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005326/0.727, allocations: 272.6 kB / 0.7772 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007269/0.7277, allocations: 488.6 kB / 0.7776 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005934/0.7283, allocations: 325 kB / 0.7779 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.7284, allocations: 0 / 0.7779 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00144/0.7298, allocations: 0.7571 MB / 0.7787 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.763e-05/0.7299, allocations: 93.34 kB / 0.7788 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.7299, allocations: 0 / 0.7788 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.7299, allocations: 4 kB / 0.7788 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006376/0.7306, allocations: 135.8 kB / 0.7789 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.7306, allocations: 0 / 0.7789 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001184/0.7318, allocations: 123.8 kB / 0.779 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.794e-05/0.7319, allocations: 23.97 kB / 0.779 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.446e-06/0.7319, allocations: 4 kB / 0.779 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001227/0.7331, allocations: 0.6281 MB / 0.7797 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.905e-06/0.7331, allocations: 0 / 0.7797 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.043e-06/0.7331, allocations: 7.953 kB / 0.7797 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005943/0.7337, allocations: 135.8 kB / 0.7798 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.7337, allocations: 0 / 0.7798 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/0.7349, allocations: 122.2 kB / 0.7799 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.458e-05/0.735, allocations: 23.97 kB / 0.7799 GB, free: 6.051 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004725/0.7355, allocations: 325 kB / 0.7802 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000222/0.7357, allocations: 106.7 kB / 0.7803 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001766/0.7375, allocations: 0.8342 MB / 0.7812 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.7375, allocations: 11.94 kB / 0.7812 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.7375, allocations: 0 / 0.7812 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.7375, allocations: 0 / 0.7812 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003213/0.7407, allocations: 1.974 MB / 0.7831 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.7408, allocations: 4 kB / 0.7831 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005488/0.7413, allocations: 115.8 kB / 0.7832 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.776e-06/0.7413, allocations: 4 kB / 0.7832 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.248e-05/0.7414, allocations: 20.27 kB / 0.7832 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.416e-06/0.7414, allocations: 4 kB / 0.7832 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.7414, allocations: 4 kB / 0.7832 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002097/0.7435, allocations: 1.268 MB / 0.7845 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004636/0.744, allocations: 291.6 kB / 0.7848 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001876/0.7442, allocations: 19.98 kB / 0.7848 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009554/0.7451, allocations: 79.88 kB / 0.7849 GB, free: 0.8438 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.7453, allocations: 47.84 kB / 0.7849 GB, free: 0.7969 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.1e-05/0.7453, allocations: 19.98 kB / 0.7849 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001424/0.7467, allocations: 0.9091 MB / 0.7858 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7468, allocations: 0 / 0.7858 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001201/0.748, allocations: 407.4 kB / 0.7862 GB, free: 15.46 MB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00272/0.7507, allocations: 1.919 MB / 0.7881 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001955/0.7527, allocations: 0.9745 MB / 0.789 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.7527, allocations: 0 / 0.789 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006267/0.7533, allocations: 352.1 kB / 0.7894 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002201/0.7555, allocations: 456.6 kB / 0.7898 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01326/0.7688, allocations: 6.757 MB / 0.7964 GB, free: 4.727 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006468/0.7695, allocations: 1.049 MB / 0.7974 GB, free: 3.648 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001279/0.7708, allocations: 295 kB / 0.7977 GB, free: 3.355 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006702/0.7715, allocations: 387.3 kB / 0.7981 GB, free: 2.977 MB / 0.6231 GB Notification: Performance of SimCode: time 5.41e-07/0.7715, allocations: 0 / 0.7981 GB, free: 2.977 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3644/1.136, allocations: 28.94 MB / 0.8263 GB, free: 216.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001501/1.136, allocations: 215.5 kB / 0.8265 GB, free: 216.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.503/3.64, allocations: 0 / 0.8265 GB, free: 216.5 MB / 0.6387 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Actuators_Dampers_Examples_MixingBox_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Actuators_Dampers_Examples_MixingBox.fmu > IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1) Environment - environmentSimulation: