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.008063/0.008063, allocations: 101.7 kB / 15.73 MB, free: 5.969 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.001889/0.001888, allocations: 193.2 kB / 16.67 MB, free: 5.906 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.632/1.632, allocations: 205.1 MB / 222.5 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4399/0.4399, allocations: 54.94 MB / 324.8 MB, free: 15.99 MB / 270.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.001464/0.001464, allocations: 67.12 kB / 456.2 MB, free: 38.2 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1445, allocations: 59.59 MB / 0.5037 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.FMI.Validation.FlowSplitter_u): time 0.6347/0.7793, allocations: 166.1 MB / 0.6659 GB, free: 96 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006667/0.786, allocations: 5.719 MB / 0.6715 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004446/0.7865, allocations: 6.562 kB / 0.6715 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.0006333/0.7872, allocations: 99.92 kB / 0.6716 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003871/0.7876, allocations: 58.81 kB / 0.6717 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001914/0.7878, allocations: 36.64 kB / 0.6717 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004189/0.7883, allocations: 215.6 kB / 0.6719 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003098/0.7886, allocations: 91.86 kB / 0.672 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000313/0.7889, allocations: 100.8 kB / 0.6721 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001762/0.7891, allocations: 75.58 kB / 0.6722 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.597e-05/0.7891, allocations: 10.09 kB / 0.6722 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 2.746e-05/0.7892, allocations: 10.12 kB / 0.6722 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.458e-05/0.7892, allocations: 28.33 kB / 0.6722 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.7894, allocations: 74.66 kB / 0.6723 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000327/0.7897, allocations: 160.4 kB / 0.6724 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.7897, allocations: 3.438 kB / 0.6724 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of FrontEnd: time 5.5e-06/0.7897, allocations: 4.062 kB / 0.6724 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.023e-05/0.7897, allocations: 0 / 0.6724 GB, free: 15.94 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.0008743/0.7906, allocations: 432.3 kB / 0.6729 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.7907, allocations: 8.938 kB / 0.6729 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.882e-05/0.7907, allocations: 18.59 kB / 0.6729 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003408/0.7911, allocations: 262.7 kB / 0.6731 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.7911, allocations: 14.11 kB / 0.6731 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.894e-05/0.7911, allocations: 11.73 kB / 0.6732 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002484/0.7914, allocations: 165.1 kB / 0.6733 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.7914, allocations: 2.25 kB / 0.6733 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.7914, allocations: 5.094 kB / 0.6733 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.7914, allocations: 3.188 kB / 0.6733 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/0.7916, allocations: 69.73 kB / 0.6734 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008893/0.7925, allocations: 1.155 MB / 0.6745 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 8.423e-05/0.7926, allocations: 171.5 kB / 0.6747 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.844e-05/0.7926, allocations: 80.14 kB / 0.6748 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.492e-05/0.7926, allocations: 78.97 kB / 0.6748 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.241e-05/0.7927, allocations: 114 kB / 0.6749 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 1.212e-06/0.7927, allocations: 1.094 kB / 0.6749 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 9.137e-05/0.7928, allocations: 42.17 kB / 0.675 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.981e-05/0.7929, allocations: 187.2 kB / 0.6752 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002426/0.7931, allocations: 245.8 kB / 0.6754 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.7932, allocations: 28.36 kB / 0.6754 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.087e-05/0.7933, allocations: 132.4 kB / 0.6756 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.196e-06/0.7933, allocations: 2.844 kB / 0.6756 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.725e-05/0.7933, allocations: 21.52 kB / 0.6756 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.7934, allocations: 330 kB / 0.6759 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.465e-05/0.7935, allocations: 13.36 kB / 0.6759 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.321e-05/0.7935, allocations: 67.77 kB / 0.676 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.446e-05/0.7936, allocations: 53.22 kB / 0.676 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.7936, allocations: 0 / 0.676 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001759/0.7938, allocations: 87.8 kB / 0.6761 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.7938, allocations: 5.719 kB / 0.6761 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.7938, allocations: 0 / 0.6761 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.7939, allocations: 2.562 kB / 0.6761 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.816e-05/0.794, allocations: 18.19 kB / 0.6761 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.794, allocations: 0 / 0.6761 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.969e-05/0.7941, allocations: 13.44 kB / 0.6761 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.7941, allocations: 4.328 kB / 0.6761 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.0001533/0.7942, allocations: 204.7 kB / 0.6763 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.852e-05/0.7943, allocations: 127.9 kB / 0.6765 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.263e-05/0.7944, allocations: 120.2 kB / 0.6766 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.129e-05/0.7945, allocations: 189.3 kB / 0.6768 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.197e-05/0.7946, allocations: 178.7 kB / 0.6769 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.825e-05/0.7946, allocations: 184.3 kB / 0.6771 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000291/0.7949, allocations: 454.2 kB / 0.6775 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.551e-05/0.795, allocations: 103.1 kB / 0.6776 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.449e-05/0.795, allocations: 115.7 kB / 0.6777 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-05/0.7951, allocations: 178.8 kB / 0.6779 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.567e-05/0.7952, allocations: 179.8 kB / 0.6781 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.929e-05/0.7953, allocations: 184.7 kB / 0.6783 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.377e-05/0.7954, allocations: 176.3 kB / 0.6784 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001565/0.7955, allocations: 325.2 kB / 0.6787 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.528e-05/0.7956, allocations: 200.1 kB / 0.6789 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.411e-05/0.7957, allocations: 181.8 kB / 0.6791 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.7958, allocations: 106.3 kB / 0.6792 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.772e-05/0.7959, allocations: 181.4 kB / 0.6794 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.519e-05/0.7959, allocations: 109 kB / 0.6795 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001504/0.7961, allocations: 187.3 kB / 0.6797 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8.92e-07/0.7961, allocations: 0 / 0.6797 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002713/0.7964, allocations: 22.66 kB / 0.6797 GB, free: 9.23 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.000133/0.7965, allocations: 172.4 kB / 0.6798 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 9.903e-05/0.7966, allocations: 19.14 kB / 0.6799 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.7966, allocations: 320 / 0.6799 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.285e-06/0.7966, allocations: 8.875 kB / 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.0006136/0.7972, allocations: 0.5048 MB / 0.6804 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004676/0.7977, allocations: 321.2 kB / 0.6807 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.798, allocations: 0.7124 MB / 0.6814 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.545e-05/0.7981, allocations: 24.67 kB / 0.6814 GB, free: 7.668 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.131e-05/0.7981, allocations: 16.84 kB / 0.6814 GB, free: 7.66 MB / 0.5137 GB Notification: Performance of SimCode: time 3.3e-07/0.7981, allocations: 1.203 kB / 0.6814 GB, free: 7.66 MB / 0.5137 GB Notification: Performance of Templates: time 0.004598/0.8027, allocations: 1.97 MB / 0.6833 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)