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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001271/0.00127, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7688/0.7688, allocations: 133.6 MB / 141.6 MB, free: 2.906 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 221.5 MB / 395.5 MB, free: 10.75 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008879/0.0008879, allocations: 90.53 kB / 478.2 MB, free: 1.293 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.245e-05/2.253e-05, allocations: 4 kB / 0.5536 GB, free: 8.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4785/0.4785, allocations: 82.29 MB / 0.6339 GB, free: 40.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.806/5.285, allocations: 1.878 GB / 2.512 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002795/5.285, allocations: 91.2 kB / 2.512 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.06/7.345, allocations: 0.6043 GB / 3.116 GB, free: 43.38 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.773e-06/7.345, allocations: 0 / 3.116 GB, free: 43.38 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001307/7.345, allocations: 27.98 kB / 3.116 GB, free: 43.35 MB / 0.6823 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.003208/7.348, allocations: 1.281 MB / 3.117 GB, free: 42.02 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/7.349, allocations: 8.031 kB / 3.117 GB, free: 42.01 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002552/7.351, allocations: 242.3 kB / 3.118 GB, free: 41.77 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00231/7.353, allocations: 0.9928 MB / 3.119 GB, free: 40.72 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.863e-05/7.353, allocations: 16 kB / 3.119 GB, free: 40.71 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001586/7.354, allocations: 36 kB / 3.119 GB, free: 40.67 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000836/7.354, allocations: 0.5375 MB / 3.119 GB, free: 40.14 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00083/7.355, allocations: 0.5153 MB / 3.12 GB, free: 39.61 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/7.355, allocations: 0 / 3.12 GB, free: 39.61 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.071e-05/7.355, allocations: 3.938 kB / 3.12 GB, free: 39.61 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.03e-05/7.355, allocations: 21.31 kB / 3.12 GB, free: 39.59 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.004491/7.36, allocations: 2.605 MB / 3.122 GB, free: 36.86 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007692/7.361, allocations: 0.5141 MB / 3.123 GB, free: 36.33 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003488/7.361, allocations: 313.8 kB / 3.123 GB, free: 36.02 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003777/7.361, allocations: 291.3 kB / 3.123 GB, free: 35.68 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/7.362, allocations: 35.28 kB / 3.123 GB, free: 35.64 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001003/7.363, allocations: 203.6 kB / 3.124 GB, free: 35.44 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=44): time 4.89e-06/7.363, allocations: 0 / 3.124 GB, free: 35.44 MB / 0.6823 GB Notification: Performance of matching and sorting (n=44): time 0.001578/7.364, allocations: 0.672 MB / 3.124 GB, free: 34.76 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/7.364, allocations: 55.41 kB / 3.124 GB, free: 34.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001408/7.366, allocations: 0.953 MB / 3.125 GB, free: 33.72 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.674e-05/7.366, allocations: 29.7 kB / 3.125 GB, free: 33.69 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002965/7.366, allocations: 441.7 kB / 3.126 GB, free: 33.25 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/7.366, allocations: 145.7 kB / 3.126 GB, free: 33.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.245e-05/7.366, allocations: 0 / 3.126 GB, free: 33.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.394e-05/7.366, allocations: 322 kB / 3.126 GB, free: 32.78 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002778/7.367, allocations: 228.6 kB / 3.126 GB, free: 32.55 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000411/7.367, allocations: 445.8 kB / 3.127 GB, free: 32.04 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003988/7.367, allocations: 279.7 kB / 3.127 GB, free: 31.76 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/7.367, allocations: 0 / 3.127 GB, free: 31.76 MB / 0.6823 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009676/7.368, allocations: 0.6483 MB / 3.128 GB, free: 31.11 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.272e-05/7.368, allocations: 106.6 kB / 3.128 GB, free: 31 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/7.368, allocations: 0 / 3.128 GB, free: 31 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/7.368, allocations: 0 / 3.128 GB, free: 31 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006801/7.369, allocations: 135.8 kB / 3.128 GB, free: 30.87 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/7.369, allocations: 0 / 3.128 GB, free: 30.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/7.37, allocations: 111.8 kB / 3.128 GB, free: 30.76 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.659e-05/7.37, allocations: 31.97 kB / 3.128 GB, free: 30.73 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/7.37, allocations: 5.562 kB / 3.128 GB, free: 30.72 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007154/7.371, allocations: 0.5112 MB / 3.129 GB, free: 30.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.535e-06/7.371, allocations: 4 kB / 3.129 GB, free: 30.21 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.671e-06/7.371, allocations: 3.953 kB / 3.129 GB, free: 30.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006368/7.372, allocations: 135.8 kB / 3.129 GB, free: 30.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/7.372, allocations: 112 / 3.129 GB, free: 30.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001184/7.373, allocations: 111.8 kB / 3.129 GB, free: 29.96 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.923e-05/7.373, allocations: 31.97 kB / 3.129 GB, free: 29.93 MB / 0.6823 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 46 * 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.0001371/7.373, allocations: 108.9 kB / 3.129 GB, free: 29.82 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009343/7.374, allocations: 0.6293 MB / 3.13 GB, free: 29.18 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001883/7.374, allocations: 98.73 kB / 3.13 GB, free: 29.08 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001311/7.376, allocations: 0.7048 MB / 3.13 GB, free: 28.38 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/7.376, allocations: 4 kB / 3.13 GB, free: 28.37 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/7.376, allocations: 0 / 3.13 GB, free: 28.37 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/7.376, allocations: 0 / 3.13 GB, free: 28.37 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002574/7.378, allocations: 1.798 MB / 3.132 GB, free: 26.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/7.378, allocations: 4.031 kB / 3.132 GB, free: 26.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005589/7.379, allocations: 119.8 kB / 3.132 GB, free: 26.38 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.103e-05/7.379, allocations: 8 kB / 3.132 GB, free: 26.37 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.4e-05/7.379, allocations: 8 kB / 3.132 GB, free: 26.36 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/7.379, allocations: 7.984 kB / 3.132 GB, free: 26.36 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/7.379, allocations: 4 kB / 3.132 GB, free: 26.35 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001425/7.38, allocations: 1.2 MB / 3.133 GB, free: 25.05 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004262/7.381, allocations: 299.8 kB / 3.134 GB, free: 24.74 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001686/7.381, allocations: 11.94 kB / 3.134 GB, free: 24.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/7.382, allocations: 71.88 kB / 3.134 GB, free: 24.66 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.435e-05/7.382, allocations: 47.88 kB / 3.134 GB, free: 24.61 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.737e-05/7.382, allocations: 20 kB / 3.134 GB, free: 24.59 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008842/7.383, allocations: 0.7468 MB / 3.135 GB, free: 23.84 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.51e-07/7.383, allocations: 0 / 3.135 GB, free: 23.84 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001553/7.385, allocations: 0.5107 MB / 3.135 GB, free: 23.32 MB / 0.6823 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 53 * 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.003534/7.388, allocations: 4.056 MB / 3.139 GB, free: 19.11 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001119/7.389, allocations: 0.8248 MB / 3.14 GB, free: 18.27 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/7.389, allocations: 0 / 3.14 GB, free: 18.27 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003316/7.39, allocations: 283.7 kB / 3.14 GB, free: 18 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002034/7.392, allocations: 391.5 kB / 3.14 GB, free: 17.62 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002606/7.394, allocations: 1.418 MB / 3.142 GB, free: 16.13 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004119/7.395, allocations: 1.063 MB / 3.143 GB, free: 15.04 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001644/7.396, allocations: 385.9 kB / 3.143 GB, free: 14.66 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004249/7.397, allocations: 359.3 kB / 3.144 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of SimCode: time 4.71e-07/7.397, allocations: 0 / 3.144 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4859/7.883, allocations: 38.55 MB / 3.181 GB, free: 124 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001956/7.883, allocations: 158.4 kB / 3.181 GB, free: 123.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.819/11.7, allocations: 0 / 3.181 GB, free: 123.8 MB / 0.6823 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)