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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.002176/0.002176, allocations: 181.3 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.26/1.26, allocations: 223.2 MB / 240.3 MB, free: 10.15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009202/0.0009202, allocations: 89.45 kB / 291.5 MB, free: 10.7 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000259/0.000259, allocations: 8 kB / 351.2 MB, free: 14.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.214, allocations: 50.41 MB / 401.6 MB, free: 32.54 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08985/0.3039, allocations: 78.06 MB / 479.6 MB, free: 2.379 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/0.3042, allocations: 83.94 kB / 479.7 MB, free: 2.297 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01062/0.3149, allocations: 3.489 MB / 483.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.3149, allocations: 0 / 483.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.642e-05/0.315, allocations: 4 kB / 483.2 MB, free: 14.8 MB / 362.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.0009535/0.3159, allocations: 0.5878 MB / 483.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.316, allocations: 8.031 kB / 483.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.092e-05/0.316, allocations: 50.5 kB / 483.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.547e-05/0.3161, allocations: 27.62 kB / 483.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004175/0.3165, allocations: 295 kB / 484.2 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.3166, allocations: 12 kB / 484.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.477e-05/0.3166, allocations: 12 kB / 484.2 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003025/0.3169, allocations: 121.6 kB / 484.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.3169, allocations: 4 kB / 484.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.3169, allocations: 4 kB / 484.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.317, allocations: 7.953 kB / 484.3 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001797/0.3171, allocations: 83.89 kB / 484.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008441/0.318, allocations: 0.5313 MB / 485 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005092/0.3185, allocations: 174.8 kB / 485.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.3186, allocations: 7.984 kB / 485.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.3186, allocations: 34.56 kB / 485.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.382e-06/0.3186, allocations: 0 / 485.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.001496/0.3201, allocations: 0.6687 MB / 485.8 MB, free: 11.97 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.3201, allocations: 55.41 kB / 485.9 MB, free: 11.9 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000325/0.3205, allocations: 299.7 kB / 486.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.3205, allocations: 37.7 kB / 486.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.7e-05/0.3206, allocations: 152.3 kB / 486.4 MB, free: 11.4 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.3207, allocations: 63.09 kB / 486.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.231e-05/0.3207, allocations: 4 kB / 486.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.3209, allocations: 338.8 kB / 486.8 MB, free: 11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.321, allocations: 60.34 kB / 486.8 MB, free: 10.94 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.3211, allocations: 60.72 kB / 486.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.3213, allocations: 78.61 kB / 487 MB, free: 10.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3213, allocations: 0 / 487 MB, free: 10.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003627/0.3216, allocations: 218.7 kB / 487.2 MB, free: 10.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.3217, allocations: 4 kB / 487.2 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.3217, allocations: 0 / 487.2 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.3217, allocations: 0 / 487.2 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003192/0.322, allocations: 63.89 kB / 487.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.322, allocations: 4 kB / 487.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001537/0.3222, allocations: 12 kB / 487.3 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.99e-05/0.3222, allocations: 11.95 kB / 487.3 MB, free: 10.49 MB / 362.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 () * 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.000119/0.3224, allocations: 133.8 kB / 487.4 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.407e-05/0.3224, allocations: 27.62 kB / 487.4 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004295/0.3229, allocations: 231.2 kB / 487.6 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.3229, allocations: 7.984 kB / 487.7 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3229, allocations: 0 / 487.7 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3229, allocations: 3.984 kB / 487.7 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003222/0.3232, allocations: 321.4 kB / 488 MB, free: 9.715 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.3232, allocations: 0 / 488 MB, free: 9.715 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003804/0.3236, allocations: 63.89 kB / 488 MB, free: 9.652 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.145e-06/0.3236, allocations: 0 / 488 MB, free: 9.652 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.031e-05/0.3237, allocations: 11.98 kB / 488 MB, free: 9.641 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3237, allocations: 4 kB / 488.1 MB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3237, allocations: 0 / 488.1 MB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005771/0.3243, allocations: 395.5 kB / 488.4 MB, free: 9.234 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.104e-05/0.3244, allocations: 104.8 kB / 488.5 MB, free: 9.113 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.049e-05/0.3244, allocations: 4 kB / 488.5 MB, free: 9.109 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001961/0.3246, allocations: 15.98 kB / 488.6 MB, free: 9.094 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.271e-05/0.3247, allocations: 11.89 kB / 488.6 MB, free: 9.082 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.84e-05/0.3247, allocations: 11.98 kB / 488.6 MB, free: 9.07 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002725/0.325, allocations: 243.1 kB / 488.8 MB, free: 8.836 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.325, allocations: 0 / 488.8 MB, free: 8.836 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002909/0.3253, allocations: 47.94 kB / 488.9 MB, free: 8.789 MB / 362.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 () * 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.0008436/0.3262, allocations: 0.937 MB / 489.8 MB, free: 7.828 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003433/0.3265, allocations: 158 kB / 490 MB, free: 7.676 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.3265, allocations: 0 / 490 MB, free: 7.676 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.3267, allocations: 87.91 kB / 490 MB, free: 7.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/0.327, allocations: 34.91 kB / 490.1 MB, free: 7.559 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002991/0.33, allocations: 1.981 MB / 492.1 MB, free: 5.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.3303, allocations: 0.7716 MB / 492.8 MB, free: 4.723 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001176/0.3304, allocations: 34.27 kB / 492.9 MB, free: 4.691 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001581/0.3306, allocations: 91.41 kB / 493 MB, free: 4.602 MB / 362.7 MB Notification: Performance of SimCode: time 3.978e-06/0.3306, allocations: 4 kB / 493 MB, free: 4.598 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01681/0.3474, allocations: 5.153 MB / 498.1 MB, free: 15.68 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001744/0.3476, allocations: 242.7 kB / 498.3 MB, free: 15.44 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.977/2.324, allocations: 0 / 498.3 MB, free: 15.44 MB / 378.7 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