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.002181/0.002181, allocations: 121.3 kB / 18.5 MB, free: 4.578 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.002706/0.002706, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.625/1.625, allocations: 230.5 MB / 254.7 MB, free: 15.01 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.001941/0.001941, allocations: 63.83 kB / 373.6 MB, free: 10.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.123, allocations: 53.32 MB / 426.9 MB, free: 4.832 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003652/0.1266, allocations: 2.106 MB / 429 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001195/0.1278, allocations: 0.5768 MB / 429.6 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001377/0.128, allocations: 8 kB / 429.6 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001952/0.1282, allocations: 23.67 kB / 429.6 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003558/0.1285, allocations: 79.41 kB / 429.7 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002309/0.1287, allocations: 47.88 kB / 429.7 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003811/0.1291, allocations: 263.1 kB / 430 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001723/0.1293, allocations: 36.72 kB / 430 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002635/0.1296, allocations: 119.4 kB / 430.1 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002116/0.1298, allocations: 135.3 kB / 430.3 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.205e-05/0.1298, allocations: 24 kB / 430.3 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.645e-05/0.1298, allocations: 20 kB / 430.3 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.13, allocations: 63.69 kB / 430.4 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001385/0.1301, allocations: 119.1 kB / 430.5 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003378/0.1304, allocations: 234.8 kB / 430.7 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1304, allocations: 0 / 430.7 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.967e-06/0.1304, allocations: 4 kB / 430.7 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.764e-06/0.1304, allocations: 0 / 430.7 MB, free: 0.9727 MB / 350.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.001192/0.1316, allocations: 0.6109 MB / 431.3 MB, free: 320 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.1317, allocations: 12.03 kB / 431.4 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.765e-05/0.1317, allocations: 42.75 kB / 431.4 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.463e-05/0.1318, allocations: 32.75 kB / 431.4 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2202/0.352, allocations: 309.2 kB / 431.7 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.352, allocations: 6.188 kB / 431.7 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.322e-05/0.3521, allocations: 14.14 kB / 431.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003234/0.3524, allocations: 118.8 kB / 431.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.3524, allocations: 2.312 kB / 431.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.845e-05/0.3524, allocations: 4.812 kB / 431.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.3524, allocations: 3.125 kB / 431.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002018/0.3527, allocations: 82.44 kB / 432 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008697/0.3535, allocations: 0.5288 MB / 432.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004969/0.354, allocations: 172.9 kB / 432.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.3541, allocations: 60.22 kB / 432.7 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.853e-05/0.3542, allocations: 1.781 kB / 432.7 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.717e-05/0.3542, allocations: 38.44 kB / 432.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.783e-06/0.3542, allocations: 4 kB / 432.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001418/0.3556, allocations: 0.6602 MB / 433.4 MB, free: 10.44 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.49e-05/0.3556, allocations: 58.31 kB / 433.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003374/0.356, allocations: 330.4 kB / 433.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.356, allocations: 30.42 kB / 433.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.553e-05/0.356, allocations: 159.7 kB / 434 MB, free: 10.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.439e-05/0.3561, allocations: 60.09 kB / 434 MB, free: 10.1 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.717e-05/0.3561, allocations: 40.64 kB / 434.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.352e-05/0.3562, allocations: 337.9 kB / 434.4 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.3563, allocations: 56.89 kB / 434.5 MB, free: 9.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.3564, allocations: 68.59 kB / 434.5 MB, free: 9.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002604/0.3567, allocations: 148.7 kB / 434.7 MB, free: 9.758 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.3567, allocations: 0 / 434.7 MB, free: 9.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003508/0.357, allocations: 215 kB / 434.9 MB, free: 9.707 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.3571, allocations: 5.188 kB / 434.9 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.3571, allocations: 1.094 kB / 434.9 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.3571, allocations: 4.312 kB / 434.9 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002965/0.3574, allocations: 65.36 kB / 435 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.3574, allocations: 2.688 kB / 435 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/0.3575, allocations: 6.109 kB / 435 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.3576, allocations: 7.406 kB / 435 MB, free: 9.707 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 9.964e-05/0.3577, allocations: 132.2 kB / 435.1 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.771e-05/0.3577, allocations: 33.44 kB / 435.1 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004128/0.3581, allocations: 222.6 kB / 435.4 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.3581, allocations: 2.656 kB / 435.4 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.3581, allocations: 0 / 435.4 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.3581, allocations: 0.7656 kB / 435.4 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003206/0.3585, allocations: 326 kB / 435.7 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3585, allocations: 0 / 435.7 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003848/0.3588, allocations: 68.19 kB / 435.7 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/0.3588, allocations: 1.25 kB / 435.7 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.958e-05/0.3589, allocations: 2.547 kB / 435.7 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.3589, allocations: 4.641 kB / 435.8 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3589, allocations: 0 / 435.8 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005766/0.3595, allocations: 397.9 kB / 436.1 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.049e-05/0.3595, allocations: 112.8 kB / 436.3 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.386e-05/0.3596, allocations: 7.359 kB / 436.3 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001903/0.3598, allocations: 8.375 kB / 436.3 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.113e-05/0.3598, allocations: 11.22 kB / 436.3 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.3598, allocations: 4.719 kB / 436.3 MB, free: 8.906 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002398/0.3601, allocations: 249.7 kB / 436.5 MB, free: 8.773 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3601, allocations: 0 / 436.5 MB, free: 8.773 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002978/0.3604, allocations: 42.44 kB / 436.6 MB, free: 8.77 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.0006623/0.361, allocations: 0.9265 MB / 437.5 MB, free: 8.008 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003313/0.3614, allocations: 153.4 kB / 437.6 MB, free: 7.965 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3614, allocations: 1.094 kB / 437.6 MB, free: 7.965 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.3615, allocations: 80.33 kB / 437.7 MB, free: 7.941 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003713/0.3619, allocations: 38.52 kB / 437.8 MB, free: 7.918 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003546/0.3654, allocations: 3.069 MB / 440.8 MB, free: 5.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002069/0.3656, allocations: 0.7589 MB / 441.6 MB, free: 5.285 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001178/0.3658, allocations: 35.09 kB / 441.6 MB, free: 5.281 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/0.3659, allocations: 92.56 kB / 441.7 MB, free: 5.215 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3659, allocations: 0 / 441.7 MB, free: 5.215 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03023/0.3961, allocations: 5.721 MB / 447.4 MB, free: 4.633 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.784/9.18, allocations: 11.95 kB / 447.4 MB, free: 4.625 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 & /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 --stepSize=0.09996 --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: 11.737672704271972] 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'] 9.254585550166667 9.278861972 9.143846172 Calling exit ...