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.0015/0.0015, allocations: 196.4 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 225.4 MB / 240.1 MB, free: 15.05 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008877/0.0008879, allocations: 87.23 kB / 292.1 MB, free: 5.941 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.135e-05/3.177e-05, allocations: 4 kB / 350.6 MB, free: 2.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.116, allocations: 51.49 MB / 402.1 MB, free: 14.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.318/0.434, allocations: 78.8 MB / 480.9 MB, free: 10.67 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002202/0.4343, allocations: 86.55 kB / 481 MB, free: 10.62 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01034/0.4447, allocations: 3.53 MB / 484.5 MB, free: 7.648 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.4447, allocations: 4 kB / 484.5 MB, free: 7.645 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.355e-05/0.4447, allocations: 4 kB / 484.6 MB, free: 7.641 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.0005091/0.4452, allocations: 0.4915 MB / 485 MB, free: 7.129 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.4453, allocations: 8.031 kB / 485.1 MB, free: 7.121 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.943e-05/0.4453, allocations: 50.67 kB / 485.1 MB, free: 7.07 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.471e-05/0.4454, allocations: 31.62 kB / 485.1 MB, free: 7.039 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003268/0.4457, allocations: 298.3 kB / 485.4 MB, free: 6.734 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.4457, allocations: 7.688 kB / 485.4 MB, free: 6.73 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.446e-05/0.4458, allocations: 11.62 kB / 485.4 MB, free: 6.723 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002043/0.446, allocations: 122.3 kB / 485.6 MB, free: 6.633 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/0.446, allocations: 0 / 485.6 MB, free: 6.633 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.446, allocations: 3.75 kB / 485.6 MB, free: 6.633 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.446, allocations: 4 kB / 485.6 MB, free: 6.629 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.4461, allocations: 71.47 kB / 485.6 MB, free: 6.582 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006486/0.4468, allocations: 0.5228 MB / 486.2 MB, free: 6.09 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003826/0.4472, allocations: 167.5 kB / 486.3 MB, free: 5.965 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.141e-05/0.4473, allocations: 55.55 kB / 486.4 MB, free: 5.93 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.4473, allocations: 4 kB / 486.4 MB, free: 5.926 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.408e-05/0.4473, allocations: 41.73 kB / 486.4 MB, free: 5.883 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.292e-06/0.4474, allocations: 4.562 kB / 486.4 MB, free: 5.879 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.001083/0.4484, allocations: 0.5959 MB / 487 MB, free: 5.328 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.939e-05/0.4485, allocations: 51.41 kB / 487.1 MB, free: 5.266 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002444/0.4487, allocations: 305.4 kB / 487.4 MB, free: 5.02 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.4487, allocations: 25.7 kB / 487.4 MB, free: 4.988 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.418e-05/0.4488, allocations: 154.8 kB / 487.6 MB, free: 4.875 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.072e-05/0.4489, allocations: 60.98 kB / 487.6 MB, free: 4.824 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.906e-06/0.4489, allocations: 0 / 487.6 MB, free: 4.824 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.748e-05/0.4489, allocations: 343.6 kB / 487.9 MB, free: 4.492 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.97e-05/0.449, allocations: 54.06 kB / 488 MB, free: 4.461 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.296e-05/0.4491, allocations: 63.05 kB / 488.1 MB, free: 4.426 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.929e-05/0.4492, allocations: 62.36 kB / 488.1 MB, free: 4.391 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.4492, allocations: 4 kB / 488.1 MB, free: 4.387 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002594/0.4495, allocations: 212.9 kB / 488.3 MB, free: 4.227 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.4495, allocations: 12.98 kB / 488.3 MB, free: 4.215 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.4495, allocations: 0 / 488.3 MB, free: 4.215 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.4495, allocations: 0 / 488.3 MB, free: 4.215 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002818/0.4498, allocations: 59.95 kB / 488.4 MB, free: 4.156 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.4498, allocations: 0 / 488.4 MB, free: 4.156 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001515/0.45, allocations: 7.375 kB / 488.4 MB, free: 4.152 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.45, allocations: 4 kB / 488.4 MB, free: 4.148 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 4.76e-05/0.4501, allocations: 121.2 kB / 488.5 MB, free: 4.031 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.724e-05/0.4501, allocations: 31.61 kB / 488.6 MB, free: 4 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003201/0.4504, allocations: 208.7 kB / 488.8 MB, free: 3.852 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.4505, allocations: 0.7656 kB / 488.8 MB, free: 3.852 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.4505, allocations: 5.953 kB / 488.8 MB, free: 3.848 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.4505, allocations: 4 kB / 488.8 MB, free: 3.844 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002462/0.4507, allocations: 325.3 kB / 489.1 MB, free: 3.531 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4507, allocations: 3.938 kB / 489.1 MB, free: 3.527 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003468/0.4511, allocations: 60.7 kB / 489.2 MB, free: 3.469 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.4511, allocations: 3.938 kB / 489.2 MB, free: 3.465 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.4511, allocations: 7.312 kB / 489.2 MB, free: 3.461 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.4511, allocations: 7.938 kB / 489.2 MB, free: 3.453 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.4511, allocations: 0 / 489.2 MB, free: 3.453 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004084/0.4515, allocations: 371.6 kB / 489.5 MB, free: 3.152 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.388e-05/0.4516, allocations: 107.8 kB / 489.6 MB, free: 3.031 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.582e-05/0.4517, allocations: 7.062 kB / 489.7 MB, free: 3.027 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001923/0.4519, allocations: 11.38 kB / 489.7 MB, free: 3.02 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.4519, allocations: 15.92 kB / 489.7 MB, free: 3.004 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.4519, allocations: 6.938 kB / 489.7 MB, free: 3 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001803/0.4521, allocations: 240.6 kB / 489.9 MB, free: 2.812 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4521, allocations: 0 / 489.9 MB, free: 2.812 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002544/0.4524, allocations: 46.12 kB / 490 MB, free: 2.773 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.0005304/0.4529, allocations: 0.9158 MB / 490.9 MB, free: 1.914 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000228/0.4532, allocations: 146 kB / 491 MB, free: 1.82 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.4532, allocations: 0 / 491 MB, free: 1.82 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.4533, allocations: 79.17 kB / 491.1 MB, free: 1.766 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002407/0.4535, allocations: 37.41 kB / 491.1 MB, free: 1.746 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.4546, allocations: 0.6603 MB / 491.8 MB, free: 1.098 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001366/0.4548, allocations: 0.7752 MB / 492.6 MB, free: 308 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.821e-05/0.4549, allocations: 26.06 kB / 492.6 MB, free: 284 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.455, allocations: 94.77 kB / 492.7 MB, free: 200 kB / 346.7 MB Notification: Performance of SimCode: time 7.42e-07/0.455, allocations: 0 / 492.7 MB, free: 200 kB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01453/0.4696, allocations: 5.079 MB / 497.8 MB, free: 11.4 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001587/0.4698, allocations: 199.6 kB / 498 MB, free: 11.18 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.853/2.323, allocations: 0 / 498 MB, free: 11.18 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