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.001487/0.001487, allocations: 121.2 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.001698/0.001698, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.6/1.6, allocations: 230.5 MB / 254.8 MB, free: 14.91 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.002085/0.002085, allocations: 75.81 kB / 373.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1237, allocations: 53.32 MB / 427 MB, free: 4.762 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003721/0.1274, allocations: 2.1 MB / 429.1 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.1286, allocations: 0.5847 MB / 429.7 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000145/0.1288, allocations: 0 / 429.7 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001407/0.1289, allocations: 23.67 kB / 429.7 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002898/0.1292, allocations: 79.42 kB / 429.8 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002015/0.1294, allocations: 51.86 kB / 429.9 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003529/0.1297, allocations: 259.1 kB / 430.1 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.1299, allocations: 40.72 kB / 430.1 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002322/0.1301, allocations: 119.4 kB / 430.3 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002041/0.1303, allocations: 135.3 kB / 430.4 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.169e-05/0.1304, allocations: 20 kB / 430.4 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.576e-05/0.1304, allocations: 20 kB / 430.4 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.367e-05/0.1305, allocations: 63.62 kB / 430.5 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001298/0.1306, allocations: 127.2 kB / 430.6 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003281/0.131, allocations: 237.9 kB / 430.9 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.131, allocations: 0 / 430.9 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.131, allocations: 0 / 430.9 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.254e-05/0.131, allocations: 3.938 kB / 430.9 MB, free: 0.8984 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.001397/0.1324, allocations: 0.6071 MB / 431.5 MB, free: 248 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.1324, allocations: 12.03 kB / 431.5 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.826e-05/0.1325, allocations: 42.69 kB / 431.5 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.17e-05/0.1326, allocations: 32.75 kB / 431.6 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2269/0.3595, allocations: 315.8 kB / 431.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.3595, allocations: 6.375 kB / 431.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.715e-05/0.3596, allocations: 11.86 kB / 431.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003476/0.3599, allocations: 122 kB / 432 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.3599, allocations: 0.5156 kB / 432 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/0.36, allocations: 3.875 kB / 432 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.36, allocations: 3.719 kB / 432 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002087/0.3602, allocations: 82.92 kB / 432.1 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009875/0.3612, allocations: 0.5222 MB / 432.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005673/0.3617, allocations: 177.2 kB / 432.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.3619, allocations: 61.64 kB / 432.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/0.3619, allocations: 0.75 kB / 432.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.3619, allocations: 32.91 kB / 432.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 2.335e-06/0.3619, allocations: 5.031 kB / 432.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001703/0.3636, allocations: 0.6627 MB / 433.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.3637, allocations: 57.34 kB / 433.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004285/0.3641, allocations: 333.1 kB / 433.9 MB, free: 10.1 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.3641, allocations: 26.98 kB / 433.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.534e-05/0.3642, allocations: 161.1 kB / 434.1 MB, free: 9.977 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.148e-05/0.3643, allocations: 61.91 kB / 434.2 MB, free: 9.945 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.749e-05/0.3644, allocations: 40.12 kB / 434.2 MB, free: 9.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.059e-05/0.3644, allocations: 336.7 kB / 434.5 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.3646, allocations: 64.56 kB / 434.6 MB, free: 9.617 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.3647, allocations: 60.95 kB / 434.7 MB, free: 9.617 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002901/0.365, allocations: 148.7 kB / 434.8 MB, free: 9.605 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-06/0.365, allocations: 3.375 kB / 434.8 MB, free: 9.605 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004464/0.3655, allocations: 215.8 kB / 435 MB, free: 9.555 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.3655, allocations: 4.094 kB / 435 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.3655, allocations: 1.875 kB / 435 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.3655, allocations: 2.062 kB / 435 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003182/0.3658, allocations: 61.72 kB / 435.1 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.228e-06/0.3658, allocations: 4.156 kB / 435.1 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001585/0.366, allocations: 7.594 kB / 435.1 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.366, allocations: 5.906 kB / 435.1 MB, free: 9.555 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.0001096/0.3661, allocations: 130.6 kB / 435.2 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.698e-05/0.3662, allocations: 30.22 kB / 435.3 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004682/0.3666, allocations: 226.3 kB / 435.5 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.3666, allocations: 6.969 kB / 435.5 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.3667, allocations: 0 / 435.5 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.3667, allocations: 0.5 kB / 435.5 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003623/0.367, allocations: 325.9 kB / 435.8 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.367, allocations: 0 / 435.8 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003729/0.3674, allocations: 63.98 kB / 435.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.3674, allocations: 0 / 435.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.261e-05/0.3674, allocations: 7.75 kB / 435.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.3674, allocations: 4.188 kB / 435.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3674, allocations: 3.812 kB / 435.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005777/0.368, allocations: 392.4 kB / 436.3 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.712e-05/0.3681, allocations: 108.2 kB / 436.4 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.643e-05/0.3681, allocations: 6.422 kB / 436.4 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001982/0.3683, allocations: 9.891 kB / 436.4 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.119e-05/0.3684, allocations: 8.953 kB / 436.4 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.3684, allocations: 15.3 kB / 436.4 MB, free: 8.828 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002823/0.3687, allocations: 249.4 kB / 436.7 MB, free: 8.695 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3687, allocations: 3.562 kB / 436.7 MB, free: 8.695 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003208/0.369, allocations: 41.44 kB / 436.7 MB, free: 8.691 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.0007885/0.3698, allocations: 0.9279 MB / 437.6 MB, free: 7.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003778/0.3702, allocations: 143.4 kB / 437.8 MB, free: 7.887 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.3702, allocations: 1.062 kB / 437.8 MB, free: 7.887 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001683/0.3703, allocations: 85.02 kB / 437.9 MB, free: 7.863 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003951/0.3707, allocations: 39.95 kB / 437.9 MB, free: 7.844 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004225/0.375, allocations: 3.063 MB / 441 MB, free: 5.914 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/0.3752, allocations: 0.7635 MB / 441.7 MB, free: 5.215 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001647/0.3754, allocations: 31.33 kB / 441.7 MB, free: 5.215 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001713/0.3756, allocations: 92.84 kB / 441.8 MB, free: 5.148 MB / 350.1 MB Notification: Performance of SimCode: time 1.162e-06/0.3756, allocations: 0 / 441.8 MB, free: 5.148 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04007/0.4156, allocations: 5.723 MB / 447.6 MB, free: 4.559 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.021/9.436, allocations: 7.625 kB / 447.6 MB, free: 4.555 MB / 350.1 MB " [Timeout remaining time 650] (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: 12.133781548123807] 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.51188209792599 9.530186869 9.394747768 Calling exit ...