Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.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.001555/0.001555, allocations: 109.4 kB / 19.8 MB, free: 2.516 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.001932/0.001932, allocations: 213.8 kB / 23 MB, free: 5.609 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.575/1.575, allocations: 230.4 MB / 256.5 MB, free: 8.434 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.ControlledMixingUnit,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Systems_ControlledMixingUnit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Systems.ControlledMixingUnit,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Systems_ControlledMixingUnit",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.001923/0.001923, allocations: 63.89 kB / 376.2 MB, free: 4.117 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3074, allocations: 53.31 MB / 429.5 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.003602/0.311, allocations: 2.253 MB / 431.8 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.3122, allocations: 0.6238 MB / 432.4 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.3123, allocations: 4 kB / 432.4 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001211/0.3124, allocations: 27.61 kB / 432.4 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002659/0.3127, allocations: 79.41 kB / 432.5 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002444/0.3129, allocations: 75.84 kB / 432.6 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003227/0.3132, allocations: 279 kB / 432.9 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001511/0.3134, allocations: 48.73 kB / 432.9 MB, free: 3.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002319/0.3136, allocations: 127.4 kB / 433 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000197/0.3138, allocations: 147.2 kB / 433.2 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.995e-05/0.3139, allocations: 20 kB / 433.2 MB, free: 3.691 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.853e-05/0.3139, allocations: 24 kB / 433.2 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.507e-05/0.314, allocations: 71.62 kB / 433.3 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001449/0.3141, allocations: 127.1 kB / 433.4 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003185/0.3144, allocations: 259 kB / 433.7 MB, free: 3.223 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3144, allocations: 0 / 433.7 MB, free: 3.223 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3144, allocations: 0 / 433.7 MB, free: 3.223 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.969e-06/0.3145, allocations: 0 / 433.7 MB, free: 3.223 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001237/0.3157, allocations: 0.6229 MB / 434.3 MB, free: 2.551 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.3157, allocations: 12.03 kB / 434.3 MB, free: 2.539 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.404e-05/0.3158, allocations: 46.73 kB / 434.3 MB, free: 2.484 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.923e-05/0.3159, allocations: 36.7 kB / 434.4 MB, free: 2.449 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004765/0.3163, allocations: 320.6 kB / 434.7 MB, free: 2.102 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.3163, allocations: 16.22 kB / 434.7 MB, free: 2.086 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.882e-05/0.3164, allocations: 12 kB / 434.7 MB, free: 2.074 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006345/0.317, allocations: 377.9 kB / 435.1 MB, free: 1.684 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.317, allocations: 0 / 435.1 MB, free: 1.684 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.94e-05/0.3171, allocations: 11.98 kB / 435.1 MB, free: 1.672 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.914e-06/0.3171, allocations: 4 kB / 435.1 MB, free: 1.668 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000208/0.3173, allocations: 91.89 kB / 435.2 MB, free: 1.578 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007736/0.3181, allocations: 0.5172 MB / 435.7 MB, free: 1.004 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000681/0.3188, allocations: 308 kB / 436 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002235/0.319, allocations: 132.5 kB / 436.1 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.905e-05/0.319, allocations: 3.984 kB / 436.1 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.121e-05/0.3191, allocations: 46.5 kB / 436.2 MB, free: 492 kB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.352e-06/0.3191, allocations: 3.938 kB / 436.2 MB, free: 488 kB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.00249/0.3215, allocations: 1.347 MB / 437.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.3217, allocations: 134.8 kB / 437.7 MB, free: 14.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004659/0.3221, allocations: 324.6 kB / 438 MB, free: 14.56 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.316e-05/0.3222, allocations: 33.7 kB / 438 MB, free: 14.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.3223, allocations: 145.1 kB / 438.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.368e-05/0.3223, allocations: 47.67 kB / 438.2 MB, free: 14.33 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.009e-05/0.3224, allocations: 74.12 kB / 438.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.3226, allocations: 350.8 kB / 438.6 MB, free: 13.9 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.3227, allocations: 76.83 kB / 438.7 MB, free: 13.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003552/0.3231, allocations: 310.8 kB / 439 MB, free: 13.4 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004772/0.3235, allocations: 420.8 kB / 439.4 MB, free: 12.87 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.3236, allocations: 4 kB / 439.4 MB, free: 12.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007379/0.3243, allocations: 409.5 kB / 439.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.3243, allocations: 11.94 kB / 439.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.3243, allocations: 12.16 kB / 439.8 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.287e-05/0.3243, allocations: 12 kB / 439.8 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002635/0.3246, allocations: 91.83 kB / 439.9 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.804e-05/0.3246, allocations: 15.94 kB / 440 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002137/0.3248, allocations: 31.88 kB / 440 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.001e-05/0.3249, allocations: 24 kB / 440 MB, free: 12.26 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 6 (filter.x[1],invMixingUnit.T,invMixingUnit.c,$DER.filter.x[1],$DER.invMixingUnit.c,$DER.invMixingUnit.T) * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 51 * 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.0001753/0.325, allocations: 165.6 kB / 440.2 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004852/0.3255, allocations: 296.8 kB / 440.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007057/0.3262, allocations: 383.5 kB / 440.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.269e-06/0.3262, allocations: 4 kB / 440.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3262, allocations: 0 / 440.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.3262, allocations: 3.984 kB / 440.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000402/0.3267, allocations: 329.3 kB / 441.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/0.3267, allocations: 0 / 441.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005571/0.3272, allocations: 119.8 kB / 441.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.3272, allocations: 8 kB / 441.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.659e-05/0.3272, allocations: 12 kB / 441.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.3272, allocations: 3.938 kB / 441.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.3272, allocations: 4 kB / 441.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.3283, allocations: 0.7151 MB / 442 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.3284, allocations: 124.9 kB / 442.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.253e-05/0.3284, allocations: 15.98 kB / 442.2 MB, free: 9.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002333/0.3287, allocations: 11.98 kB / 442.2 MB, free: 9.984 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.742e-05/0.3287, allocations: 8 kB / 442.2 MB, free: 9.977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.282e-05/0.3287, allocations: 12.06 kB / 442.2 MB, free: 9.965 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000265/0.329, allocations: 247 kB / 442.4 MB, free: 9.723 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.329, allocations: 0 / 442.4 MB, free: 9.723 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004231/0.3294, allocations: 60 kB / 442.5 MB, free: 9.664 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mixingUnit.c,mixingUnit.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 6 ($DER.invMixingUnit.T,$DER.invMixingUnit.c,$DER.filter.x[1],invMixingUnit.c,invMixingUnit.T,filter.x[1]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * 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.001479/0.3309, allocations: 1.284 MB / 443.8 MB, free: 8.348 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005875/0.3315, allocations: 281.8 kB / 444.1 MB, free: 8.074 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3315, allocations: 0 / 444.1 MB, free: 8.074 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.143e-05/0.3316, allocations: 31.92 kB / 444.1 MB, free: 8.035 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007197/0.3323, allocations: 188.6 kB / 444.3 MB, free: 7.852 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005201/0.3375, allocations: 3.818 MB / 448.1 MB, free: 3.711 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005097/0.338, allocations: 0.8112 MB / 448.9 MB, free: 2.875 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002133/0.3382, allocations: 39.25 kB / 448.9 MB, free: 2.836 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001906/0.3384, allocations: 119.4 kB / 449.1 MB, free: 2.719 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3384, allocations: 3.938 kB / 449.1 MB, free: 2.715 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03449/0.3729, allocations: 7.221 MB / 456.3 MB, free: 11.59 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.118/9.49, allocations: 11.98 kB / 456.3 MB, free: 11.57 MB / 366.1 MB " [Timeout remaining time 650] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Systems_ControlledMixingUnit_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Systems_ControlledMixingUnit.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.007547230983619] 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.567376062012045 9.59007066 9.272117215 Calling exit ...