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.007326/0.007326, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001426/0.001426, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.638/1.638, allocations: 205.1 MB / 222.6 MB, free: 4.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4127/0.4127, allocations: 54.94 MB / 324.8 MB, free: 28 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.001618/0.001618, allocations: 73.17 kB / 456.3 MB, free: 38.41 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1587, allocations: 59.58 MB / 0.5038 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.FMI.Validation.FlowSplitter_u): time 0.6607/0.8195, allocations: 166.1 MB / 0.666 GB, free: 64 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006019/0.8256, allocations: 5.726 MB / 0.6716 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003487/0.826, allocations: 7.5 kB / 0.6716 GB, free: 15.95 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.0005377/0.8266, allocations: 92.42 kB / 0.6717 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002562/0.8268, allocations: 57.3 kB / 0.6717 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001615/0.827, allocations: 39.5 kB / 0.6718 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003736/0.8274, allocations: 220.4 kB / 0.672 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002864/0.8277, allocations: 84.95 kB / 0.6721 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002693/0.828, allocations: 101.6 kB / 0.6722 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001661/0.8281, allocations: 72.5 kB / 0.6722 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.904e-05/0.8282, allocations: 10.12 kB / 0.6722 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 2.756e-05/0.8282, allocations: 8.469 kB / 0.6722 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.902e-05/0.8283, allocations: 30.69 kB / 0.6723 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001181/0.8284, allocations: 66.8 kB / 0.6723 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003152/0.8287, allocations: 169.7 kB / 0.6725 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/0.8288, allocations: 3.219 kB / 0.6725 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.707e-06/0.8288, allocations: 0 / 0.6725 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.8288, allocations: 1.203 kB / 0.6725 GB, free: 15.92 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.000691/0.8295, allocations: 440.2 kB / 0.6729 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.8295, allocations: 11.59 kB / 0.6729 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.871e-05/0.8296, allocations: 19.5 kB / 0.673 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003292/0.8299, allocations: 255.4 kB / 0.6732 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.83, allocations: 13.86 kB / 0.6732 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.327e-05/0.83, allocations: 10.47 kB / 0.6732 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002464/0.8302, allocations: 168 kB / 0.6734 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.8303, allocations: 5.781 kB / 0.6734 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.8303, allocations: 3.75 kB / 0.6734 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.8303, allocations: 4.219 kB / 0.6734 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.8304, allocations: 71.02 kB / 0.6735 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009681/0.8314, allocations: 1.151 MB / 0.6746 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.847e-05/0.8315, allocations: 175.4 kB / 0.6748 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.347e-05/0.8315, allocations: 80.14 kB / 0.6748 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.511e-05/0.8316, allocations: 77.94 kB / 0.6749 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.194e-05/0.8317, allocations: 115.2 kB / 0.675 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 2.063e-06/0.8317, allocations: 0 / 0.675 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 8.637e-05/0.8318, allocations: 49.92 kB / 0.6751 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.8319, allocations: 187 kB / 0.6752 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002632/0.8321, allocations: 248.8 kB / 0.6755 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.8322, allocations: 25.7 kB / 0.6755 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.967e-05/0.8323, allocations: 138.9 kB / 0.6756 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.397e-06/0.8323, allocations: 3.938 kB / 0.6756 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.746e-05/0.8323, allocations: 19.5 kB / 0.6757 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.8325, allocations: 328.2 kB / 0.676 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.402e-05/0.8325, allocations: 9.812 kB / 0.676 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.223e-05/0.8326, allocations: 68.72 kB / 0.676 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.336e-05/0.8326, allocations: 56.25 kB / 0.6761 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.8327, allocations: 2.156 kB / 0.6761 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001516/0.8328, allocations: 87.55 kB / 0.6762 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.8328, allocations: 7.484 kB / 0.6762 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.8328, allocations: 3.219 kB / 0.6762 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.8329, allocations: 0 / 0.6762 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.97e-05/0.8329, allocations: 11.84 kB / 0.6762 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.8329, allocations: 2.5 kB / 0.6762 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.97e-05/0.833, allocations: 15.08 kB / 0.6762 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.833, allocations: 5.469 kB / 0.6762 GB, free: 12.73 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.0001297/0.8332, allocations: 205.4 kB / 0.6764 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.52e-05/0.8333, allocations: 125.9 kB / 0.6765 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.483e-05/0.8333, allocations: 117 kB / 0.6767 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.213e-05/0.8334, allocations: 188.7 kB / 0.6768 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.941e-05/0.8335, allocations: 181.8 kB / 0.677 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.249e-05/0.8336, allocations: 180.3 kB / 0.6772 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003019/0.8339, allocations: 451.2 kB / 0.6776 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.295e-05/0.8339, allocations: 106.1 kB / 0.6777 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.646e-05/0.834, allocations: 107.1 kB / 0.6778 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.208e-05/0.8341, allocations: 185 kB / 0.678 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.258e-05/0.8342, allocations: 178.5 kB / 0.6782 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.572e-05/0.8342, allocations: 185.3 kB / 0.6783 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.399e-05/0.8343, allocations: 180.1 kB / 0.6785 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001976/0.8345, allocations: 325.3 kB / 0.6788 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.8347, allocations: 202 kB / 0.679 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.8348, allocations: 178.4 kB / 0.6792 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.8349, allocations: 104.8 kB / 0.6793 GB, free: 9.57 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.253e-05/0.835, allocations: 185.1 kB / 0.6795 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.196e-05/0.835, allocations: 107.9 kB / 0.6796 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000222/0.8353, allocations: 181.9 kB / 0.6797 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8353, allocations: 0 / 0.6797 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003023/0.8356, allocations: 24.2 kB / 0.6798 GB, free: 9.195 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.0001575/0.8358, allocations: 174.3 kB / 0.6799 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001289/0.8359, allocations: 18.47 kB / 0.6799 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.8359, allocations: 320 / 0.6799 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.545e-06/0.8359, allocations: 4 kB / 0.6799 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007065/0.8366, allocations: 0.5102 MB / 0.6804 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006016/0.8372, allocations: 327.5 kB / 0.6808 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003813/0.8376, allocations: 0.7156 MB / 0.6815 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.957e-05/0.8377, allocations: 28.47 kB / 0.6815 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.542e-05/0.8378, allocations: 20.88 kB / 0.6815 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of SimCode: time 2.064e-06/0.8378, allocations: 0 / 0.6815 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of Templates: time 0.004699/0.8425, allocations: 1.961 MB / 0.6834 GB, free: 7.453 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)