Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes17",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01421/0.01421, allocations: 165.6 kB / 15.11 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.619/1.619, allocations: 170.8 MB / 186.6 MB, free: 1.129 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001988/0.001987, allocations: 107.4 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.441/0.441, allocations: 38.05 MB / 303.7 MB, free: 42.33 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004682/0.0004682, allocations: 16 kB / 363 MB, free: 5.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1125, allocations: 48.71 MB / 411.7 MB, free: 4.711 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.186/2.299, allocations: 0.6812 GB / 1.083 GB, free: 21.1 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003357/2.299, allocations: 79.16 kB / 1.083 GB, free: 21.06 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.672/5.971, allocations: 0.6153 GB / 1.699 GB, free: 26.25 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.306e-06/5.971, allocations: 0 / 1.699 GB, free: 26.25 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003367/5.971, allocations: 68.81 kB / 1.699 GB, free: 26.24 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 448 * Number of variables: 448 Notification: Performance of Generate backend data structure: time 0.01568/5.987, allocations: 3.482 MB / 1.702 GB, free: 24.69 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/5.987, allocations: 12.62 kB / 1.702 GB, free: 24.69 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00149/5.989, allocations: 265.1 kB / 1.702 GB, free: 24.64 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004997/5.994, allocations: 468.6 kB / 1.703 GB, free: 24.52 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008776/6.002, allocations: 2.009 MB / 1.705 GB, free: 24.07 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002298/6.003, allocations: 130.6 kB / 1.705 GB, free: 24.07 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001014/6.004, allocations: 173.4 kB / 1.705 GB, free: 24.07 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008271/6.012, allocations: 2.737 MB / 1.708 GB, free: 23.61 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.889e-05/6.012, allocations: 5.438 kB / 1.708 GB, free: 23.61 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000473/6.013, allocations: 81.25 kB / 1.708 GB, free: 23.61 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003023/6.013, allocations: 155.5 kB / 1.708 GB, free: 23.6 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007876/6.021, allocations: 2.335 MB / 1.71 GB, free: 23.59 MB / 458.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.02768/6.049, allocations: 11.51 MB / 1.721 GB, free: 17.37 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005513/6.054, allocations: 1.858 MB / 1.723 GB, free: 17.04 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001584/6.056, allocations: 460.9 kB / 1.724 GB, free: 16.75 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003687/6.06, allocations: 1.215 MB / 1.725 GB, free: 16.63 MB / 458.7 MB Notification: Performance of pre-optimization done (n=168): time 6.202e-06/6.06, allocations: 0 / 1.725 GB, free: 16.63 MB / 458.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: pipe1.mediums[1].T 2: pipe2.mediums[1].T 3: pipe3.mediums[1].T 4: junctionIdeal.medium.T 5: junctionVolume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=196): time 0.05301/6.113, allocations: 12.19 MB / 1.737 GB, free: 14.5 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/6.113, allocations: 259.6 kB / 1.737 GB, free: 14.21 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002863/6.116, allocations: 1.397 MB / 1.738 GB, free: 14.03 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000689/6.116, allocations: 69.55 kB / 1.738 GB, free: 14 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009412/6.117, allocations: 0.9166 MB / 1.739 GB, free: 13.66 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009968/6.118, allocations: 0.6672 MB / 1.74 GB, free: 13.23 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003182/6.119, allocations: 43.41 kB / 1.74 GB, free: 13.23 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001568/6.119, allocations: 393.4 kB / 1.74 GB, free: 12.93 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003026/6.122, allocations: 1.073 MB / 1.742 GB, free: 12.92 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003576/6.126, allocations: 1.566 MB / 1.743 GB, free: 12.43 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003718/6.129, allocations: 1.359 MB / 1.744 GB, free: 12.34 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.098e-05/6.129, allocations: 5.969 kB / 1.744 GB, free: 12.34 MB / 458.7 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.009898/6.139, allocations: 3.352 MB / 1.748 GB, free: 12 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001886/6.141, allocations: 4.836 MB / 1.752 GB, free: 22.93 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.325e-05/6.141, allocations: 17.84 kB / 1.752 GB, free: 22.93 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001379/6.143, allocations: 313.7 kB / 1.753 GB, free: 22.88 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004925/6.148, allocations: 0.5633 MB / 1.753 GB, free: 22.86 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003088/6.151, allocations: 3.013 MB / 1.756 GB, free: 20.25 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004579/6.155, allocations: 216.8 kB / 1.756 GB, free: 20.23 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006502/6.156, allocations: 201.9 kB / 1.757 GB, free: 20.23 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/6.156, allocations: 3.875 kB / 1.757 GB, free: 20.23 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009044/6.165, allocations: 3.07 MB / 1.76 GB, free: 19.23 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-05/6.165, allocations: 11.53 kB / 1.76 GB, free: 19.23 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001219/6.166, allocations: 303.2 kB / 1.76 GB, free: 19.15 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004513/6.171, allocations: 0.5633 MB / 1.76 GB, free: 19.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00306/6.174, allocations: 3.011 MB / 1.763 GB, free: 16.35 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004218/6.178, allocations: 222 kB / 1.764 GB, free: 16.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005739/6.179, allocations: 203.4 kB / 1.764 GB, free: 16.28 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,valveOpening1.a,valveOpening1.b,valveOpening1.last,$PRE.valveOpening1.nextEvent,valveOpening1.nextEvent,valveOpening2.a,valveOpening2.b,valveOpening2.last,$PRE.valveOpening2.nextEvent,valveOpening2.nextEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (265): * Single equations (assignments): 258 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 1,1 1,1 1,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.002071/6.181, allocations: 0.7066 MB / 1.764 GB, free: 15.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007013/6.182, allocations: 216.8 kB / 1.765 GB, free: 15.69 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0129/6.195, allocations: 3.812 MB / 1.768 GB, free: 14.27 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.75e-05/6.195, allocations: 25.17 kB / 1.768 GB, free: 14.27 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/6.195, allocations: 0 / 1.768 GB, free: 14.27 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007917/6.203, allocations: 2.972 MB / 1.771 GB, free: 12.88 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02078/6.223, allocations: 7.038 MB / 1.778 GB, free: 9.719 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.822e-05/6.224, allocations: 15.62 kB / 1.778 GB, free: 9.715 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003683/6.227, allocations: 459.6 kB / 1.779 GB, free: 9.676 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001453/6.229, allocations: 323.6 kB / 1.779 GB, free: 9.586 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003841/6.229, allocations: 109.6 kB / 1.779 GB, free: 9.555 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003938/6.233, allocations: 3.75 MB / 1.783 GB, free: 6.02 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-05/6.233, allocations: 15.69 kB / 1.783 GB, free: 6.012 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01333/6.246, allocations: 4.978 MB / 1.788 GB, free: 1.758 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002272/6.249, allocations: 0.5412 MB / 1.788 GB, free: 1.273 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007527/6.25, allocations: 59.42 kB / 1.788 GB, free: 1.219 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002927/6.253, allocations: 131.7 kB / 1.788 GB, free: 1.113 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005794/6.253, allocations: 186.4 kB / 1.788 GB, free: 0.9883 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005416/6.254, allocations: 183 kB / 1.789 GB, free: 0.8242 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00289/6.257, allocations: 1.074 MB / 1.79 GB, free: 0 / 474.7 MB Notification: Performance of sort global known variables: time 8.22e-07/6.257, allocations: 336 / 1.79 GB, free: 0 / 474.7 MB Notification: Performance of remove unused functions: time 0.01141/6.268, allocations: 2.11 MB / 1.792 GB, free: 14.13 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 9 (pipe1.mediums[1].p,pipe1.mediums[1].T,pipe2.mediums[1].p,pipe2.mediums[1].T,pipe3.mediums[1].p,pipe3.mediums[1].T,junctionIdeal.medium.p,junctionIdeal.medium.T,junctionVolume.medium.T) * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,valveOpening1.a,valveOpening1.b,valveOpening1.last,valveOpening1.nextEvent,valveOpening2.a,valveOpening2.b,valveOpening2.last,valveOpening2.nextEvent) * Number of discrete states: 10 (valveOpening2.last,valveOpening2.nextEvent,valveOpening2.b,valveOpening2.a,$whenCondition2,valveOpening1.last,valveOpening1.nextEvent,valveOpening1.b,valveOpening1.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (205): * Single equations (assignments): 198 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 4 {1 6,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.02404/6.292, allocations: 9.573 MB / 1.801 GB, free: 5.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0145/6.307, allocations: 4.536 MB / 1.806 GB, free: 1.496 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.702e-05/6.307, allocations: 4 kB / 1.806 GB, free: 1.492 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004879/6.312, allocations: 1.607 MB / 1.807 GB, free: 52 kB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.456/6.768, allocations: 1.066 MB / 1.808 GB, free: 55.17 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03199/6.8, allocations: 17.44 MB / 1.825 GB, free: 43.87 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001665/6.801, allocations: 1.761 MB / 1.827 GB, free: 43.14 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.009081/6.811, allocations: 1.391 MB / 1.828 GB, free: 43.12 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003276/6.814, allocations: 1.034 MB / 1.829 GB, free: 43.11 MB / 490.7 MB Notification: Performance of SimCode: time 1.172e-06/6.814, allocations: 1.219 kB / 1.829 GB, free: 43.11 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2305/7.044, allocations: 101.5 MB / 1.928 GB, free: 33.23 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002796/7.045, allocations: 251.7 kB / 1.929 GB, free: 32.88 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.309/14.35, allocations: 0 / 1.929 GB, free: 32.88 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17_res.mat does not exist to compare? outputFormat=mat