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.00116/0.00116, allocations: 105.8 kB / 19.74 MB, free: 2.559 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.001246/0.001246, allocations: 219 kB / 22.92 MB, free: 5.547 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.272/1.272, allocations: 230.5 MB / 256.4 MB, free: 8.25 MB / 206.1 MB " [Timeout remaining time 179] 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.001773/0.001773, allocations: 71.83 kB / 376.1 MB, free: 4.078 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2009/0.2027, allocations: 53.31 MB / 429.4 MB, free: 7.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003121/0.2058, allocations: 2.114 MB / 431.5 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009388/0.2067, allocations: 0.5807 MB / 432.1 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.277e-05/0.2068, allocations: 4 kB / 432.1 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001016/0.2069, allocations: 27.61 kB / 432.1 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002296/0.2071, allocations: 79.41 kB / 432.2 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001452/0.2073, allocations: 43.94 kB / 432.3 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002854/0.2076, allocations: 263.1 kB / 432.5 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.2077, allocations: 40.72 kB / 432.6 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001736/0.2078, allocations: 111.4 kB / 432.7 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001817/0.208, allocations: 143.2 kB / 432.8 MB, free: 4.043 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.638e-05/0.2081, allocations: 20 kB / 432.8 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.468e-05/0.2081, allocations: 20 kB / 432.8 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.118e-05/0.2082, allocations: 55.7 kB / 432.9 MB, free: 3.949 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001059/0.2083, allocations: 127.2 kB / 433 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002404/0.2085, allocations: 239.1 kB / 433.3 MB, free: 3.594 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2085, allocations: 0 / 433.3 MB, free: 3.594 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2085, allocations: 0 / 433.3 MB, free: 3.594 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.2085, allocations: 0 / 433.3 MB, free: 3.594 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.0009494/0.2095, allocations: 0.6071 MB / 433.9 MB, free: 2.938 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.2095, allocations: 12.03 kB / 433.9 MB, free: 2.926 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.572e-05/0.2095, allocations: 42.73 kB / 433.9 MB, free: 2.875 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.872e-05/0.2096, allocations: 28.75 kB / 433.9 MB, free: 2.848 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003504/0.2099, allocations: 320.2 kB / 434.3 MB, free: 2.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.21, allocations: 11.94 kB / 434.3 MB, free: 2.488 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.909e-05/0.21, allocations: 12 kB / 434.3 MB, free: 2.477 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002203/0.2102, allocations: 117.6 kB / 434.4 MB, free: 2.355 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.2102, allocations: 3.938 kB / 434.4 MB, free: 2.352 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.2102, allocations: 12 kB / 434.4 MB, free: 2.34 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.2102, allocations: 0 / 434.4 MB, free: 2.34 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001747/0.2104, allocations: 87.83 kB / 434.5 MB, free: 2.254 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000722/0.2111, allocations: 0.5159 MB / 435 MB, free: 1.688 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004466/0.2116, allocations: 178.8 kB / 435.2 MB, free: 1.504 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.2117, allocations: 64.77 kB / 435.2 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.2117, allocations: 7.922 kB / 435.3 MB, free: 1.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.2117, allocations: 34.56 kB / 435.3 MB, free: 1.387 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.082e-06/0.2117, allocations: 0 / 435.3 MB, free: 1.387 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001345/0.2131, allocations: 0.6648 MB / 436 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/0.2131, allocations: 55.41 kB / 436 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003314/0.2135, allocations: 332.6 kB / 436.3 MB, free: 280 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.2135, allocations: 29.7 kB / 436.4 MB, free: 244 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.2136, allocations: 160.3 kB / 436.5 MB, free: 76 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.812e-05/0.2136, allocations: 59.48 kB / 436.6 MB, free: 16 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.48e-05/0.2137, allocations: 37.7 kB / 436.6 MB, free: 15.97 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.2138, allocations: 342.8 kB / 436.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.214, allocations: 59.97 kB / 437 MB, free: 15.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.2141, allocations: 67.16 kB / 437.1 MB, free: 15.51 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002537/0.2143, allocations: 144.8 kB / 437.2 MB, free: 15.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.2143, allocations: 4 kB / 437.2 MB, free: 15.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003399/0.2147, allocations: 211.1 kB / 437.4 MB, free: 15.15 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.2147, allocations: 4 kB / 437.4 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.2147, allocations: 4 kB / 437.4 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.977e-06/0.2147, allocations: 0 / 437.4 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002677/0.215, allocations: 63.84 kB / 437.5 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.215, allocations: 0 / 437.5 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001386/0.2151, allocations: 11.98 kB / 437.5 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.2151, allocations: 4 kB / 437.5 MB, free: 15.06 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.0001147/0.2152, allocations: 133.8 kB / 437.6 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.43e-05/0.2153, allocations: 31.75 kB / 437.7 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000389/0.2157, allocations: 227.3 kB / 437.9 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.2157, allocations: 11.94 kB / 437.9 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.2157, allocations: 0 / 437.9 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.2157, allocations: 0 / 437.9 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003316/0.216, allocations: 321.4 kB / 438.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.216, allocations: 0 / 438.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003356/0.2164, allocations: 59.95 kB / 438.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.2164, allocations: 3.938 kB / 438.3 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/0.2164, allocations: 4 kB / 438.3 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.2164, allocations: 7.938 kB / 438.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2164, allocations: 0 / 438.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005327/0.2169, allocations: 395.1 kB / 438.7 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.614e-05/0.217, allocations: 104.9 kB / 438.8 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.698e-05/0.217, allocations: 8.188 kB / 438.8 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.2172, allocations: 11.94 kB / 438.8 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.216e-05/0.2173, allocations: 15.97 kB / 438.8 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.2173, allocations: 4 kB / 438.8 MB, free: 13.65 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002542/0.2175, allocations: 251.1 kB / 439.1 MB, free: 13.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2175, allocations: 0 / 439.1 MB, free: 13.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002637/0.2178, allocations: 44 kB / 439.1 MB, free: 13.36 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.0008503/0.2186, allocations: 0.9223 MB / 440 MB, free: 12.42 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003098/0.2189, allocations: 151.9 kB / 440.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2189, allocations: 0 / 440.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001491/0.2191, allocations: 79.91 kB / 440.3 MB, free: 12.19 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/0.2194, allocations: 37.67 kB / 440.3 MB, free: 12.15 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003858/0.2233, allocations: 3.063 MB / 443.4 MB, free: 9.012 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003822/0.2237, allocations: 0.7675 MB / 444.1 MB, free: 8.219 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.63e-05/0.2238, allocations: 30.27 kB / 444.2 MB, free: 8.188 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001564/0.2239, allocations: 95.41 kB / 444.2 MB, free: 8.094 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2239, allocations: 0 / 444.2 MB, free: 8.094 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02722/0.2511, allocations: 5.673 MB / 449.9 MB, free: 2.566 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.268/7.519, allocations: 7.266 kB / 449.9 MB, free: 2.562 MB / 350.1 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 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: 9.536494887004665]