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.001161/0.001161, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001212/0.001212, allocations: 195.1 kB / 16.14 MB, free: 6.699 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.609/1.609, allocations: 205.1 MB / 222 MB, free: 4.773 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4327/0.4327, allocations: 54.93 MB / 324.3 MB, free: 180 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.001346/0.001346, allocations: 71.89 kB / 394.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1549, allocations: 59.58 MB / 454.2 MB, free: 0.6172 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.FMI.Validation.FlowSplitter_u): time 0.529/0.684, allocations: 163.9 MB / 0.6037 GB, free: 4.02 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006361/0.6905, allocations: 5.72 MB / 0.6093 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000346/0.6908, allocations: 5.312 kB / 0.6093 GB, free: 14.28 MB / 494.1 MB [/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.0005404/0.6915, allocations: 71.52 kB / 0.6093 GB, free: 14.21 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000297/0.6918, allocations: 59.66 kB / 0.6094 GB, free: 14.15 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001698/0.692, allocations: 35.97 kB / 0.6094 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003757/0.6923, allocations: 257.5 kB / 0.6097 GB, free: 13.87 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002278/0.6926, allocations: 89.31 kB / 0.6098 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002364/0.6928, allocations: 95.58 kB / 0.6098 GB, free: 13.69 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.693, allocations: 75.62 kB / 0.6099 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.532e-05/0.693, allocations: 8 kB / 0.6099 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.819e-05/0.6931, allocations: 12 kB / 0.6099 GB, free: 13.6 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.705e-05/0.6931, allocations: 19.92 kB / 0.61 GB, free: 13.58 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.662e-05/0.6932, allocations: 67.61 kB / 0.61 GB, free: 13.51 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002182/0.6934, allocations: 153.6 kB / 0.6102 GB, free: 13.36 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/0.6934, allocations: 0 / 0.6102 GB, free: 13.36 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.6935, allocations: 2.906 kB / 0.6102 GB, free: 13.36 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.6935, allocations: 0 / 0.6102 GB, free: 13.36 MB / 494.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.0008806/0.6944, allocations: 447.8 kB / 0.6106 GB, free: 12.88 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.322e-05/0.6944, allocations: 11.97 kB / 0.6106 GB, free: 12.87 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.397e-05/0.6945, allocations: 19.81 kB / 0.6106 GB, free: 12.85 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003514/0.6949, allocations: 235.3 kB / 0.6109 GB, free: 12.58 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.6949, allocations: 8 kB / 0.6109 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.624e-05/0.6949, allocations: 15.94 kB / 0.6109 GB, free: 12.56 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002671/0.6952, allocations: 172.4 kB / 0.611 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.6952, allocations: 3.938 kB / 0.611 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.6952, allocations: 4 kB / 0.611 GB, free: 12.35 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.6953, allocations: 4 kB / 0.611 GB, free: 12.35 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.6954, allocations: 69.08 kB / 0.6111 GB, free: 12.28 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.6965, allocations: 1.148 MB / 0.6122 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.6966, allocations: 173.1 kB / 0.6124 GB, free: 10.88 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.504e-05/0.6966, allocations: 84.14 kB / 0.6125 GB, free: 10.79 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.793e-05/0.6967, allocations: 83.22 kB / 0.6126 GB, free: 10.71 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.087e-05/0.6968, allocations: 105.8 kB / 0.6127 GB, free: 10.59 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.332e-06/0.6968, allocations: 0 / 0.6127 GB, free: 10.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001039/0.6969, allocations: 45.53 kB / 0.6127 GB, free: 10.54 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.697, allocations: 190 kB / 0.6129 GB, free: 10.33 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002855/0.6973, allocations: 249 kB / 0.6131 GB, free: 10.08 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.6973, allocations: 25.7 kB / 0.6131 GB, free: 10.05 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.6974, allocations: 135.8 kB / 0.6133 GB, free: 9.91 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.549e-06/0.6974, allocations: 4 kB / 0.6133 GB, free: 9.906 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.723e-05/0.6975, allocations: 17.72 kB / 0.6133 GB, free: 9.883 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.6976, allocations: 326.8 kB / 0.6136 GB, free: 9.555 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.392e-05/0.6976, allocations: 11.98 kB / 0.6136 GB, free: 9.543 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.529e-05/0.6977, allocations: 68.53 kB / 0.6137 GB, free: 9.449 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.428e-05/0.6978, allocations: 52.23 kB / 0.6137 GB, free: 9.383 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.6978, allocations: 1.031 kB / 0.6137 GB, free: 9.383 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001686/0.698, allocations: 93.3 kB / 0.6138 GB, free: 9.285 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.698, allocations: 4.781 kB / 0.6138 GB, free: 9.281 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.433e-06/0.698, allocations: 0.5469 kB / 0.6138 GB, free: 9.281 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.698, allocations: 4 kB / 0.6138 GB, free: 9.277 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.613e-05/0.6981, allocations: 8 kB / 0.6138 GB, free: 9.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.6981, allocations: 0.5625 kB / 0.6138 GB, free: 9.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.826e-05/0.6982, allocations: 19.98 kB / 0.6139 GB, free: 9.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.952e-06/0.6982, allocations: 4 kB / 0.6139 GB, free: 9.246 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001277/0.6983, allocations: 205.1 kB / 0.6141 GB, free: 9.035 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.371e-05/0.6984, allocations: 124.7 kB / 0.6142 GB, free: 8.906 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.355e-05/0.6985, allocations: 122.5 kB / 0.6143 GB, free: 8.781 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.957e-05/0.6986, allocations: 180.2 kB / 0.6145 GB, free: 8.598 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.453e-05/0.6986, allocations: 192 kB / 0.6147 GB, free: 8.406 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.285e-05/0.6987, allocations: 180.2 kB / 0.6148 GB, free: 8.223 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003136/0.699, allocations: 449.2 kB / 0.6153 GB, free: 7.727 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-05/0.6991, allocations: 108.9 kB / 0.6154 GB, free: 7.613 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.062e-05/0.6992, allocations: 109.1 kB / 0.6155 GB, free: 7.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.96e-05/0.6993, allocations: 180.3 kB / 0.6156 GB, free: 7.316 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.522e-05/0.6993, allocations: 185.1 kB / 0.6158 GB, free: 7.129 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.647e-05/0.6994, allocations: 180.3 kB / 0.616 GB, free: 6.945 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.091e-05/0.6995, allocations: 188.2 kB / 0.6162 GB, free: 6.754 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001642/0.6997, allocations: 311.6 kB / 0.6165 GB, free: 6.426 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.6998, allocations: 213.8 kB / 0.6167 GB, free: 6.191 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.78e-05/0.6999, allocations: 176.3 kB / 0.6168 GB, free: 6.012 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.7, allocations: 104.9 kB / 0.6169 GB, free: 5.902 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.339e-05/0.7001, allocations: 184.3 kB / 0.6171 GB, free: 5.715 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.933e-05/0.7001, allocations: 105 kB / 0.6172 GB, free: 5.605 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001633/0.7003, allocations: 176.5 kB / 0.6174 GB, free: 5.438 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7003, allocations: 9.812 kB / 0.6174 GB, free: 5.43 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002541/0.7006, allocations: 24 kB / 0.6174 GB, free: 5.406 MB / 494.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 (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.0001342/0.7007, allocations: 170.5 kB / 0.6176 GB, free: 5.23 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.186e-05/0.7008, allocations: 19.98 kB / 0.6176 GB, free: 5.211 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.247e-06/0.7008, allocations: 0 / 0.6176 GB, free: 5.211 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.282e-06/0.7008, allocations: 3.938 kB / 0.6176 GB, free: 5.207 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006329/0.7015, allocations: 0.5711 MB / 0.6181 GB, free: 4.633 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004611/0.7019, allocations: 353.8 kB / 0.6185 GB, free: 4.266 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.7023, allocations: 0.7166 MB / 0.6192 GB, free: 3.523 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.634e-05/0.7023, allocations: 21.53 kB / 0.6192 GB, free: 3.504 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.973e-05/0.7024, allocations: 19.44 kB / 0.6192 GB, free: 3.484 MB / 494.1 MB Notification: Performance of SimCode: time 4.31e-07/0.7024, allocations: 0 / 0.6192 GB, free: 3.484 MB / 494.1 MB Notification: Performance of Templates: time 0.004954/0.7073, allocations: 1.851 MB / 0.621 GB, free: 1.688 MB / 494.1 MB 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)