Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.0009866/0.0009866, allocations: 88.16 kB / 16.31 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008416/0.0008417, allocations: 175.9 kB / 17.2 MB, free: 5.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 223.2 MB / 241.2 MB, free: 328 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002602/0.0002603, allocations: 4 kB / 300.9 MB, free: 6.359 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1003, allocations: 50.41 MB / 351.3 MB, free: 3.934 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.002508/0.1029, allocations: 1.707 MB / 353 MB, free: 2.207 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009864/0.1039, allocations: 0.5265 MB / 353.6 MB, free: 1.68 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.1041, allocations: 0 / 353.6 MB, free: 1.68 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001179/0.1042, allocations: 19.8 kB / 353.6 MB, free: 1.66 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000292/0.1045, allocations: 59.61 kB / 353.7 MB, free: 1.602 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001726/0.1047, allocations: 39.95 kB / 353.7 MB, free: 1.562 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002926/0.105, allocations: 227.1 kB / 353.9 MB, free: 1.34 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.1051, allocations: 52.89 kB / 354 MB, free: 1.289 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.1052, allocations: 87.45 kB / 354.1 MB, free: 1.203 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001569/0.1054, allocations: 119.4 kB / 354.2 MB, free: 1.086 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.062e-05/0.1055, allocations: 11.94 kB / 354.2 MB, free: 1.074 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.802e-05/0.1055, allocations: 12 kB / 354.2 MB, free: 1.062 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.254e-05/0.1056, allocations: 47.7 kB / 354.2 MB, free: 1.016 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.101e-05/0.1056, allocations: 57.58 kB / 354.3 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001745/0.1058, allocations: 167.8 kB / 354.5 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.1058, allocations: 0 / 354.5 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1058, allocations: 4 kB / 354.5 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.1058, allocations: 0 / 354.5 MB, free: 0.7852 MB / 286.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.0009883/0.1068, allocations: 0.5565 MB / 355 MB, free: 184 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.1069, allocations: 12.03 kB / 355 MB, free: 172 kB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.522e-05/0.1069, allocations: 46.55 kB / 355.1 MB, free: 116 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.85e-05/0.107, allocations: 31.58 kB / 355.1 MB, free: 84 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003539/0.1074, allocations: 303 kB / 355.4 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.1074, allocations: 7.984 kB / 355.4 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.045e-05/0.1074, allocations: 12 kB / 355.4 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002501/0.1077, allocations: 125.6 kB / 355.5 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.1077, allocations: 4 kB / 355.5 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.1077, allocations: 4 kB / 355.6 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.649e-05/0.1077, allocations: 7.953 kB / 355.6 MB, free: 15.58 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001869/0.1079, allocations: 83.83 kB / 355.6 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009014/0.1088, allocations: 0.5235 MB / 356.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004714/0.1093, allocations: 182.8 kB / 356.3 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.1095, allocations: 64.77 kB / 356.4 MB, free: 14.67 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.578e-05/0.1095, allocations: 7.984 kB / 356.4 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.1095, allocations: 34.56 kB / 356.4 MB, free: 14.62 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.293e-06/0.1095, allocations: 4 kB / 356.5 MB, free: 14.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001444/0.111, allocations: 0.6642 MB / 357.1 MB, free: 13.9 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.111, allocations: 55.41 kB / 357.2 MB, free: 13.84 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003493/0.1114, allocations: 332.5 kB / 357.5 MB, free: 13.5 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.1114, allocations: 25.7 kB / 357.5 MB, free: 13.47 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.1115, allocations: 160.2 kB / 357.7 MB, free: 13.3 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.571e-05/0.1116, allocations: 59.19 kB / 357.7 MB, free: 13.25 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.063e-05/0.1116, allocations: 4 kB / 357.7 MB, free: 13.24 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.1118, allocations: 334.8 kB / 358.1 MB, free: 12.91 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.1119, allocations: 68.34 kB / 358.1 MB, free: 12.84 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.112, allocations: 67.72 kB / 358.2 MB, free: 12.78 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.1122, allocations: 72.86 kB / 358.3 MB, free: 12.71 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1122, allocations: 0 / 358.3 MB, free: 12.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003524/0.1125, allocations: 213.6 kB / 358.5 MB, free: 12.49 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.1126, allocations: 11.94 kB / 358.5 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.1126, allocations: 0 / 358.5 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.1126, allocations: 0 / 358.5 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002924/0.1129, allocations: 63.89 kB / 358.6 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.1129, allocations: 0 / 358.6 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.1131, allocations: 11.95 kB / 358.6 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.1131, allocations: 4 kB / 358.6 MB, free: 12.4 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.0001543/0.1132, allocations: 137.8 kB / 358.7 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.56e-05/0.1133, allocations: 27.62 kB / 358.7 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004328/0.1137, allocations: 224.8 kB / 358.9 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.1138, allocations: 4 kB / 359 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1138, allocations: 0 / 359 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/0.1138, allocations: 3.984 kB / 359 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003562/0.1141, allocations: 321.4 kB / 359.3 MB, free: 11.63 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1142, allocations: 7.938 kB / 359.3 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003505/0.1145, allocations: 63.95 kB / 359.3 MB, free: 11.56 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1145, allocations: 0 / 359.3 MB, free: 11.56 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.472e-05/0.1146, allocations: 11.97 kB / 359.4 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.1146, allocations: 4 kB / 359.4 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.1146, allocations: 3.984 kB / 359.4 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005802/0.1152, allocations: 397 kB / 359.7 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.439e-05/0.1153, allocations: 108.8 kB / 359.9 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.812e-05/0.1153, allocations: 8 kB / 359.9 MB, free: 11.01 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/0.1155, allocations: 12.11 kB / 359.9 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.343e-05/0.1155, allocations: 7.984 kB / 359.9 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.1156, allocations: 8 kB / 359.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002546/0.1158, allocations: 251 kB / 360.1 MB, free: 10.74 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1158, allocations: 4 kB / 360.1 MB, free: 10.73 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000273/0.1161, allocations: 40 kB / 360.2 MB, free: 10.7 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.0008723/0.117, allocations: 0.9306 MB / 361.1 MB, free: 9.738 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003242/0.1173, allocations: 161.4 kB / 361.3 MB, free: 9.582 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1173, allocations: 0 / 361.3 MB, free: 9.582 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001451/0.1175, allocations: 83.91 kB / 361.3 MB, free: 9.5 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00037/0.1179, allocations: 37.02 kB / 361.4 MB, free: 9.465 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002876/0.1208, allocations: 1.978 MB / 363.4 MB, free: 7.43 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.1211, allocations: 0.7677 MB / 364.1 MB, free: 6.637 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001123/0.1212, allocations: 30.27 kB / 364.2 MB, free: 6.609 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001649/0.1214, allocations: 99.33 kB / 364.3 MB, free: 6.512 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1214, allocations: 0 / 364.3 MB, free: 6.512 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01533/0.1367, allocations: 5.162 MB / 369.4 MB, free: 1.598 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001736/0.1369, allocations: 245.2 kB / 369.7 MB, free: 1.355 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.792/1.929, allocations: 0 / 369.7 MB, free: 1.355 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat does not exist to compare? outputFormat=mat