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.0008782/0.0008782, allocations: 96.95 kB / 17.01 MB, free: 6.121 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008993/0.0008993, allocations: 194.2 kB / 17.91 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 227.3 MB / 246 MB, free: 11.96 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002487/0.0002487, allocations: 4 kB / 306.8 MB, free: 1.469 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1206, allocations: 51.49 MB / 358.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.002455/0.1231, allocations: 1.736 MB / 360.1 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001184/0.1243, allocations: 0.5344 MB / 360.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001776/0.1245, allocations: 0 / 360.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001202/0.1247, allocations: 19.8 kB / 360.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003382/0.125, allocations: 55.61 kB / 360.7 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002074/0.1252, allocations: 39.95 kB / 360.7 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003749/0.1256, allocations: 231.1 kB / 360.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.1258, allocations: 52.88 kB / 361 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002796/0.1261, allocations: 95.44 kB / 361.1 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002027/0.1263, allocations: 119.4 kB / 361.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.184e-05/0.1264, allocations: 8 kB / 361.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.685e-05/0.1264, allocations: 12 kB / 361.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.638e-05/0.1265, allocations: 51.7 kB / 361.3 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.867e-05/0.1266, allocations: 57.58 kB / 361.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002017/0.1268, allocations: 167.8 kB / 361.5 MB, free: 10.8 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.1268, allocations: 0 / 361.5 MB, free: 10.8 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1268, allocations: 0 / 361.5 MB, free: 10.8 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.1268, allocations: 0 / 361.5 MB, free: 10.8 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.001035/0.1279, allocations: 0.5644 MB / 362 MB, free: 10.18 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.1279, allocations: 12.03 kB / 362.1 MB, free: 10.17 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.552e-05/0.128, allocations: 46.55 kB / 362.1 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.882e-05/0.1281, allocations: 31.62 kB / 362.1 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003966/0.1285, allocations: 299 kB / 362.4 MB, free: 9.754 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.1285, allocations: 8 kB / 362.4 MB, free: 9.746 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.971e-05/0.1285, allocations: 15.95 kB / 362.4 MB, free: 9.73 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002709/0.1288, allocations: 118.7 kB / 362.6 MB, free: 9.609 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.1288, allocations: 3.938 kB / 362.6 MB, free: 9.605 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.1289, allocations: 8 kB / 362.6 MB, free: 9.598 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/0.1289, allocations: 0 / 362.6 MB, free: 9.598 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001842/0.1291, allocations: 91.89 kB / 362.7 MB, free: 9.508 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008396/0.1299, allocations: 0.5235 MB / 363.2 MB, free: 8.934 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004901/0.1304, allocations: 174.8 kB / 363.4 MB, free: 8.754 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001297/0.1306, allocations: 64.77 kB / 363.4 MB, free: 8.688 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.574e-05/0.1306, allocations: 8 kB / 363.4 MB, free: 8.68 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.1306, allocations: 30.56 kB / 363.5 MB, free: 8.641 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.1306, allocations: 0 / 363.5 MB, free: 8.641 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001543/0.1322, allocations: 0.6788 MB / 364.1 MB, free: 7.914 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.1322, allocations: 51.41 kB / 364.2 MB, free: 7.852 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003883/0.1326, allocations: 328.6 kB / 364.5 MB, free: 7.523 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.1327, allocations: 29.7 kB / 364.5 MB, free: 7.488 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.1328, allocations: 164.2 kB / 364.7 MB, free: 7.32 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.417e-05/0.1328, allocations: 55.19 kB / 364.8 MB, free: 7.266 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.178e-05/0.1329, allocations: 8 kB / 364.8 MB, free: 7.258 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.133, allocations: 334.8 kB / 365.1 MB, free: 6.922 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.1332, allocations: 64.34 kB / 365.1 MB, free: 6.859 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/0.1333, allocations: 64.66 kB / 365.2 MB, free: 6.797 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.1334, allocations: 72.86 kB / 365.3 MB, free: 6.727 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1334, allocations: 4 kB / 365.3 MB, free: 6.723 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003743/0.1338, allocations: 216.6 kB / 365.5 MB, free: 6.508 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.1339, allocations: 14.45 kB / 365.5 MB, free: 6.496 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1339, allocations: 0 / 365.5 MB, free: 6.496 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.1339, allocations: 0 / 365.5 MB, free: 6.496 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003392/0.1342, allocations: 67.88 kB / 365.6 MB, free: 6.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.1342, allocations: 0 / 365.6 MB, free: 6.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.1344, allocations: 12 kB / 365.6 MB, free: 6.418 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.1344, allocations: 4 kB / 365.6 MB, free: 6.414 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.0001213/0.1345, allocations: 134.5 kB / 365.7 MB, free: 6.273 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.574e-05/0.1346, allocations: 31.62 kB / 365.8 MB, free: 6.242 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004393/0.135, allocations: 228.5 kB / 366 MB, free: 6.016 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.1351, allocations: 8 kB / 366 MB, free: 6.008 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.1351, allocations: 0 / 366 MB, free: 6.008 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.1351, allocations: 3.984 kB / 366 MB, free: 6.004 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003292/0.1354, allocations: 313.5 kB / 366.3 MB, free: 5.648 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.1354, allocations: 0 / 366.3 MB, free: 5.648 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003399/0.1358, allocations: 63.95 kB / 366.4 MB, free: 5.586 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.1358, allocations: 3.938 kB / 366.4 MB, free: 5.582 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/0.1358, allocations: 3.984 kB / 366.4 MB, free: 5.578 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.1358, allocations: 7.953 kB / 366.4 MB, free: 5.57 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1358, allocations: 0 / 366.4 MB, free: 5.57 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000554/0.1364, allocations: 390.9 kB / 366.8 MB, free: 5.172 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.77e-05/0.1365, allocations: 108.8 kB / 366.9 MB, free: 5.047 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.537e-05/0.1365, allocations: 11.98 kB / 366.9 MB, free: 5.035 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/0.1367, allocations: 4 kB / 366.9 MB, free: 5.031 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.633e-05/0.1368, allocations: 19.94 kB / 366.9 MB, free: 5.012 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.1368, allocations: 7.984 kB / 366.9 MB, free: 5.004 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002516/0.1371, allocations: 243.1 kB / 367.1 MB, free: 4.766 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1371, allocations: 0 / 367.1 MB, free: 4.766 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002762/0.1373, allocations: 40 kB / 367.2 MB, free: 4.727 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.0008509/0.1382, allocations: 0.9361 MB / 368.1 MB, free: 3.766 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000321/0.1385, allocations: 155.9 kB / 368.3 MB, free: 3.613 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.1385, allocations: 7.938 kB / 368.3 MB, free: 3.605 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001457/0.1387, allocations: 87.91 kB / 368.4 MB, free: 3.52 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005587/0.1393, allocations: 33.03 kB / 368.4 MB, free: 3.488 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00308/0.1424, allocations: 1.984 MB / 370.4 MB, free: 1.453 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.1427, allocations: 0.7599 MB / 371.1 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001179/0.1428, allocations: 34.27 kB / 371.2 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000161/0.143, allocations: 91.41 kB / 371.3 MB, free: 0.543 MB / 302.1 MB Notification: Performance of SimCode: time 5.11e-07/0.143, allocations: 0 / 371.3 MB, free: 0.543 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1849/0.3279, allocations: 5.147 MB / 376.4 MB, free: 18.85 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001472/0.3281, allocations: 256 kB / 376.7 MB, free: 18.6 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.815/2.144, allocations: 0 / 376.7 MB, free: 18.6 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