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: "" <> buildModelFMU(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="IDEAS_dev_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.001224/0.001224, allocations: 99.23 kB / 15.05 MB, free: 1.105 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.001399/0.0014, allocations: 177.3 kB / 15.94 MB, free: 228 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.486/1.486, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.002/1.002, allocations: 135.2 MB / 426.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003393/0.0003394, allocations: 8.625 kB / 0.5069 GB, free: 5.156 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1727, allocations: 82.31 MB / 0.5873 GB, free: 3.016 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.5502/0.7229, allocations: 157.6 MB / 0.7412 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008832/0.7317, allocations: 4.142 MB / 0.7452 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001648/0.7334, allocations: 20 kB / 0.7453 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001713/0.7352, allocations: 473.1 kB / 0.7457 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005567/0.7408, allocations: 1.472 MB / 0.7471 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003052/0.7438, allocations: 0.9104 MB / 0.748 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003063/0.7469, allocations: 1.291 MB / 0.7493 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00194/0.7489, allocations: 0.8663 MB / 0.7501 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002707/0.7516, allocations: 0.845 MB / 0.751 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001256/0.7529, allocations: 0.6383 MB / 0.7516 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001835/0.7531, allocations: 56 kB / 0.7516 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002071/0.7551, allocations: 0.6669 MB / 0.7523 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004224/0.7556, allocations: 315 kB / 0.7526 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003639/0.7559, allocations: 221.1 kB / 0.7528 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001852/0.7578, allocations: 1.406 MB / 0.7542 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.7578, allocations: 0 / 0.7542 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.074e-06/0.7578, allocations: 4 kB / 0.7542 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.386e-05/0.7579, allocations: 0 / 0.7542 GB, free: 1.57 MB / 0.5606 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.004054/0.7619, allocations: 1.493 MB / 0.7556 GB, free: 28 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.762, allocations: 12.03 kB / 0.7557 GB, free: 16 kB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000154/0.7621, allocations: 90.52 kB / 0.7557 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008934/0.763, allocations: 178.5 kB / 0.7559 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001997/0.7651, allocations: 1.011 MB / 0.7569 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001438/0.7652, allocations: 50.42 kB / 0.7569 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.7653, allocations: 59.94 kB / 0.757 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/0.7667, allocations: 0.6193 MB / 0.7576 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.7667, allocations: 0 / 0.7576 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.86e-05/0.7668, allocations: 20 kB / 0.7576 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.723e-05/0.7668, allocations: 17 kB / 0.7576 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001496/0.7683, allocations: 0.648 MB / 0.7583 GB, free: 13.26 MB / 0.5762 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.005616/0.7739, allocations: 2.665 MB / 0.7609 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001281/0.7752, allocations: 0.5742 MB / 0.7614 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000105/0.7754, allocations: 19.97 kB / 0.7615 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.319e-05/0.7754, allocations: 39.28 kB / 0.7615 GB, free: 9.805 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009036/0.7763, allocations: 163.5 kB / 0.7617 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 3.427e-06/0.7763, allocations: 0 / 0.7617 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.002484/0.7788, allocations: 1.055 MB / 0.7627 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.633e-05/0.7789, allocations: 55.41 kB / 0.7627 GB, free: 8.516 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002211/0.7811, allocations: 1.259 MB / 0.764 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.903e-05/0.7812, allocations: 37.7 kB / 0.764 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004458/0.7817, allocations: 441.7 kB / 0.7644 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001673/0.7819, allocations: 153.7 kB / 0.7646 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.411e-05/0.7819, allocations: 12 kB / 0.7646 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.7821, allocations: 318 kB / 0.7649 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005685/0.7826, allocations: 272.6 kB / 0.7651 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008063/0.7835, allocations: 484.2 kB / 0.7656 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006767/0.7841, allocations: 323.7 kB / 0.7659 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.7842, allocations: 0 / 0.7659 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001749/0.7859, allocations: 0.7535 MB / 0.7667 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.444e-05/0.786, allocations: 101.4 kB / 0.7667 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.786, allocations: 0.7031 kB / 0.7667 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.786, allocations: 3.984 kB / 0.7668 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006693/0.7867, allocations: 123.8 kB / 0.7669 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.76e-05/0.7867, allocations: 11.44 kB / 0.7669 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001375/0.7881, allocations: 119.8 kB / 0.767 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-05/0.7882, allocations: 23.97 kB / 0.767 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.7882, allocations: 4 kB / 0.767 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00133/0.7896, allocations: 0.632 MB / 0.7676 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.7896, allocations: 0 / 0.7676 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.929e-06/0.7896, allocations: 3.938 kB / 0.7676 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006221/0.7902, allocations: 123.8 kB / 0.7678 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.7902, allocations: 4.547 kB / 0.7678 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/0.7916, allocations: 134.4 kB / 0.7679 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.114e-05/0.7917, allocations: 23.98 kB / 0.7679 GB, free: 3.098 MB / 0.5762 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.0006134/0.7923, allocations: 331.1 kB / 0.7682 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002053/0.7925, allocations: 102.7 kB / 0.7683 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001789/0.7943, allocations: 0.8304 MB / 0.7691 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.916e-06/0.7943, allocations: 8 kB / 0.7692 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.7943, allocations: 4 kB / 0.7692 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.7943, allocations: 7.938 kB / 0.7692 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003768/0.7981, allocations: 1.97 MB / 0.7711 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.7982, allocations: 0 / 0.7711 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006058/0.7988, allocations: 124.1 kB / 0.7712 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-05/0.7988, allocations: 4 kB / 0.7712 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.548e-05/0.7989, allocations: 16 kB / 0.7712 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/0.7989, allocations: 4 kB / 0.7712 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.7989, allocations: 0 / 0.7712 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00246/0.8014, allocations: 1.379 MB / 0.7726 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006325/0.802, allocations: 291.7 kB / 0.7729 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001543/0.8022, allocations: 16 kB / 0.7729 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001057/0.8032, allocations: 83.81 kB / 0.7729 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/0.8034, allocations: 51.83 kB / 0.773 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.243e-05/0.8034, allocations: 16.88 kB / 0.773 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001674/0.8051, allocations: 0.9168 MB / 0.7739 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2e-07/0.8051, allocations: 0 / 0.7739 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001393/0.8065, allocations: 407.4 kB / 0.7743 GB, free: 12.34 MB / 0.5919 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.003401/0.81, allocations: 2.64 MB / 0.7769 GB, free: 9.625 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002101/0.8121, allocations: 0.9718 MB / 0.7778 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.8121, allocations: 4 kB / 0.7778 GB, free: 8.652 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006464/0.8127, allocations: 348.1 kB / 0.7782 GB, free: 8.312 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002472/0.8152, allocations: 450 kB / 0.7786 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01295/0.8282, allocations: 6.682 MB / 0.7851 GB, free: 0.9609 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000688/0.8289, allocations: 1.065 MB / 0.7862 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001338/0.8303, allocations: 283.1 kB / 0.7864 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000605/0.8309, allocations: 387.3 kB / 0.7868 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of SimCode: time 9.32e-07/0.8309, allocations: 0 / 0.7868 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06293/0.8938, allocations: 28.95 MB / 0.8151 GB, free: 2.691 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001644/0.894, allocations: 223.2 kB / 0.8153 GB, free: 2.445 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.508/4.402, allocations: 0 / 0.8153 GB, free: 2.445 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Actuators_Dampers_Examples_MixingBox_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Actuators_Dampers_Examples_MixingBox.fmu > IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1) Environment - environmentSimulation: