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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8822/0.8822, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.506/1.506, allocations: 221.3 MB / 400.4 MB, free: 5.82 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 103.9 kB / 483.3 MB, free: 5.871 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.346e-05/5.356e-05, allocations: 2.562 kB / 0.5601 GB, free: 87.87 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1537, allocations: 82.31 MB / 0.6405 GB, free: 7.715 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.62/4.774, allocations: 1.878 GB / 2.519 GB, free: 52.28 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002995/4.774, allocations: 91.95 kB / 2.519 GB, free: 52.19 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.923/7.697, allocations: 0.6113 GB / 3.13 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.783e-06/7.697, allocations: 0 / 3.13 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002111/7.698, allocations: 22.52 kB / 3.13 GB, free: 122.6 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.004368/7.702, allocations: 1.284 MB / 3.132 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.576e-05/7.702, allocations: 11.56 kB / 3.132 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003242/7.702, allocations: 85.23 kB / 3.132 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003/7.705, allocations: 232 kB / 3.132 GB, free: 122 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002993/7.709, allocations: 1.01 MB / 3.133 GB, free: 121.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.97e-05/7.709, allocations: 44.03 kB / 3.133 GB, free: 121.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002583/7.709, allocations: 61.88 kB / 3.133 GB, free: 121.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001344/7.71, allocations: 0.5705 MB / 3.134 GB, free: 121.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/7.71, allocations: 2.25 kB / 3.134 GB, free: 121.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.881e-05/7.71, allocations: 23.22 kB / 3.134 GB, free: 121.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.046e-05/7.71, allocations: 18.88 kB / 3.134 GB, free: 121.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001016/7.711, allocations: 0.5559 MB / 3.134 GB, free: 121.7 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.005732/7.717, allocations: 2.733 MB / 3.137 GB, free: 120.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009197/7.718, allocations: 0.5198 MB / 3.137 GB, free: 120.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004866/7.719, allocations: 312 kB / 3.138 GB, free: 120.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004118/7.719, allocations: 293.5 kB / 3.138 GB, free: 120.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/7.719, allocations: 37.25 kB / 3.138 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001296/7.72, allocations: 229.5 kB / 3.138 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=44): time 8.997e-06/7.72, allocations: 0 / 3.138 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=44): time 0.001792/7.722, allocations: 0.688 MB / 3.139 GB, free: 120.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/7.722, allocations: 58.59 kB / 3.139 GB, free: 120.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002156/7.724, allocations: 1.086 MB / 3.14 GB, free: 120.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001275/7.725, allocations: 42.39 kB / 3.14 GB, free: 120.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000407/7.725, allocations: 443.6 kB / 3.14 GB, free: 120.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001644/7.725, allocations: 159.7 kB / 3.141 GB, free: 120 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.375e-05/7.725, allocations: 6.875 kB / 3.141 GB, free: 120 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.169e-05/7.725, allocations: 320.1 kB / 3.141 GB, free: 119.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003665/7.726, allocations: 227.7 kB / 3.141 GB, free: 119.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005497/7.726, allocations: 457 kB / 3.142 GB, free: 119.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004424/7.727, allocations: 287.7 kB / 3.142 GB, free: 119.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/7.727, allocations: 0 / 3.142 GB, free: 119.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001266/7.728, allocations: 0.6684 MB / 3.143 GB, free: 119.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.72e-05/7.728, allocations: 103 kB / 3.143 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/7.728, allocations: 0 / 3.143 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.495e-05/7.728, allocations: 7.734 kB / 3.143 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007416/7.729, allocations: 135.3 kB / 3.143 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/7.729, allocations: 0 / 3.143 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/7.73, allocations: 123.4 kB / 3.143 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/7.73, allocations: 30.58 kB / 3.143 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/7.73, allocations: 3.781 kB / 3.143 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008942/7.731, allocations: 0.5421 MB / 3.143 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.785e-06/7.731, allocations: 0 / 3.143 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.513e-06/7.731, allocations: 0 / 3.143 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000666/7.732, allocations: 132.1 kB / 3.144 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/7.732, allocations: 7.531 kB / 3.144 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001512/7.734, allocations: 116.3 kB / 3.144 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.687e-05/7.734, allocations: 29.05 kB / 3.144 GB, free: 119.3 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.0002174/7.734, allocations: 137.8 kB / 3.144 GB, free: 119.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000338/7.734, allocations: 104.7 kB / 3.144 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001632/7.736, allocations: 0.7487 MB / 3.145 GB, free: 119 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.787e-06/7.736, allocations: 9.906 kB / 3.145 GB, free: 119 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/7.736, allocations: 0 / 3.145 GB, free: 119 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.116e-06/7.736, allocations: 3.938 kB / 3.145 GB, free: 119 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003415/7.739, allocations: 1.905 MB / 3.147 GB, free: 118.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.355e-06/7.739, allocations: 7.281 kB / 3.147 GB, free: 118.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000592/7.74, allocations: 118.4 kB / 3.147 GB, free: 118.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.198e-05/7.74, allocations: 3.938 kB / 3.147 GB, free: 118.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.282e-05/7.74, allocations: 19.97 kB / 3.147 GB, free: 118.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.268e-06/7.74, allocations: 11.7 kB / 3.147 GB, free: 118.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/7.74, allocations: 2.875 kB / 3.147 GB, free: 118.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001664/7.742, allocations: 1.256 MB / 3.148 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006795/7.742, allocations: 308.9 kB / 3.148 GB, free: 118.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002995/7.743, allocations: 18.22 kB / 3.148 GB, free: 118.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001242/7.744, allocations: 79.05 kB / 3.148 GB, free: 118.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/7.744, allocations: 44.39 kB / 3.148 GB, free: 118.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.431e-05/7.744, allocations: 21.03 kB / 3.148 GB, free: 118.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001453/7.746, allocations: 0.8567 MB / 3.149 GB, free: 118 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.643e-06/7.746, allocations: 3.5 kB / 3.149 GB, free: 118 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002438/7.748, allocations: 0.5621 MB / 3.15 GB, free: 117.9 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.004581/7.753, allocations: 3.897 MB / 3.154 GB, free: 116 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001555/7.754, allocations: 0.8473 MB / 3.154 GB, free: 116 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/7.754, allocations: 3.188 kB / 3.154 GB, free: 116 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004259/7.755, allocations: 302.5 kB / 3.155 GB, free: 116 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002664/7.757, allocations: 455.8 kB / 3.155 GB, free: 116 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003983/7.761, allocations: 1.481 MB / 3.157 GB, free: 115.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006859/7.762, allocations: 1.067 MB / 3.158 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002264/7.764, allocations: 413.4 kB / 3.158 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005329/7.765, allocations: 358.8 kB / 3.158 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of SimCode: time 1.473e-06/7.765, allocations: 0 / 3.158 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.108/7.873, allocations: 58.55 MB / 3.216 GB, free: 109.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001788/7.873, allocations: 189.7 kB / 3.216 GB, free: 109.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.723/12.6, allocations: 0 / 3.216 GB, free: 109.5 MB / 0.6823 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)