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.008636/0.008636, allocations: 104.1 kB / 15.73 MB, free: 6.051 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.001471/0.001471, allocations: 196.2 kB / 16.68 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.614/1.614, allocations: 205.1 MB / 222.6 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4237/0.4237, allocations: 54.94 MB / 324.8 MB, free: 48 kB / 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.001501/0.001501, allocations: 74.36 kB / 456.2 MB, free: 38.09 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1666, allocations: 59.58 MB / 0.5037 GB, free: 9.582 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.FMI.Validation.FlowSplitter_u): time 0.6182/0.7849, allocations: 166.1 MB / 0.666 GB, free: 96 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005767/0.7907, allocations: 5.725 MB / 0.6716 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004203/0.7912, allocations: 10.16 kB / 0.6716 GB, free: 15.97 MB / 0.5137 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/Fluid/FMI/Source_T.mo:49:3-50:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/Fluid/FMI/FlowSplitter_u.mo:40:3-42:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/Fluid/FMI/FlowSplitter_u.mo:43:3-44:71:writable] Warning: Connector X_w_out_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0006337/0.7919, allocations: 92.89 kB / 0.6717 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002398/0.7921, allocations: 52.8 kB / 0.6717 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001465/0.7923, allocations: 39.95 kB / 0.6717 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003071/0.7926, allocations: 218.2 kB / 0.672 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002253/0.7928, allocations: 91.94 kB / 0.672 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002148/0.793, allocations: 98.78 kB / 0.6721 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.7932, allocations: 74.48 kB / 0.6722 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.67e-05/0.7932, allocations: 10.88 kB / 0.6722 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 2.419e-05/0.7933, allocations: 10.44 kB / 0.6722 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.49e-05/0.7933, allocations: 30 kB / 0.6723 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 9.633e-05/0.7934, allocations: 71.14 kB / 0.6723 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002078/0.7936, allocations: 159.7 kB / 0.6725 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.7936, allocations: 2.656 kB / 0.6725 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.813e-06/0.7937, allocations: 1.094 kB / 0.6725 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.104e-06/0.7937, allocations: 0 / 0.6725 GB, free: 15.95 MB / 0.5137 GB 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.0007273/0.7944, allocations: 440 kB / 0.6729 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/0.7945, allocations: 8.688 kB / 0.6729 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.915e-05/0.7945, allocations: 22.28 kB / 0.6729 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00044/0.795, allocations: 253.5 kB / 0.6732 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/0.795, allocations: 17.78 kB / 0.6732 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.158e-05/0.7951, allocations: 13.28 kB / 0.6732 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002939/0.7954, allocations: 164.5 kB / 0.6734 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.7954, allocations: 2.344 kB / 0.6734 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.301e-05/0.7954, allocations: 5.594 kB / 0.6734 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.7954, allocations: 3.375 kB / 0.6734 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001439/0.7956, allocations: 69.69 kB / 0.6734 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001102/0.7967, allocations: 1.148 MB / 0.6746 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.7968, allocations: 174 kB / 0.6747 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.668e-05/0.7969, allocations: 83.7 kB / 0.6748 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.652e-05/0.7969, allocations: 75.28 kB / 0.6749 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.985e-05/0.797, allocations: 115.8 kB / 0.675 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 2.695e-06/0.797, allocations: 0 / 0.675 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 0.0001156/0.7971, allocations: 44.42 kB / 0.675 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/0.7973, allocations: 182.1 kB / 0.6752 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000263/0.7975, allocations: 249.6 kB / 0.6754 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.7976, allocations: 31.98 kB / 0.6755 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.7977, allocations: 129.3 kB / 0.6756 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.256e-06/0.7977, allocations: 2.344 kB / 0.6756 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/0.7977, allocations: 19.47 kB / 0.6756 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.7979, allocations: 336.5 kB / 0.6759 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.312e-05/0.7979, allocations: 8.406 kB / 0.6759 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.77e-05/0.798, allocations: 68.27 kB / 0.676 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.15e-05/0.7981, allocations: 53.58 kB / 0.6761 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.7981, allocations: 2.594 kB / 0.6761 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001588/0.7982, allocations: 89.27 kB / 0.6761 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.7983, allocations: 5.094 kB / 0.6762 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.7983, allocations: 3.094 kB / 0.6762 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.7983, allocations: 3 kB / 0.6762 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.175e-05/0.7984, allocations: 7.375 kB / 0.6762 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.7984, allocations: 6.812 kB / 0.6762 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.104e-05/0.7985, allocations: 16.28 kB / 0.6762 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.513e-06/0.7985, allocations: 3.859 kB / 0.6762 GB, free: 12.77 MB / 0.5137 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000124/0.7986, allocations: 207.6 kB / 0.6764 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.928e-05/0.7987, allocations: 120.1 kB / 0.6765 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.366e-05/0.7988, allocations: 121.7 kB / 0.6766 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.3e-05/0.7988, allocations: 182.6 kB / 0.6768 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.08e-05/0.7989, allocations: 183 kB / 0.677 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-05/0.799, allocations: 182.6 kB / 0.6771 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002788/0.7993, allocations: 448.8 kB / 0.6776 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-05/0.7993, allocations: 112.3 kB / 0.6777 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.353e-05/0.7994, allocations: 104.9 kB / 0.6778 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.325e-05/0.7994, allocations: 182.6 kB / 0.678 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.405e-05/0.7995, allocations: 185.5 kB / 0.6781 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.966e-05/0.7996, allocations: 183.2 kB / 0.6783 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.515e-05/0.7997, allocations: 181.2 kB / 0.6785 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002405/0.7999, allocations: 328.9 kB / 0.6788 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000143/0.8001, allocations: 198.2 kB / 0.679 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.942e-05/0.8001, allocations: 182 kB / 0.6792 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.8003, allocations: 105.5 kB / 0.6793 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.951e-05/0.8003, allocations: 176.3 kB / 0.6794 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.7e-05/0.8004, allocations: 109 kB / 0.6795 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000158/0.8005, allocations: 186.5 kB / 0.6797 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8006, allocations: 1.094 kB / 0.6797 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002856/0.8008, allocations: 24.25 kB / 0.6797 GB, free: 9.227 MB / 0.5137 GB 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 (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.0001375/0.801, allocations: 167.5 kB / 0.6799 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000116/0.8011, allocations: 23.78 kB / 0.6799 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.8011, allocations: 3.375 kB / 0.6799 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.8011, allocations: 320 / 0.6799 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006113/0.8017, allocations: 0.4978 MB / 0.6804 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004624/0.8022, allocations: 326.4 kB / 0.6807 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/0.8025, allocations: 0.716 MB / 0.6814 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.257e-05/0.8026, allocations: 23.89 kB / 0.6814 GB, free: 7.668 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.24e-05/0.8026, allocations: 16.7 kB / 0.6814 GB, free: 7.66 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.8026, allocations: 0 / 0.6814 GB, free: 7.66 MB / 0.5137 GB Notification: Performance of Templates: time 0.005093/0.8077, allocations: 1.971 MB / 0.6834 GB, free: 7.496 MB / 0.5137 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.FMI.Validation.FlowSplitter_u.makefile (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)