Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01493/0.01493, allocations: 173.6 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.268/2.268, allocations: 194.5 MB / 210.3 MB, free: 7.609 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001998/0.001997, allocations: 116.7 kB / 255.6 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2624/0.2624, allocations: 40 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004878/0.0004878, allocations: 11.78 kB / 406.3 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1088, allocations: 54.87 MB / 461.1 MB, free: 3.199 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.879/7.988, allocations: 2.596 GB / 3.046 GB, free: 73.04 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003106/7.988, allocations: 87.33 kB / 3.046 GB, free: 72.99 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.938/9.927, allocations: 356.4 MB / 3.394 GB, free: 66.32 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.144e-06/9.927, allocations: 0 / 3.394 GB, free: 66.32 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.34e-05/9.927, allocations: 15.81 kB / 3.394 GB, free: 66.31 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.007886/9.935, allocations: 1.713 MB / 3.396 GB, free: 65.4 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/9.935, allocations: 11.41 kB / 3.396 GB, free: 65.4 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002895/9.935, allocations: 110.9 kB / 3.396 GB, free: 65.32 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005144/9.94, allocations: 436.9 kB / 3.397 GB, free: 65.27 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001762/9.942, allocations: 0.5838 MB / 3.397 GB, free: 64.89 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001505/9.942, allocations: 114.5 kB / 3.397 GB, free: 64.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001476/9.942, allocations: 59.12 kB / 3.397 GB, free: 64.78 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004177/9.947, allocations: 1.16 MB / 3.399 GB, free: 64.31 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.978e-05/9.947, allocations: 3.938 kB / 3.399 GB, free: 64.31 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001232/9.947, allocations: 23.69 kB / 3.399 GB, free: 64.29 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.59e-05/9.947, allocations: 35.59 kB / 3.399 GB, free: 64.29 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004334/9.951, allocations: 1.08 MB / 3.4 GB, free: 64.01 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009381/9.961, allocations: 4.946 MB / 3.404 GB, free: 60.24 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003946/9.965, allocations: 0.8314 MB / 3.405 GB, free: 60.01 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1043/10.07, allocations: 32.8 MB / 3.437 GB, free: 39.64 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.476e-05/10.07, allocations: 38.91 kB / 3.437 GB, free: 39.59 MB / 490.7 MB Notification: Performance of pre-optimization done (n=46): time 4.278e-06/10.07, allocations: 0 / 3.437 GB, free: 39.59 MB / 490.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: Volume.medium.h Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=59): time 0.0442/10.11, allocations: 5.431 MB / 3.443 GB, free: 37.84 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.098e-05/10.11, allocations: 107 kB / 3.443 GB, free: 37.71 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008874/10.11, allocations: 499.1 kB / 3.443 GB, free: 37.49 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001686/10.11, allocations: 33.7 kB / 3.443 GB, free: 37.45 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002589/10.11, allocations: 358 kB / 3.444 GB, free: 37.17 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002335/10.12, allocations: 203.8 kB / 3.444 GB, free: 37.01 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/10.12, allocations: 15.91 kB / 3.444 GB, free: 37 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001319/10.12, allocations: 374.5 kB / 3.444 GB, free: 36.66 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001811/10.12, allocations: 489.6 kB / 3.445 GB, free: 36.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001939/10.12, allocations: 0.7082 MB / 3.445 GB, free: 36.06 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001898/10.12, allocations: 0.5125 MB / 3.446 GB, free: 35.87 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/10.12, allocations: 6.625 kB / 3.446 GB, free: 35.86 MB / 490.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.005927/10.13, allocations: 1.634 MB / 3.447 GB, free: 35.26 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006492/10.13, allocations: 2.706 MB / 3.45 GB, free: 32.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/10.13, allocations: 7.344 kB / 3.45 GB, free: 32.38 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004251/10.13, allocations: 1.185 MB / 3.451 GB, free: 32.13 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/10.13, allocations: 156.6 kB / 3.451 GB, free: 32.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005985/10.14, allocations: 2.799 MB / 3.454 GB, free: 30.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001771/10.14, allocations: 98.28 kB / 3.454 GB, free: 30.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001398/10.14, allocations: 46.11 kB / 3.454 GB, free: 30.11 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/10.14, allocations: 3.875 kB / 3.454 GB, free: 30.11 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005426/10.15, allocations: 1.44 MB / 3.456 GB, free: 29.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.379e-05/10.15, allocations: 6.594 kB / 3.456 GB, free: 29.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003263/10.15, allocations: 1.027 MB / 3.457 GB, free: 29.37 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/10.15, allocations: 166.1 kB / 3.457 GB, free: 29.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007398/10.16, allocations: 5.052 MB / 3.462 GB, free: 25.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001664/10.16, allocations: 87.58 kB / 3.462 GB, free: 25.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000134/10.16, allocations: 46.66 kB / 3.462 GB, free: 25.11 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 9 (Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase,Sink.medium.phase,Volume.regularFlow[2],Volume.regularFlow[1],Valve.state_b.phase,Valve.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 7,2 1,3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0007363/10.16, allocations: 333.5 kB / 3.462 GB, free: 24.85 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002383/10.16, allocations: 63.83 kB / 3.462 GB, free: 24.81 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009629/10.17, allocations: 4.541 MB / 3.467 GB, free: 21.45 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.116e-05/10.17, allocations: 53.19 kB / 3.467 GB, free: 21.42 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/10.17, allocations: 4 kB / 3.467 GB, free: 21.41 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.273e-05/10.17, allocations: 3.609 kB / 3.467 GB, free: 21.41 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01368/10.19, allocations: 6.487 MB / 3.473 GB, free: 15.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/10.19, allocations: 0 / 3.473 GB, free: 15.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006936/10.19, allocations: 92.67 kB / 3.473 GB, free: 15.69 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00607/10.19, allocations: 2.263 MB / 3.475 GB, free: 13.93 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001846/10.19, allocations: 19.56 kB / 3.475 GB, free: 13.92 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00728/10.2, allocations: 4.075 MB / 3.479 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/10.2, allocations: 0 / 3.479 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007391/10.21, allocations: 3.404 MB / 3.483 GB, free: 7.086 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000853/10.21, allocations: 375 kB / 3.483 GB, free: 6.742 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000187/10.21, allocations: 16 kB / 3.483 GB, free: 6.727 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001498/10.21, allocations: 90.27 kB / 3.483 GB, free: 6.66 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003027/10.21, allocations: 69.48 kB / 3.483 GB, free: 6.621 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/10.21, allocations: 27.56 kB / 3.483 GB, free: 6.598 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008518/10.21, allocations: 466.7 kB / 3.484 GB, free: 6.215 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.9e-07/10.21, allocations: 11.88 kB / 3.484 GB, free: 6.203 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007972/10.22, allocations: 1.431 MB / 3.485 GB, free: 4.805 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 29 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse14.phase,$cse14.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase,Sink.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 8,2 1,3 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.01788/10.24, allocations: 5.103 MB / 3.49 GB, free: 352 kB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01509/10.25, allocations: 2.858 MB / 3.493 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.286e-06/10.25, allocations: 0 / 3.493 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005491/10.26, allocations: 1.323 MB / 3.494 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002715/10.26, allocations: 285.9 kB / 3.495 GB, free: 13 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6372/10.9, allocations: 87.28 MB / 3.58 GB, free: 69.67 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007748/10.9, allocations: 1.222 MB / 3.581 GB, free: 68.95 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001999/10.9, allocations: 0.7325 MB / 3.582 GB, free: 68.91 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006206/10.9, allocations: 423.1 kB / 3.582 GB, free: 68.91 MB / 0.4948 GB Notification: Performance of SimCode: time 1.022e-06/10.9, allocations: 0 / 3.582 GB, free: 68.91 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2688/11.17, allocations: 61.21 MB / 3.642 GB, free: 53.52 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002996/11.17, allocations: 254.4 kB / 3.642 GB, free: 53.18 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.204/16.37, allocations: 4 kB / 3.642 GB, free: 53.18 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume_res.mat does not exist to compare? outputFormat=mat