Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.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.001408/0.001408, allocations: 105 kB / 19.74 MB, free: 2.453 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.001556/0.001556, allocations: 216.1 kB / 22.92 MB, free: 5.195 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.282/1.282, allocations: 230.4 MB / 256.4 MB, free: 8.27 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.Fluid.Examples.Explanatory.MomentumBalanceFittings,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Fluid_Examples_Explanatory_MomentumBalanceFittings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Fluid_Examples_Explanatory_MomentumBalanceFittings",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.001808/0.001808, allocations: 71.83 kB / 376.1 MB, free: 4.109 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.2003, allocations: 53.32 MB / 429.4 MB, free: 7.461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings): time 0.05927/0.2596, allocations: 63.98 MB / 493.4 MB, free: 7.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02579/0.2854, allocations: 22.59 MB / 0.5039 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008172/0.2862, allocations: 27.81 kB / 0.5039 GB, free: 0.582 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001582/0.2878, allocations: 0.7298 MB / 0.5046 GB, free: 15.84 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01329/0.301, allocations: 5.817 MB / 0.5103 GB, free: 10.03 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008015/0.3091, allocations: 3.488 MB / 0.5137 GB, free: 6.543 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01702/0.3261, allocations: 9.063 MB / 0.5225 GB, free: 13.36 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001013/0.3271, allocations: 0.5831 MB / 0.5231 GB, free: 12.77 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001729/0.3288, allocations: 1.082 MB / 0.5242 GB, free: 11.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001022/0.3298, allocations: 0.8558 MB / 0.525 GB, free: 10.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001443/0.33, allocations: 92 kB / 0.5251 GB, free: 10.73 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0134/0.3434, allocations: 7.695 MB / 0.5326 GB, free: 3.031 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002997/0.3437, allocations: 286.8 kB / 0.5329 GB, free: 2.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007572/0.3444, allocations: 0.7192 MB / 0.5336 GB, free: 2.027 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1929/0.5373, allocations: 5.778 MB / 0.5392 GB, free: 24.42 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.5374, allocations: 0 / 0.5392 GB, free: 24.42 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.5374, allocations: 0 / 0.5392 GB, free: 24.42 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.407e-05/0.5374, allocations: 0 / 0.5392 GB, free: 24.42 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.006101/0.5435, allocations: 2.535 MB / 0.5417 GB, free: 23.29 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.5435, allocations: 9 kB / 0.5417 GB, free: 23.29 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001425/0.5436, allocations: 156.1 kB / 0.5418 GB, free: 23.25 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004247/0.5479, allocations: 0.6655 MB / 0.5425 GB, free: 23.18 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001441/0.5493, allocations: 1.042 MB / 0.5435 GB, free: 22.84 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.977e-05/0.5494, allocations: 75.55 kB / 0.5436 GB, free: 22.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.5495, allocations: 102.8 kB / 0.5437 GB, free: 22.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002839/0.5523, allocations: 1.672 MB / 0.5453 GB, free: 22.46 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/0.5523, allocations: 11.06 kB / 0.5453 GB, free: 22.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.192e-05/0.5524, allocations: 45.94 kB / 0.5454 GB, free: 22.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.701e-05/0.5525, allocations: 26.97 kB / 0.5454 GB, free: 22.46 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002719/0.5552, allocations: 1.462 MB / 0.5468 GB, free: 22.46 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006525/0.5617, allocations: 8.406 MB / 0.555 GB, free: 16.85 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002417/0.5641, allocations: 1.637 MB / 0.5566 GB, free: 16.05 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004529/0.5646, allocations: 367.2 kB / 0.557 GB, free: 16.04 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1203/0.6848, allocations: 70.65 MB / 0.626 GB, free: 1.43 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.543e-05/0.6849, allocations: 38.75 kB / 0.626 GB, free: 1.383 MB / 494.1 MB Notification: Performance of pre-optimization done (n=77): time 2.305e-06/0.6849, allocations: 4 kB / 0.626 GB, free: 1.379 MB / 494.1 MB Notification: Performance of matching and sorting (n=77): time 0.005427/0.6903, allocations: 1.994 MB / 0.628 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.872e-05/0.6904, allocations: 192.5 kB / 0.6282 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/0.6915, allocations: 0.9682 MB / 0.6291 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.483e-05/0.6915, allocations: 41.08 kB / 0.6291 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003623/0.6919, allocations: 0.5863 MB / 0.6297 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002076/0.6921, allocations: 286 kB / 0.63 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002771/0.6924, allocations: 238.8 kB / 0.6302 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.6925, allocations: 343.9 kB / 0.6305 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004805/0.693, allocations: 303 kB / 0.6308 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008044/0.6938, allocations: 0.7404 MB / 0.6315 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001303/0.6951, allocations: 1.101 MB / 0.6326 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.183e-06/0.6951, allocations: 4 kB / 0.6326 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.001851/0.697, allocations: 1.25 MB / 0.6338 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.697, allocations: 19.59 kB / 0.6339 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/0.697, allocations: 15.98 kB / 0.6339 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003021/0.7, allocations: 0.5176 MB / 0.6344 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009757/0.701, allocations: 283.3 kB / 0.6347 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001004/0.702, allocations: 1.377 MB / 0.636 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007245/0.7027, allocations: 135.5 kB / 0.6361 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.553e-05/0.7028, allocations: 67.69 kB / 0.6362 GB, free: 8.691 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 20 (rightAdaptor.state_b.phase,rightAdaptor.state_a.phase,rightAdaptor.state_a_nondes.phase,rightAdaptor.state_b_des.phase,leftAdaptor.state_b.phase,leftAdaptor.state_a.phase,leftAdaptor.state_a_nondes.phase,leftAdaptor.state_b_des.phase,suddenExpansion2.state_b.phase,suddenExpansion2.state_a.phase,suddenExpansion2.state_a_nondes.phase,suddenExpansion2.state_b_des.phase,rightBoundary2.medium.phase,leftBoundary2.medium.phase,suddenExpansion1.state_b.phase,suddenExpansion1.state_a.phase,suddenExpansion1.state_a_nondes.phase,suddenExpansion1.state_b_des.phase,rightBoundary1.medium.phase,leftBoundary1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003684/0.7032, allocations: 300 kB / 0.6365 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000213/0.7034, allocations: 135.1 kB / 0.6366 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004132/0.7075, allocations: 4.407 MB / 0.6409 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.54e-05/0.7076, allocations: 43.61 kB / 0.641 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.7076, allocations: 8 kB / 0.641 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.7076, allocations: 3.984 kB / 0.641 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004696/0.7123, allocations: 4.88 MB / 0.6457 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.7123, allocations: 0 / 0.6457 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007438/0.713, allocations: 177.8 kB / 0.6459 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001352/0.7144, allocations: 0.6656 MB / 0.6466 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.055e-05/0.7144, allocations: 25.11 kB / 0.6466 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001274/0.7157, allocations: 1.754 MB / 0.6483 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.7157, allocations: 7.75 kB / 0.6483 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002132/0.7178, allocations: 1.996 MB / 0.6502 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003102/0.7181, allocations: 277 kB / 0.6505 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001503/0.7183, allocations: 42.8 kB / 0.6506 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004646/0.7188, allocations: 24.8 kB / 0.6506 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.42e-05/0.7188, allocations: 51.81 kB / 0.6506 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.018e-05/0.7189, allocations: 34.22 kB / 0.6507 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009356/0.7198, allocations: 0.8295 MB / 0.6515 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.7198, allocations: 0 / 0.6515 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004718/0.7245, allocations: 1.286 MB / 0.6527 GB, free: 12.12 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 24 ($cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006974/0.7315, allocations: 3.717 MB / 0.6564 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002274/0.7338, allocations: 1.207 MB / 0.6575 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.7338, allocations: 1.688 kB / 0.6575 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001322/0.7351, allocations: 0.7313 MB / 0.6582 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003072/0.7382, allocations: 0.723 MB / 0.659 GB, free: 6.934 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01541/0.7536, allocations: 11.12 MB / 0.6698 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008367/0.7544, allocations: 1.32 MB / 0.6711 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001197/0.7556, allocations: 0.6319 MB / 0.6717 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007577/0.7564, allocations: 0.6672 MB / 0.6724 GB, free: 8.734 MB / 0.5294 GB Notification: Performance of SimCode: time 6.81e-07/0.7564, allocations: 0 / 0.6724 GB, free: 8.734 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2774/1.034, allocations: 73.46 MB / 0.7441 GB, free: 264.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.96/15.99, allocations: 7 kB / 0.7441 GB, free: 264.8 MB / 0.5919 GB " [Timeout remaining time 644] (rm -f Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Fluid_Examples_Explanatory_MomentumBalanceFittings_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Fluid_Examples_Explanatory_MomentumBalanceFittings.fmu > Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.169660760002444]