Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4_1_0-beta_om_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_1_0-beta_om_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.001814/0.001814, allocations: 122.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002132/0.002132, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.505/1.505, allocations: 227.7 MB / 247.2 MB, free: 10.22 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 67.89 kB / 358.5 MB, free: 13.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3617, allocations: 50.54 MB / 409.1 MB, free: 1.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003833/0.3655, allocations: 2.088 MB / 411.2 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001198/0.3668, allocations: 0.5769 MB / 411.7 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.3669, allocations: 0 / 411.7 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001398/0.3671, allocations: 27.61 kB / 411.8 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003006/0.3674, allocations: 71.48 kB / 411.8 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001937/0.3676, allocations: 63.78 kB / 411.9 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003437/0.3679, allocations: 247.2 kB / 412.1 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001701/0.3681, allocations: 68.67 kB / 412.2 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002222/0.3684, allocations: 107.4 kB / 412.3 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002165/0.3686, allocations: 135.3 kB / 412.5 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.188e-05/0.3686, allocations: 20 kB / 412.5 MB, free: 14 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.877e-05/0.3687, allocations: 20 kB / 412.5 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.935e-05/0.3688, allocations: 63.64 kB / 412.6 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001362/0.3689, allocations: 123.2 kB / 412.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003638/0.3693, allocations: 241.7 kB / 412.9 MB, free: 13.56 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3693, allocations: 4 kB / 412.9 MB, free: 13.56 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3693, allocations: 0 / 412.9 MB, free: 13.56 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.248e-05/0.3693, allocations: 0 / 412.9 MB, free: 13.56 MB / 334.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.001174/0.3705, allocations: 0.6032 MB / 413.5 MB, free: 12.91 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.3706, allocations: 12.03 kB / 413.5 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.533e-05/0.3706, allocations: 46.73 kB / 413.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.78e-05/0.3707, allocations: 28.75 kB / 413.6 MB, free: 12.81 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004183/0.3711, allocations: 304.3 kB / 413.9 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.3711, allocations: 11.94 kB / 413.9 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.924e-05/0.3712, allocations: 19.98 kB / 413.9 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000266/0.3715, allocations: 121.6 kB / 414 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.3715, allocations: 3.938 kB / 414.1 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.3715, allocations: 4 kB / 414.1 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.3715, allocations: 0 / 414.1 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001955/0.3717, allocations: 83.89 kB / 414.1 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008717/0.3726, allocations: 0.5198 MB / 414.7 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005142/0.3731, allocations: 181.6 kB / 414.8 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001512/0.3733, allocations: 68.77 kB / 414.9 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.3733, allocations: 4 kB / 414.9 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.3734, allocations: 34.56 kB / 414.9 MB, free: 11.36 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.714e-06/0.3734, allocations: 0 / 414.9 MB, free: 11.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001584/0.375, allocations: 0.6618 MB / 415.6 MB, free: 10.65 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.375, allocations: 55.39 kB / 415.7 MB, free: 10.58 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003954/0.3754, allocations: 336.6 kB / 416 MB, free: 10.25 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.3754, allocations: 29.7 kB / 416 MB, free: 10.21 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.3756, allocations: 156.3 kB / 416.2 MB, free: 10.05 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.119e-05/0.3757, allocations: 63.47 kB / 416.2 MB, free: 9.988 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.434e-05/0.3758, allocations: 41.7 kB / 416.3 MB, free: 9.941 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.3759, allocations: 346.7 kB / 416.6 MB, free: 9.594 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.3761, allocations: 55.97 kB / 416.7 MB, free: 9.539 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.3762, allocations: 61.48 kB / 416.7 MB, free: 9.48 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002915/0.3765, allocations: 144 kB / 416.9 MB, free: 9.34 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.3765, allocations: 0 / 416.9 MB, free: 9.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004025/0.3769, allocations: 213.3 kB / 417.1 MB, free: 9.125 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.377, allocations: 8 kB / 417.1 MB, free: 9.117 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.377, allocations: 4 kB / 417.1 MB, free: 9.113 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.377, allocations: 0 / 417.1 MB, free: 9.113 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000329/0.3773, allocations: 67.89 kB / 417.2 MB, free: 9.047 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.3773, allocations: 0 / 417.2 MB, free: 9.047 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/0.3775, allocations: 15.92 kB / 417.2 MB, free: 9.031 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.3775, allocations: 4 kB / 417.2 MB, free: 9.027 MB / 334.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001315/0.3777, allocations: 137.8 kB / 417.3 MB, free: 8.883 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.651e-05/0.3777, allocations: 31.81 kB / 417.3 MB, free: 8.852 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004445/0.3782, allocations: 216.6 kB / 417.5 MB, free: 8.629 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/0.3782, allocations: 7.938 kB / 417.6 MB, free: 8.621 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.3782, allocations: 0 / 417.6 MB, free: 8.621 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.3782, allocations: 7.922 kB / 417.6 MB, free: 8.613 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003913/0.3786, allocations: 321.3 kB / 417.9 MB, free: 8.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3786, allocations: 4 kB / 417.9 MB, free: 8.246 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003623/0.379, allocations: 55.95 kB / 417.9 MB, free: 8.191 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.379, allocations: 4 kB / 417.9 MB, free: 8.188 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.364e-05/0.379, allocations: 7.984 kB / 417.9 MB, free: 8.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.3791, allocations: 7.938 kB / 418 MB, free: 8.172 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3791, allocations: 0 / 418 MB, free: 8.172 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006002/0.3797, allocations: 386.7 kB / 418.3 MB, free: 7.781 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.48e-05/0.3798, allocations: 109 kB / 418.4 MB, free: 7.656 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.912e-05/0.3798, allocations: 11.98 kB / 418.5 MB, free: 7.645 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001834/0.38, allocations: 11.88 kB / 418.5 MB, free: 7.633 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.494e-05/0.3801, allocations: 15.98 kB / 418.5 MB, free: 7.617 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.3801, allocations: 7.984 kB / 418.5 MB, free: 7.609 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002751/0.3804, allocations: 243.1 kB / 418.7 MB, free: 7.375 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3804, allocations: 0 / 418.7 MB, free: 7.375 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002814/0.3807, allocations: 48 kB / 418.8 MB, free: 7.328 MB / 334.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009577/0.3817, allocations: 0.9231 MB / 419.7 MB, free: 6.379 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003665/0.382, allocations: 155.8 kB / 419.8 MB, free: 6.227 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.382, allocations: 0 / 419.8 MB, free: 6.227 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001605/0.3822, allocations: 83.91 kB / 419.9 MB, free: 6.145 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.3826, allocations: 33.73 kB / 420 MB, free: 6.109 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004265/0.3869, allocations: 3.062 MB / 423 MB, free: 2.973 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004068/0.3873, allocations: 0.7597 MB / 423.8 MB, free: 2.188 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001384/0.3875, allocations: 34.27 kB / 423.8 MB, free: 2.152 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001801/0.3877, allocations: 95.39 kB / 423.9 MB, free: 2.059 MB / 334.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3877, allocations: 0 / 423.9 MB, free: 2.059 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03023/0.4179, allocations: 5.689 MB / 429.6 MB, free: 12.58 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.798/9.216, allocations: 7.734 kB / 429.6 MB, free: 12.58 MB / 350.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.csv --start-time 0 --stop-time 500 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.2 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1)