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.008844/0.008843, allocations: 171.4 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7751/0.7751, allocations: 135.2 MB / 151 MB, free: 13.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.637/1.637, allocations: 223.2 MB / 406.8 MB, free: 3.23 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.0008883/0.0008884, allocations: 94.59 kB / 489.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003281/0.0003281, allocations: 12 kB / 0.5692 GB, free: 14.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.432/0.4323, allocations: 82.29 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.018/5.451, allocations: 1.879 GB / 2.528 GB, free: 60.27 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003341/5.451, allocations: 98.38 kB / 2.528 GB, free: 60.21 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.752/8.203, allocations: 0.6118 GB / 3.14 GB, free: 124.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.914e-06/8.203, allocations: 0 / 3.14 GB, free: 124.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.94e-05/8.203, allocations: 23.66 kB / 3.14 GB, free: 124.3 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.004689/8.208, allocations: 1.672 MB / 3.142 GB, free: 123.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/8.208, allocations: 17.7 kB / 3.142 GB, free: 123.8 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001245/8.208, allocations: 88.03 kB / 3.142 GB, free: 123.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002477/8.211, allocations: 229.3 kB / 3.142 GB, free: 123.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002087/8.213, allocations: 1.026 MB / 3.143 GB, free: 123.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.497e-05/8.213, allocations: 45.81 kB / 3.143 GB, free: 123.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/8.213, allocations: 62.16 kB / 3.143 GB, free: 123.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/8.214, allocations: 0.6286 MB / 3.144 GB, free: 123.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/8.214, allocations: 3.844 kB / 3.144 GB, free: 123.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.923e-05/8.214, allocations: 18.53 kB / 3.144 GB, free: 123.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.531e-05/8.214, allocations: 19.89 kB / 3.144 GB, free: 123.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001215/8.216, allocations: 0.6532 MB / 3.144 GB, free: 123.4 MB / 0.6823 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.004105/8.22, allocations: 2.738 MB / 3.147 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/8.221, allocations: 0.5854 MB / 3.148 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003958/8.221, allocations: 293.6 kB / 3.148 GB, free: 122.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/8.221, allocations: 37.06 kB / 3.148 GB, free: 122.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009356/8.222, allocations: 226.9 kB / 3.148 GB, free: 122.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=44): time 2.625e-06/8.222, allocations: 0 / 3.148 GB, free: 122.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=44): time 0.002249/8.224, allocations: 1.062 MB / 3.149 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/8.224, allocations: 64.53 kB / 3.149 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001727/8.226, allocations: 1.119 MB / 3.15 GB, free: 121.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.848e-05/8.226, allocations: 42.86 kB / 3.15 GB, free: 121.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003587/8.227, allocations: 444 kB / 3.151 GB, free: 121.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000143/8.227, allocations: 156.5 kB / 3.151 GB, free: 121.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.991e-05/8.227, allocations: 3.5 kB / 3.151 GB, free: 121.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.603e-05/8.227, allocations: 327.8 kB / 3.151 GB, free: 121.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005083/8.227, allocations: 276.3 kB / 3.152 GB, free: 121.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007114/8.228, allocations: 0.4985 MB / 3.152 GB, free: 121.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005469/8.229, allocations: 336.2 kB / 3.152 GB, free: 121.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/8.229, allocations: 0 / 3.152 GB, free: 121.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001372/8.23, allocations: 0.7631 MB / 3.153 GB, free: 121.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.061e-05/8.23, allocations: 98.36 kB / 3.153 GB, free: 121 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/8.23, allocations: 3.938 kB / 3.153 GB, free: 121 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/8.23, allocations: 0 / 3.153 GB, free: 121 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007012/8.231, allocations: 137.5 kB / 3.153 GB, free: 121 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/8.231, allocations: 7.703 kB / 3.153 GB, free: 121 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/8.232, allocations: 119.7 kB / 3.153 GB, free: 121 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.583e-05/8.232, allocations: 29.17 kB / 3.153 GB, free: 121 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.827e-06/8.232, allocations: 3.812 kB / 3.153 GB, free: 121 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001185/8.233, allocations: 0.6354 MB / 3.154 GB, free: 121 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.124e-06/8.234, allocations: 0 / 3.154 GB, free: 121 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.637e-06/8.234, allocations: 3.656 kB / 3.154 GB, free: 121 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000639/8.234, allocations: 135.2 kB / 3.154 GB, free: 121 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/8.234, allocations: 3.875 kB / 3.154 GB, free: 121 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001185/8.235, allocations: 119.7 kB / 3.154 GB, free: 121 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.759e-05/8.235, allocations: 29.72 kB / 3.154 GB, free: 121 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 () * Number of clocked 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.0005583/8.236, allocations: 333.7 kB / 3.155 GB, free: 120.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001982/8.236, allocations: 106.9 kB / 3.155 GB, free: 120.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001889/8.238, allocations: 0.8523 MB / 3.156 GB, free: 120.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/8.238, allocations: 7.594 kB / 3.156 GB, free: 120.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/8.238, allocations: 0 / 3.156 GB, free: 120.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/8.238, allocations: 0 / 3.156 GB, free: 120.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003328/8.241, allocations: 2.003 MB / 3.158 GB, free: 120.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/8.242, allocations: 6.844 kB / 3.158 GB, free: 120.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005809/8.242, allocations: 121.1 kB / 3.158 GB, free: 120.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/8.242, allocations: 3.938 kB / 3.158 GB, free: 120.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.233e-05/8.242, allocations: 14 kB / 3.158 GB, free: 120.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/8.242, allocations: 7.578 kB / 3.158 GB, free: 120.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/8.242, allocations: 10.64 kB / 3.158 GB, free: 120.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001958/8.244, allocations: 1.393 MB / 3.159 GB, free: 119.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004764/8.245, allocations: 302.1 kB / 3.159 GB, free: 119.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001482/8.245, allocations: 14.22 kB / 3.159 GB, free: 119.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/8.246, allocations: 90.86 kB / 3.159 GB, free: 119.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/8.246, allocations: 45.55 kB / 3.16 GB, free: 119.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.249e-05/8.246, allocations: 29.27 kB / 3.16 GB, free: 119.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001301/8.247, allocations: 0.8882 MB / 3.16 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.7e-07/8.247, allocations: 0 / 3.16 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001873/8.249, allocations: 0.5565 MB / 3.161 GB, free: 119.6 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 () * Number of clocked 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.004508/8.254, allocations: 4.055 MB / 3.165 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001844/8.256, allocations: 0.9516 MB / 3.166 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/8.256, allocations: 2.688 kB / 3.166 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000556/8.256, allocations: 350.8 kB / 3.166 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002081/8.258, allocations: 450.5 kB / 3.167 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01026/8.269, allocations: 6.63 MB / 3.173 GB, free: 115.8 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005189/8.269, allocations: 1.066 MB / 3.174 GB, free: 115.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001321/8.27, allocations: 291.9 kB / 3.174 GB, free: 115.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006148/8.271, allocations: 391.3 kB / 3.175 GB, free: 115 MB / 0.6823 GB Notification: Performance of SimCode: time 1.313e-06/8.271, allocations: 2.344 kB / 3.175 GB, free: 115 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08698/8.358, allocations: 53.11 MB / 3.227 GB, free: 112.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002112/8.358, allocations: 216.7 kB / 3.227 GB, free: 112.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.589/11.95, allocations: 0 / 3.227 GB, free: 112.4 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)