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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001194/0.001194, allocations: 101 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001474/0.001474, allocations: 199.7 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 227.3 MB / 245.9 MB, free: 10.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003338/0.0003339, allocations: 12 kB / 306.7 MB, free: 1.258 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.121, allocations: 51.49 MB / 358.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.002317/0.1233, allocations: 1.712 MB / 359.9 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001001/0.1244, allocations: 0.5539 MB / 360.5 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.1245, allocations: 3.938 kB / 360.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.84e-05/0.1246, allocations: 11.86 kB / 360.5 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000261/0.1249, allocations: 63.77 kB / 360.6 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001762/0.1251, allocations: 39.94 kB / 360.6 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002291/0.1253, allocations: 175.5 kB / 360.8 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.1254, allocations: 40.91 kB / 360.8 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001875/0.1256, allocations: 91.55 kB / 360.9 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001688/0.1258, allocations: 119.4 kB / 361 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.794e-05/0.1259, allocations: 8 kB / 361 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.4e-05/0.1259, allocations: 12 kB / 361 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.001e-05/0.126, allocations: 47.8 kB / 361.1 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.985e-05/0.1261, allocations: 57.58 kB / 361.1 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.1263, allocations: 159.8 kB / 361.3 MB, free: 10.67 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1263, allocations: 0 / 361.3 MB, free: 10.67 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.787e-06/0.1263, allocations: 0 / 361.3 MB, free: 10.67 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1263, allocations: 7.938 kB / 361.3 MB, free: 10.66 MB / 302.1 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.00105/0.1273, allocations: 0.5683 MB / 361.9 MB, free: 10.04 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.1274, allocations: 8.031 kB / 361.9 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.929e-05/0.1275, allocations: 38.56 kB / 361.9 MB, free: 9.988 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.291e-05/0.1275, allocations: 31.62 kB / 361.9 MB, free: 9.957 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003979/0.1279, allocations: 299 kB / 362.2 MB, free: 9.625 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.128, allocations: 11.98 kB / 362.2 MB, free: 9.613 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.72e-05/0.128, allocations: 15.95 kB / 362.3 MB, free: 9.598 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002592/0.1283, allocations: 122.7 kB / 362.4 MB, free: 9.473 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.1283, allocations: 0 / 362.4 MB, free: 9.473 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.1283, allocations: 8 kB / 362.4 MB, free: 9.465 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.1283, allocations: 7.938 kB / 362.4 MB, free: 9.457 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001765/0.1285, allocations: 79.95 kB / 362.5 MB, free: 9.379 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000793/0.1293, allocations: 0.5274 MB / 363 MB, free: 8.801 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004567/0.1298, allocations: 174.7 kB / 363.2 MB, free: 8.621 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.1298, allocations: 8 kB / 363.2 MB, free: 8.613 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.1298, allocations: 30.56 kB / 363.2 MB, free: 8.574 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.202e-06/0.1298, allocations: 0 / 363.2 MB, free: 8.574 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001435/0.1313, allocations: 0.675 MB / 363.9 MB, free: 7.852 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.1313, allocations: 59.33 kB / 363.9 MB, free: 7.781 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004412/0.1318, allocations: 328.6 kB / 364.3 MB, free: 7.453 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.1318, allocations: 29.7 kB / 364.3 MB, free: 7.418 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.1319, allocations: 164.2 kB / 364.5 MB, free: 7.25 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.981e-05/0.132, allocations: 63.12 kB / 364.5 MB, free: 7.188 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.1e-05/0.132, allocations: 4 kB / 364.5 MB, free: 7.184 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.1322, allocations: 338.8 kB / 364.8 MB, free: 6.844 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001461/0.1323, allocations: 64.34 kB / 364.9 MB, free: 6.781 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.1325, allocations: 63.72 kB / 365 MB, free: 6.723 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.1326, allocations: 68.92 kB / 365 MB, free: 6.656 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1326, allocations: 4 kB / 365 MB, free: 6.652 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000353/0.133, allocations: 212.6 kB / 365.3 MB, free: 6.441 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.133, allocations: 8 kB / 365.3 MB, free: 6.434 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.133, allocations: 3.953 kB / 365.3 MB, free: 6.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.1331, allocations: 0 / 365.3 MB, free: 6.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002881/0.1333, allocations: 67.89 kB / 365.3 MB, free: 6.363 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.1334, allocations: 0 / 365.3 MB, free: 6.363 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.1335, allocations: 12 kB / 365.3 MB, free: 6.352 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/0.1335, allocations: 4 kB / 365.3 MB, free: 6.348 MB / 302.1 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 () * Number of clocked 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 0.0001278/0.1337, allocations: 133.8 kB / 365.5 MB, free: 6.207 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.571e-05/0.1337, allocations: 35.62 kB / 365.5 MB, free: 6.172 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004103/0.1341, allocations: 220.6 kB / 365.7 MB, free: 5.953 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.1342, allocations: 11.95 kB / 365.7 MB, free: 5.941 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1342, allocations: 0 / 365.7 MB, free: 5.941 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.1342, allocations: 3.984 kB / 365.7 MB, free: 5.938 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003602/0.1345, allocations: 313.5 kB / 366 MB, free: 5.582 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1346, allocations: 3.938 kB / 366.1 MB, free: 5.578 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000338/0.1349, allocations: 59.89 kB / 366.1 MB, free: 5.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.1349, allocations: 4 kB / 366.1 MB, free: 5.516 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.078e-05/0.1349, allocations: 7.984 kB / 366.1 MB, free: 5.508 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.1349, allocations: 0 / 366.1 MB, free: 5.508 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.135, allocations: 7.953 kB / 366.1 MB, free: 5.5 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005595/0.1355, allocations: 389.3 kB / 366.5 MB, free: 5.105 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.9e-05/0.1356, allocations: 112.8 kB / 366.6 MB, free: 4.977 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.969e-05/0.1357, allocations: 4 kB / 366.6 MB, free: 4.973 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001781/0.1359, allocations: 11.98 kB / 366.6 MB, free: 4.961 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.329e-05/0.1359, allocations: 19.94 kB / 366.7 MB, free: 4.941 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.1359, allocations: 4 kB / 366.7 MB, free: 4.938 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002536/0.1362, allocations: 247 kB / 366.9 MB, free: 4.695 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.472e-06/0.1362, allocations: 0 / 366.9 MB, free: 4.695 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002908/0.1365, allocations: 43.94 kB / 366.9 MB, free: 4.652 MB / 302.1 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 () * Number of clocked 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.000792/0.1373, allocations: 0.926 MB / 367.9 MB, free: 3.699 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003026/0.1376, allocations: 158.4 kB / 368 MB, free: 3.547 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1376, allocations: 0 / 368 MB, free: 3.547 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001499/0.1378, allocations: 91.89 kB / 368.1 MB, free: 3.457 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.1381, allocations: 33.08 kB / 368.1 MB, free: 3.426 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002859/0.1409, allocations: 1.973 MB / 370.1 MB, free: 1.398 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.1413, allocations: 0.7716 MB / 370.9 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001097/0.1414, allocations: 34.27 kB / 370.9 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/0.1416, allocations: 103.3 kB / 371 MB, free: 476 kB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1416, allocations: 0 / 371 MB, free: 476 kB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.217/0.3586, allocations: 5.128 MB / 376.2 MB, free: 18.67 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001561/0.3588, allocations: 235.9 kB / 376.4 MB, free: 18.43 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.849/2.208, allocations: 2.031 kB / 376.4 MB, free: 18.43 MB / 302.1 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