Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.FMI.Validation.FlowSplitter_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Annex60.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.FMI.Validation.FlowSplitter_u") translateModel(Annex60.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.FMI.Validation.FlowSplitter_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 98.77 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.565/1.565, allocations: 205.4 MB / 222.1 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3905/0.3905, allocations: 54.99 MB / 325.4 MB, free: 0.6484 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005431/0.0005432, allocations: 12 kB / 396.6 MB, free: 11.72 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3238, allocations: 60.72 MB / 457.3 MB, free: 37.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.FMI.Validation.FlowSplitter_u): time 0.1663/0.4901, allocations: 139.2 MB / 0.5825 GB, free: 12.09 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006917/0.4971, allocations: 4.475 MB / 0.5869 GB, free: 7.613 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002829/0.4975, allocations: 11.94 kB / 0.5869 GB, free: 7.602 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003558/0.4978, allocations: 35.81 kB / 0.5869 GB, free: 7.566 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00042/0.4983, allocations: 79.7 kB / 0.587 GB, free: 7.488 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001995/0.4985, allocations: 27.97 kB / 0.587 GB, free: 7.461 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005999/0.4991, allocations: 182.1 kB / 0.5872 GB, free: 7.285 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003006/0.4994, allocations: 68.28 kB / 0.5873 GB, free: 7.223 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003794/0.4998, allocations: 79.69 kB / 0.5873 GB, free: 7.145 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001509/0.5, allocations: 48.89 kB / 0.5874 GB, free: 7.098 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.5, allocations: 4 kB / 0.5874 GB, free: 7.094 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.306e-05/0.5001, allocations: 4 kB / 0.5874 GB, free: 7.09 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 4e-05/0.5001, allocations: 23.84 kB / 0.5874 GB, free: 7.066 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.657e-05/0.5002, allocations: 53.64 kB / 0.5875 GB, free: 7.008 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.5003, allocations: 112.8 kB / 0.5876 GB, free: 6.906 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.5003, allocations: 4 kB / 0.5876 GB, free: 6.902 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.5004, allocations: 0 / 0.5876 GB, free: 6.902 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.5004, allocations: 0 / 0.5876 GB, free: 6.902 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0006494/0.501, allocations: 418.4 kB / 0.588 GB, free: 6.453 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.5011, allocations: 12.03 kB / 0.588 GB, free: 6.441 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.888e-05/0.5012, allocations: 15.81 kB / 0.588 GB, free: 6.426 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003483/0.5015, allocations: 236.5 kB / 0.5882 GB, free: 6.156 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.5015, allocations: 9.219 kB / 0.5882 GB, free: 6.148 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.5016, allocations: 12 kB / 0.5883 GB, free: 6.137 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002732/0.5018, allocations: 172.4 kB / 0.5884 GB, free: 5.938 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.5019, allocations: 0.8125 kB / 0.5884 GB, free: 5.938 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.335e-05/0.5019, allocations: 8 kB / 0.5884 GB, free: 5.93 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.5019, allocations: 4 kB / 0.5884 GB, free: 5.926 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/0.502, allocations: 67.83 kB / 0.5885 GB, free: 5.859 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0011/0.5032, allocations: 1.152 MB / 0.5896 GB, free: 4.629 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.5033, allocations: 169.1 kB / 0.5898 GB, free: 4.453 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.061e-05/0.5033, allocations: 79.28 kB / 0.5899 GB, free: 4.375 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.896e-05/0.5034, allocations: 109.9 kB / 0.59 GB, free: 4.258 MB / 462.1 MB Notification: Performance of pre-optimization done (n=0): time 1.482e-06/0.5034, allocations: 0 / 0.59 GB, free: 4.258 MB / 462.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001284/0.5035, allocations: 49.45 kB / 0.59 GB, free: 4.203 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.5037, allocations: 187.3 kB / 0.5902 GB, free: 3.996 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003529/0.504, allocations: 241 kB / 0.5904 GB, free: 3.754 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.5041, allocations: 29.7 kB / 0.5904 GB, free: 3.719 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.5042, allocations: 135.8 kB / 0.5906 GB, free: 3.582 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.44e-06/0.5042, allocations: 0 / 0.5906 GB, free: 3.582 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-06/0.5042, allocations: 3.938 kB / 0.5906 GB, free: 3.578 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.5044, allocations: 330.8 kB / 0.5909 GB, free: 3.246 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.84e-05/0.5044, allocations: 7.984 kB / 0.5909 GB, free: 3.238 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.77e-05/0.5045, allocations: 69.36 kB / 0.591 GB, free: 3.145 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.283e-05/0.5046, allocations: 19.98 kB / 0.591 GB, free: 3.125 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.5046, allocations: 3.953 kB / 0.591 GB, free: 3.121 MB / 462.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002199/0.5048, allocations: 85.41 kB / 0.5911 GB, free: 3.031 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.5049, allocations: 9.219 kB / 0.5911 GB, free: 3.023 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.5049, allocations: 3.984 kB / 0.5911 GB, free: 3.02 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.5049, allocations: 0 / 0.5911 GB, free: 3.02 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.376e-05/0.505, allocations: 8 kB / 0.5911 GB, free: 3.012 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.505, allocations: 4.859 kB / 0.5911 GB, free: 3.008 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001285/0.5052, allocations: 15.78 kB / 0.5911 GB, free: 2.992 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.5052, allocations: 4 kB / 0.5911 GB, free: 2.988 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001849/0.5054, allocations: 213.2 kB / 0.5913 GB, free: 2.77 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.5055, allocations: 120.8 kB / 0.5914 GB, free: 2.645 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.776e-05/0.5056, allocations: 121.8 kB / 0.5916 GB, free: 2.516 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.168e-05/0.5057, allocations: 180.2 kB / 0.5917 GB, free: 2.332 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.49e-05/0.5058, allocations: 180.3 kB / 0.5919 GB, free: 2.148 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.941e-05/0.5059, allocations: 180.3 kB / 0.5921 GB, free: 1.965 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003999/0.5063, allocations: 459.6 kB / 0.5925 GB, free: 1.461 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.493e-05/0.5063, allocations: 101 kB / 0.5926 GB, free: 1.355 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.706e-05/0.5064, allocations: 108.9 kB / 0.5927 GB, free: 1.242 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.885e-05/0.5065, allocations: 184.2 kB / 0.5929 GB, free: 1.055 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.099e-05/0.5066, allocations: 184.2 kB / 0.5931 GB, free: 0.8672 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.297e-05/0.5067, allocations: 176.3 kB / 0.5932 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.135e-05/0.5068, allocations: 180.3 kB / 0.5934 GB, free: 0.5039 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002234/0.507, allocations: 327.6 kB / 0.5937 GB, free: 164 kB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001554/0.5072, allocations: 193.8 kB / 0.5939 GB, free: 15.95 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/0.5073, allocations: 188.2 kB / 0.5941 GB, free: 15.75 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.5075, allocations: 109.7 kB / 0.5942 GB, free: 15.64 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.547e-05/0.5076, allocations: 184.1 kB / 0.5944 GB, free: 15.45 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.329e-05/0.5076, allocations: 101 kB / 0.5945 GB, free: 15.35 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002541/0.5079, allocations: 188.5 kB / 0.5946 GB, free: 15.17 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5079, allocations: 0 / 0.5946 GB, free: 15.17 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000386/0.5083, allocations: 20 kB / 0.5947 GB, free: 15.15 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001618/0.5085, allocations: 174.5 kB / 0.5948 GB, free: 14.97 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0001133/0.5086, allocations: 23.92 kB / 0.5948 GB, free: 14.95 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.5086, allocations: 0 / 0.5948 GB, free: 14.95 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 2.555e-06/0.5086, allocations: 0 / 0.5948 GB, free: 14.95 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007263/0.5094, allocations: 0.5738 MB / 0.5954 GB, free: 14.37 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006488/0.51, allocations: 345.4 kB / 0.5957 GB, free: 14.01 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003888/0.5104, allocations: 0.7283 MB / 0.5964 GB, free: 13.25 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001164/0.5106, allocations: 21.58 kB / 0.5965 GB, free: 13.23 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.691e-05/0.5106, allocations: 15.44 kB / 0.5965 GB, free: 13.22 MB / 478.1 MB Notification: Performance of SimCode: time 3.4e-07/0.5106, allocations: 0 / 0.5965 GB, free: 13.22 MB / 478.1 MB Notification: Performance of Templates: time 0.006448/0.5171, allocations: 1.781 MB / 0.5982 GB, free: 11.49 MB / 478.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.FMI.Validation.FlowSplitter_u.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.FMI.Validation.FlowSplitter_u.sim & ./Annex60_1.0.0_Annex60.Fluid.FMI.Validation.FlowSplitter_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) Environment - environmentSimulation: