Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001675/0.001675, allocations: 197.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.305/1.305, allocations: 225.6 MB / 234.8 MB, free: 3.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008867/0.0008867, allocations: 93.03 kB / 286.7 MB, free: 5.246 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.728e-05/1.738e-05, allocations: 0 / 343.8 MB, free: 8.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09784/0.09788, allocations: 51.48 MB / 395.3 MB, free: 4.676 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2839/0.3818, allocations: 78.13 MB / 473.4 MB, free: 13.42 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001971/0.382, allocations: 81.61 kB / 473.5 MB, free: 13.39 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009434/0.3915, allocations: 3.509 MB / 477 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3915, allocations: 1.875 kB / 477 MB, free: 11.32 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.364e-05/0.3915, allocations: 4 kB / 477 MB, free: 11.32 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004844/0.392, allocations: 0.5011 MB / 477.5 MB, free: 10.82 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.3921, allocations: 8.031 kB / 477.5 MB, free: 10.81 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.099e-05/0.3921, allocations: 31.62 kB / 477.5 MB, free: 10.78 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003183/0.3925, allocations: 299 kB / 477.8 MB, free: 10.48 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.3925, allocations: 4.859 kB / 477.8 MB, free: 10.48 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/0.3925, allocations: 8 kB / 477.8 MB, free: 10.47 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001252/0.3926, allocations: 63.53 kB / 477.9 MB, free: 10.44 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.3928, allocations: 102.5 kB / 478 MB, free: 10.37 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.3928, allocations: 0 / 478 MB, free: 10.37 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.3928, allocations: 1.594 kB / 478 MB, free: 10.37 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.3928, allocations: 4 kB / 478 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006341/0.3935, allocations: 499.3 kB / 478.5 MB, free: 9.996 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003723/0.3939, allocations: 167.2 kB / 478.7 MB, free: 9.883 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.604e-05/0.394, allocations: 48.86 kB / 478.7 MB, free: 9.852 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.394, allocations: 4 kB / 478.7 MB, free: 9.848 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.224e-05/0.394, allocations: 40.41 kB / 478.8 MB, free: 9.809 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.394, allocations: 0 / 478.8 MB, free: 9.809 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.00103/0.395, allocations: 0.5784 MB / 479.3 MB, free: 9.309 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.614e-05/0.3951, allocations: 55.41 kB / 479.4 MB, free: 9.242 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002399/0.3953, allocations: 283.5 kB / 479.7 MB, free: 9.039 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.3953, allocations: 25.7 kB / 479.7 MB, free: 9.008 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.338e-05/0.3954, allocations: 151.9 kB / 479.8 MB, free: 8.902 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.191e-05/0.3955, allocations: 66.52 kB / 479.9 MB, free: 8.852 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.528e-06/0.3955, allocations: 0 / 479.9 MB, free: 8.852 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.676e-05/0.3955, allocations: 340 kB / 480.2 MB, free: 8.531 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.939e-05/0.3956, allocations: 54.58 kB / 480.3 MB, free: 8.504 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.385e-05/0.3957, allocations: 54.36 kB / 480.3 MB, free: 8.477 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.315e-05/0.3958, allocations: 61.19 kB / 480.4 MB, free: 8.445 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3958, allocations: 0 / 480.4 MB, free: 8.445 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002377/0.3961, allocations: 196.4 kB / 480.6 MB, free: 8.305 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.3961, allocations: 4 kB / 480.6 MB, free: 8.301 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.3961, allocations: 0 / 480.6 MB, free: 8.301 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.3961, allocations: 8 kB / 480.6 MB, free: 8.293 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002725/0.3964, allocations: 61.34 kB / 480.7 MB, free: 8.246 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.3964, allocations: 0 / 480.7 MB, free: 8.246 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/0.3965, allocations: 5.781 kB / 480.7 MB, free: 8.242 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.3966, allocations: 4 kB / 480.7 MB, free: 8.238 MB / 346.7 MB 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 (21): * Single equations (assignments): 21 * 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 5.356e-05/0.3966, allocations: 114.3 kB / 480.8 MB, free: 8.125 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002234/0.3968, allocations: 166.5 kB / 480.9 MB, free: 8 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.32e-05/0.3969, allocations: 29.55 kB / 481 MB, free: 7.973 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002836/0.3972, allocations: 206.4 kB / 481.2 MB, free: 7.848 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.3972, allocations: 5.344 kB / 481.2 MB, free: 7.844 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3972, allocations: 0 / 481.2 MB, free: 7.844 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.3972, allocations: 3.5 kB / 481.2 MB, free: 7.844 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000262/0.3975, allocations: 285.1 kB / 481.5 MB, free: 7.629 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3975, allocations: 2.062 kB / 481.5 MB, free: 7.629 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003387/0.3978, allocations: 60.8 kB / 481.5 MB, free: 7.582 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.3979, allocations: 4.219 kB / 481.5 MB, free: 7.578 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/0.3979, allocations: 1.453 kB / 481.5 MB, free: 7.578 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.3979, allocations: 7.938 kB / 481.5 MB, free: 7.57 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.3979, allocations: 7.891 kB / 481.5 MB, free: 7.562 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000353/0.3983, allocations: 351.2 kB / 481.9 MB, free: 7.293 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.825e-05/0.3983, allocations: 110.6 kB / 482 MB, free: 7.176 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.916e-05/0.3984, allocations: 0 / 482 MB, free: 7.176 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001847/0.3986, allocations: 5.406 kB / 482 MB, free: 7.172 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.863e-05/0.3986, allocations: 20.88 kB / 482 MB, free: 7.156 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.3986, allocations: 8.312 kB / 482 MB, free: 7.152 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001797/0.3988, allocations: 230.4 kB / 482.3 MB, free: 6.992 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3988, allocations: 0 / 482.3 MB, free: 6.992 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002788/0.3991, allocations: 40 kB / 482.3 MB, free: 6.953 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (invMixingUnit.c,invMixingUnit.T,filter.x[1],mixingUnit.c,mixingUnit.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.0005213/0.3996, allocations: 0.8907 MB / 483.2 MB, free: 6.125 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002082/0.3999, allocations: 145 kB / 483.3 MB, free: 6.035 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3999, allocations: 0 / 483.3 MB, free: 6.035 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.28e-05/0.4, allocations: 74.31 kB / 483.4 MB, free: 5.988 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.4002, allocations: 29.22 kB / 483.4 MB, free: 5.977 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.4014, allocations: 0.6614 MB / 484.1 MB, free: 5.355 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001531/0.4015, allocations: 0.7677 MB / 484.9 MB, free: 4.562 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.986e-05/0.4016, allocations: 30.06 kB / 484.9 MB, free: 4.527 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.4018, allocations: 96.83 kB / 485 MB, free: 4.492 MB / 346.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4018, allocations: 0 / 485 MB, free: 4.492 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02128/0.4231, allocations: 4.531 MB / 489.5 MB, free: 48 kB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002731/0.4234, allocations: 193 kB / 489.7 MB, free: 15.8 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.956/2.38, allocations: 0 / 489.7 MB, free: 15.8 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl.fmu > Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat does not exist to compare? outputFormat=mat