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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001339/0.001339, allocations: 105 kB / 21.22 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001508/0.001508, allocations: 209.9 kB / 24.53 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.409/1.409, allocations: 230.6 MB / 258.3 MB, free: 8.059 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "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.001904/0.001904, allocations: 72.55 kB / 378.6 MB, free: 3.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2661, allocations: 53.36 MB / 431.9 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003998/0.2701, allocations: 2.112 MB / 434 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001173/0.2713, allocations: 0.5884 MB / 434.6 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.2714, allocations: 4 kB / 434.6 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001401/0.2715, allocations: 23.67 kB / 434.7 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002976/0.2718, allocations: 75.42 kB / 434.7 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002119/0.272, allocations: 55.91 kB / 434.8 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003742/0.2724, allocations: 259 kB / 435 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.2726, allocations: 52.88 kB / 435.1 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002316/0.2728, allocations: 107.5 kB / 435.2 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002147/0.273, allocations: 139.3 kB / 435.3 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.749e-05/0.273, allocations: 16 kB / 435.4 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.684e-05/0.2731, allocations: 27.94 kB / 435.4 MB, free: 3.422 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.708e-05/0.2732, allocations: 55.75 kB / 435.4 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.2733, allocations: 123.1 kB / 435.6 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003035/0.2736, allocations: 239.5 kB / 435.8 MB, free: 3.016 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2736, allocations: 0 / 435.8 MB, free: 3.016 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.2736, allocations: 0 / 435.8 MB, free: 3.016 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.2736, allocations: 8 kB / 435.8 MB, free: 3.008 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.001076/0.2747, allocations: 0.5318 MB / 436.3 MB, free: 2.445 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.2747, allocations: 12.03 kB / 436.3 MB, free: 2.434 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.628e-05/0.2748, allocations: 38.73 kB / 436.4 MB, free: 2.387 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.849e-05/0.2748, allocations: 32.75 kB / 436.4 MB, free: 2.355 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003847/0.2752, allocations: 250.5 kB / 436.7 MB, free: 2.09 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.2752, allocations: 11.94 kB / 436.7 MB, free: 2.078 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.64e-05/0.2753, allocations: 12 kB / 436.7 MB, free: 2.066 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002681/0.2755, allocations: 129.5 kB / 436.8 MB, free: 1.934 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.2756, allocations: 0 / 436.8 MB, free: 1.934 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.2756, allocations: 8 kB / 436.8 MB, free: 1.926 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.2756, allocations: 0 / 436.8 MB, free: 1.926 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001876/0.2758, allocations: 79.95 kB / 436.9 MB, free: 1.848 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008332/0.2766, allocations: 0.4915 MB / 437.4 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005011/0.2771, allocations: 178.7 kB / 437.6 MB, free: 1.129 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000129/0.2772, allocations: 64.77 kB / 437.6 MB, free: 1.062 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.2772, allocations: 8 kB / 437.6 MB, free: 1.055 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.2773, allocations: 30.56 kB / 437.7 MB, free: 1.016 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.142e-06/0.2773, allocations: 0 / 437.7 MB, free: 1.016 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001485/0.2788, allocations: 0.599 MB / 438.3 MB, free: 396 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.2788, allocations: 55.34 kB / 438.3 MB, free: 328 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003902/0.2792, allocations: 332.6 kB / 438.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.2792, allocations: 29.64 kB / 438.7 MB, free: 15.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.2793, allocations: 156.3 kB / 438.8 MB, free: 15.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.639e-05/0.2794, allocations: 63.47 kB / 438.9 MB, free: 15.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.494e-05/0.2795, allocations: 33.72 kB / 438.9 MB, free: 15.69 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.2796, allocations: 354.7 kB / 439.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.2798, allocations: 55.97 kB / 439.3 MB, free: 15.28 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.2799, allocations: 67.91 kB / 439.4 MB, free: 15.21 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002922/0.2802, allocations: 142.7 kB / 439.5 MB, free: 15.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.2802, allocations: 0 / 439.5 MB, free: 15.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003663/0.2805, allocations: 212.4 kB / 439.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.2806, allocations: 4 kB / 439.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.2806, allocations: 0 / 439.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.2806, allocations: 8 kB / 439.7 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002865/0.2809, allocations: 63.83 kB / 439.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.2809, allocations: 0 / 439.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001404/0.281, allocations: 11.94 kB / 439.8 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/0.281, allocations: 7.984 kB / 439.8 MB, free: 14.77 MB / 350.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.0001358/0.2812, allocations: 129.8 kB / 439.9 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.728e-05/0.2812, allocations: 27.81 kB / 440 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004279/0.2816, allocations: 227.3 kB / 440.2 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.2817, allocations: 7.938 kB / 440.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.2817, allocations: 0 / 440.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.2817, allocations: 3.984 kB / 440.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003516/0.282, allocations: 288.5 kB / 440.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.282, allocations: 0 / 440.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003553/0.2824, allocations: 63.89 kB / 440.5 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.2824, allocations: 0 / 440.5 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.296e-05/0.2824, allocations: 7.984 kB / 440.6 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.2824, allocations: 11.94 kB / 440.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.2824, allocations: 0 / 440.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005867/0.283, allocations: 383.1 kB / 440.9 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.828e-05/0.283, allocations: 31.86 kB / 441 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.038e-05/0.2831, allocations: 8.109 kB / 441 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001894/0.2833, allocations: 15.94 kB / 441 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.817e-05/0.2833, allocations: 11.97 kB / 441 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.2833, allocations: 12 kB / 441 MB, free: 13.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002609/0.2836, allocations: 243.1 kB / 441.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2836, allocations: 0 / 441.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002795/0.2839, allocations: 40 kB / 441.3 MB, free: 13.21 MB / 350.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.000889/0.2848, allocations: 0.9372 MB / 442.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003235/0.2851, allocations: 143.9 kB / 442.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2851, allocations: 0 / 442.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001536/0.2852, allocations: 83.91 kB / 442.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003534/0.2856, allocations: 33.08 kB / 442.5 MB, free: 12 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004058/0.2897, allocations: 3.065 MB / 445.6 MB, free: 8.855 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003999/0.2901, allocations: 0.7635 MB / 446.3 MB, free: 8.062 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001129/0.2902, allocations: 34.28 kB / 446.4 MB, free: 8.027 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001649/0.2903, allocations: 95.39 kB / 446.4 MB, free: 7.934 MB / 350.1 MB Notification: Performance of SimCode: time 4e-07/0.2903, allocations: 0 / 446.4 MB, free: 7.934 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03089/0.3212, allocations: 5.794 MB / 452.2 MB, free: 2.293 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.113/8.434, allocations: 4.812 kB / 452.2 MB, free: 2.289 MB / 350.1 MB " [Timeout remaining time 651] (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.09996 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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.826221915427595] Failed to read output from testmodel.py, exit status != 0: ['time', 'filter.x[1]', 'filter.x[2]', 'filter.x[3]', 'invMixingUnit.c', 'invMixingUnit.T', 'mixingUnit.c', 'mixingUnit.T'] 8.50452566286549 8.522591557 8.245338521 Calling exit ...