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.001976/0.001976, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002196/0.002196, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.498/1.498, allocations: 230.6 MB / 258.3 MB, free: 8.07 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.001967/0.001967, allocations: 64.77 kB / 378.6 MB, free: 3.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3081, allocations: 53.37 MB / 431.9 MB, free: 6.891 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003413/0.3115, allocations: 2.116 MB / 434.1 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.3126, allocations: 0.5768 MB / 434.6 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.3127, allocations: 8 kB / 434.6 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001157/0.3128, allocations: 27.61 kB / 434.7 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002872/0.3131, allocations: 83.39 kB / 434.7 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000178/0.3133, allocations: 47.94 kB / 434.8 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003326/0.3136, allocations: 259.1 kB / 435 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.3137, allocations: 44.91 kB / 435.1 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002124/0.314, allocations: 119.4 kB / 435.2 MB, free: 3.605 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001916/0.3141, allocations: 135.3 kB / 435.3 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.343e-05/0.3142, allocations: 20 kB / 435.4 MB, free: 3.453 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.216e-05/0.3142, allocations: 24 kB / 435.4 MB, free: 3.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.321e-05/0.3143, allocations: 59.69 kB / 435.4 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.3144, allocations: 119.1 kB / 435.6 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003028/0.3147, allocations: 242.6 kB / 435.8 MB, free: 3.023 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3147, allocations: 0 / 435.8 MB, free: 3.023 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3147, allocations: 0 / 435.8 MB, free: 3.023 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.3147, allocations: 0 / 435.8 MB, free: 3.023 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.001148/0.3159, allocations: 0.5318 MB / 436.3 MB, free: 2.461 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.3159, allocations: 8.031 kB / 436.3 MB, free: 2.453 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.056e-05/0.316, allocations: 50.67 kB / 436.4 MB, free: 2.395 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.642e-05/0.316, allocations: 32.75 kB / 436.4 MB, free: 2.363 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004144/0.3165, allocations: 258.5 kB / 436.7 MB, free: 2.09 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.3165, allocations: 11.94 kB / 436.7 MB, free: 2.078 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.203e-05/0.3165, allocations: 12 kB / 436.7 MB, free: 2.066 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003049/0.3168, allocations: 121.6 kB / 436.8 MB, free: 1.941 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.3168, allocations: 0 / 436.8 MB, free: 1.941 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.103e-05/0.3168, allocations: 8 kB / 436.8 MB, free: 1.934 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.3169, allocations: 7.938 kB / 436.8 MB, free: 1.926 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001956/0.3171, allocations: 79.95 kB / 436.9 MB, free: 1.848 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009037/0.318, allocations: 499.3 kB / 437.4 MB, free: 1.316 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005235/0.3185, allocations: 178.7 kB / 437.6 MB, free: 1.133 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/0.3186, allocations: 60.78 kB / 437.6 MB, free: 1.07 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.02e-05/0.3186, allocations: 4 kB / 437.6 MB, free: 1.066 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.3187, allocations: 30.56 kB / 437.7 MB, free: 1.027 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.703e-06/0.3187, allocations: 4 kB / 437.7 MB, free: 1.023 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001582/0.3203, allocations: 0.5893 MB / 438.2 MB, free: 412 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.3203, allocations: 55.41 kB / 438.3 MB, free: 344 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003997/0.3207, allocations: 332.6 kB / 438.6 MB, free: 4 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.547e-05/0.3207, allocations: 29.7 kB / 438.7 MB, free: 15.97 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.3209, allocations: 156.3 kB / 438.8 MB, free: 15.81 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.17e-05/0.3209, allocations: 63.47 kB / 438.9 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.119e-05/0.321, allocations: 41.64 kB / 438.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.3212, allocations: 342.8 kB / 439.2 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.3213, allocations: 55.97 kB / 439.3 MB, free: 15.3 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.3214, allocations: 69.47 kB / 439.4 MB, free: 15.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002829/0.3217, allocations: 138.9 kB / 439.5 MB, free: 15.1 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.3217, allocations: 0 / 439.5 MB, free: 15.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000405/0.3221, allocations: 224.2 kB / 439.7 MB, free: 14.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.3221, allocations: 4 kB / 439.7 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.3221, allocations: 0 / 439.7 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.3222, allocations: 4 kB / 439.7 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003118/0.3225, allocations: 59.84 kB / 439.8 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.3225, allocations: 4 kB / 439.8 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/0.3226, allocations: 15.92 kB / 439.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.3226, allocations: 4 kB / 439.8 MB, free: 14.79 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.0001342/0.3228, allocations: 133.8 kB / 439.9 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.747e-05/0.3228, allocations: 31.75 kB / 440 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004589/0.3233, allocations: 224.5 kB / 440.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.3233, allocations: 7.938 kB / 440.2 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3233, allocations: 4 kB / 440.2 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3233, allocations: 0 / 440.2 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003736/0.3237, allocations: 292.5 kB / 440.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.3237, allocations: 0 / 440.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003634/0.324, allocations: 63.89 kB / 440.6 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.324, allocations: 0 / 440.6 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.3241, allocations: 0 / 440.6 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.96e-06/0.3241, allocations: 11.88 kB / 440.6 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3241, allocations: 0 / 440.6 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006293/0.3247, allocations: 395.1 kB / 441 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.856e-05/0.3248, allocations: 27.8 kB / 441 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.193e-05/0.3248, allocations: 8.062 kB / 441 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/0.325, allocations: 11.94 kB / 441 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.78e-05/0.325, allocations: 11.97 kB / 441 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.3251, allocations: 4 kB / 441 MB, free: 13.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002861/0.3253, allocations: 251 kB / 441.3 MB, free: 13.26 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3253, allocations: 7.938 kB / 441.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002771/0.3256, 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.0009479/0.3266, allocations: 0.9219 MB / 442.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003491/0.3269, allocations: 147.9 kB / 442.4 MB, free: 12.12 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3269, allocations: 0 / 442.4 MB, free: 12.12 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001747/0.3271, allocations: 87.89 kB / 442.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003625/0.3275, allocations: 33.33 kB / 442.5 MB, free: 12 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004178/0.3316, allocations: 3.06 MB / 445.6 MB, free: 8.871 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004075/0.332, allocations: 0.7597 MB / 446.3 MB, free: 8.082 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001434/0.3322, allocations: 38.2 kB / 446.3 MB, free: 8.043 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001653/0.3323, allocations: 95.41 kB / 446.4 MB, free: 7.949 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3323, allocations: 0 / 446.4 MB, free: 7.949 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03203/0.3644, allocations: 5.802 MB / 452.2 MB, free: 2.301 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.991/9.355, allocations: 4.812 kB / 452.2 MB, free: 2.297 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.804972076322883] 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.432921024039388 9.450458149 9.132287042 Calling exit ...