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.001021/0.001021, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0009405/0.0009405, allocations: 168.7 kB / 15.95 MB, free: 204 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.788/1.788, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4432/0.4432, allocations: 55.03 MB / 325.4 MB, free: 0.6367 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.0005327/0.000533, allocations: 12 kB / 396.6 MB, free: 11.71 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4516/0.4521, allocations: 60.72 MB / 457.4 MB, free: 38.38 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.FMI.Validation.FlowSplitter_u): time 0.208/0.6601, allocations: 150.9 MB / 0.594 GB, free: 320 kB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006119/0.6663, allocations: 5.271 MB / 0.5992 GB, free: 11.03 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002665/0.6667, allocations: 11.94 kB / 0.5992 GB, free: 11.02 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004217/0.6671, allocations: 67.5 kB / 0.5993 GB, free: 10.95 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001989/0.6673, allocations: 51.67 kB / 0.5993 GB, free: 10.9 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001256/0.6674, allocations: 27.97 kB / 0.5993 GB, free: 10.88 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002956/0.6678, allocations: 223.2 kB / 0.5995 GB, free: 10.66 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002164/0.668, allocations: 69.22 kB / 0.5996 GB, free: 10.6 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002408/0.6682, allocations: 79.64 kB / 0.5997 GB, free: 10.52 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001668/0.6684, allocations: 59.64 kB / 0.5997 GB, free: 10.46 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.6684, allocations: 4 kB / 0.5997 GB, free: 10.46 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.044e-05/0.6685, allocations: 8 kB / 0.5998 GB, free: 10.45 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.264e-05/0.6685, allocations: 15.92 kB / 0.5998 GB, free: 10.43 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 5.738e-05/0.6686, allocations: 49.64 kB / 0.5998 GB, free: 10.38 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001808/0.6688, allocations: 113.7 kB / 0.5999 GB, free: 10.27 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.6688, allocations: 0 / 0.5999 GB, free: 10.27 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.6688, allocations: 4 kB / 0.5999 GB, free: 10.27 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.6688, allocations: 0 / 0.5999 GB, free: 10.27 MB / 478.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.0006908/0.6695, allocations: 416.7 kB / 0.6003 GB, free: 9.812 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.6696, allocations: 8.031 kB / 0.6003 GB, free: 9.805 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.459e-05/0.6696, allocations: 19.81 kB / 0.6004 GB, free: 9.785 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003396/0.67, allocations: 240.4 kB / 0.6006 GB, free: 9.512 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.725e-05/0.67, allocations: 8.75 kB / 0.6006 GB, free: 9.504 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.67, allocations: 12 kB / 0.6006 GB, free: 9.492 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002917/0.6703, allocations: 172.4 kB / 0.6008 GB, free: 9.293 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.6704, allocations: 4 kB / 0.6008 GB, free: 9.289 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.979e-05/0.6704, allocations: 4 kB / 0.6008 GB, free: 9.285 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.6704, allocations: 4 kB / 0.6008 GB, free: 9.281 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001261/0.6705, allocations: 64.84 kB / 0.6008 GB, free: 9.219 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/0.6717, allocations: 1.16 MB / 0.602 GB, free: 7.98 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/0.6718, allocations: 170.4 kB / 0.6021 GB, free: 7.805 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.661e-05/0.6719, allocations: 84.14 kB / 0.6022 GB, free: 7.719 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.017e-05/0.6719, allocations: 79.27 kB / 0.6023 GB, free: 7.641 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.301e-05/0.672, allocations: 109.8 kB / 0.6024 GB, free: 7.523 MB / 478.1 MB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.672, allocations: 0 / 0.6024 GB, free: 7.523 MB / 478.1 MB Notification: Performance of matching and sorting (n=0): time 9.911e-05/0.6721, allocations: 45.52 kB / 0.6024 GB, free: 7.473 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.6722, allocations: 178.1 kB / 0.6026 GB, free: 7.273 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002894/0.6725, allocations: 253 kB / 0.6028 GB, free: 7.02 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.6725, allocations: 25.7 kB / 0.6029 GB, free: 6.988 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.6727, allocations: 135.8 kB / 0.603 GB, free: 6.852 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.885e-06/0.6727, allocations: 80 / 0.603 GB, free: 6.852 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.536e-06/0.6727, allocations: 0 / 0.603 GB, free: 6.852 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.6728, allocations: 330.8 kB / 0.6033 GB, free: 6.52 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.087e-05/0.6729, allocations: 8 kB / 0.6033 GB, free: 6.512 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.533e-05/0.673, allocations: 69.03 kB / 0.6034 GB, free: 6.418 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.46e-05/0.673, allocations: 19.94 kB / 0.6034 GB, free: 6.398 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.673, allocations: 3.938 kB / 0.6034 GB, free: 6.395 MB / 478.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001646/0.6732, allocations: 85.44 kB / 0.6035 GB, free: 6.305 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.6732, allocations: 4 kB / 0.6035 GB, free: 6.301 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.6732, allocations: 1.062 kB / 0.6035 GB, free: 6.301 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.6732, allocations: 4 kB / 0.6035 GB, free: 6.297 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.685e-05/0.6733, allocations: 11.94 kB / 0.6035 GB, free: 6.285 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.6733, allocations: 3.984 kB / 0.6035 GB, free: 6.281 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.953e-05/0.6734, allocations: 15.78 kB / 0.6035 GB, free: 6.266 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.846e-06/0.6734, allocations: 8 kB / 0.6035 GB, free: 6.258 MB / 478.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.0001391/0.6736, allocations: 213.2 kB / 0.6037 GB, free: 6.039 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.345e-05/0.6737, allocations: 120.7 kB / 0.6039 GB, free: 5.914 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.995e-05/0.6738, allocations: 122.9 kB / 0.604 GB, free: 5.785 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-05/0.6739, allocations: 180.3 kB / 0.6041 GB, free: 5.602 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.341e-05/0.6739, allocations: 180.2 kB / 0.6043 GB, free: 5.418 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.864e-05/0.674, allocations: 176.8 kB / 0.6045 GB, free: 5.238 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002983/0.6743, allocations: 457.1 kB / 0.6049 GB, free: 4.734 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.335e-05/0.6744, allocations: 108.9 kB / 0.605 GB, free: 4.621 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.308e-05/0.6744, allocations: 110.4 kB / 0.6051 GB, free: 4.508 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.486e-05/0.6745, allocations: 180.2 kB / 0.6053 GB, free: 4.324 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.097e-05/0.6746, allocations: 180.3 kB / 0.6055 GB, free: 4.141 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.966e-05/0.6747, allocations: 184.2 kB / 0.6057 GB, free: 3.953 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.926e-05/0.6748, allocations: 184.2 kB / 0.6058 GB, free: 3.766 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001704/0.6749, allocations: 315.6 kB / 0.6061 GB, free: 3.434 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.6751, allocations: 205.8 kB / 0.6063 GB, free: 3.207 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/0.6752, allocations: 184.3 kB / 0.6065 GB, free: 3.02 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.6753, allocations: 105.2 kB / 0.6066 GB, free: 2.91 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.63e-05/0.6754, allocations: 184.2 kB / 0.6068 GB, free: 2.723 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-05/0.6754, allocations: 109 kB / 0.6069 GB, free: 2.609 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001599/0.6756, allocations: 180.5 kB / 0.6071 GB, free: 2.438 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6756, allocations: 0 / 0.6071 GB, free: 2.438 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002645/0.6759, allocations: 20 kB / 0.6071 GB, free: 2.418 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.000158/0.6761, allocations: 174.5 kB / 0.6072 GB, free: 2.238 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 9.88e-05/0.6762, allocations: 19.94 kB / 0.6073 GB, free: 2.219 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.6762, allocations: 0 / 0.6073 GB, free: 2.219 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 3.326e-06/0.6762, allocations: 4 kB / 0.6073 GB, free: 2.215 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006508/0.6768, allocations: 0.57 MB / 0.6078 GB, free: 1.641 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005223/0.6774, allocations: 351.9 kB / 0.6082 GB, free: 1.273 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.6777, allocations: 0.7204 MB / 0.6089 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 8.321e-05/0.6778, allocations: 29.56 kB / 0.6089 GB, free: 0.5 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.943e-05/0.6779, allocations: 11.44 kB / 0.6089 GB, free: 500 kB / 478.1 MB Notification: Performance of SimCode: time 3.3e-07/0.6779, allocations: 0 / 0.6089 GB, free: 500 kB / 478.1 MB Notification: Performance of Templates: time 0.004475/0.6823, allocations: 1.774 MB / 0.6106 GB, free: 14.76 MB / 494.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: